]> Cypherpunks repositories - gostls13.git/commit
reflect: implement float32 for regabi riscv64
authorMeng Zhuo <mzh@golangcn.org>
Fri, 29 Apr 2022 07:28:03 +0000 (15:28 +0800)
committermzh <mzh@golangcn.org>
Wed, 4 May 2022 13:38:32 +0000 (13:38 +0000)
commit93218ea1a755f67b8aae15dab92387716d50fecc
tree1c4bb270d6881d7ab719cf005c125c25f2cf97fb
parent7cf32686667fe2de869ddab3ede647e34be9209e
reflect: implement float32 for regabi riscv64

This CL implement archFloat32FromReg and archFloat32ToReg
need for riscv64 due to differences in the way float32 are
represented in registers as compared to other platforms.

Change-Id: I5eab27df242f84b387b0c8dc7f347c93b3fd9df0
Reviewed-on: https://go-review.googlesource.com/c/go/+/403134
Run-TryBot: mzh <mzh@golangcn.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: David Chase <drchase@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/reflect/float32reg_generic.go
src/reflect/float32reg_riscv64.s [new file with mode: 0644]
src/reflect/stubs_riscv64.go [new file with mode: 0644]