]> Cypherpunks repositories - gostls13.git/commit
reflect,runtime: add reflect support for regabi on PPC64
authorLynn Boger <laboger@linux.vnet.ibm.com>
Mon, 27 Sep 2021 12:48:33 +0000 (07:48 -0500)
committerLynn Boger <laboger@linux.vnet.ibm.com>
Tue, 28 Sep 2021 18:58:50 +0000 (18:58 +0000)
commit9c43872bd831396ccf637f4569a18d784d1e9bce
tree436a8a312343c15f6f2fe0ec8119beab2417c2ad
parent84ba117fd7446030f93ab679d5c819dc028ad881
reflect,runtime: add reflect support for regabi on PPC64

This adds the regabi support needed for reflect including:
- implementation of the makeFuncSub and methodValueCall for
reflect
- implementations of archFloat32FromReg and archFloat32ToReg
needed for PPC64 due to differences in the way float32 are
represented in registers as compared to other platforms
- change needed to stack.go due to the functions that are
changed above

Change-Id: Ida40d831370e39b91711ccb9616492b7fad3debf
Reviewed-on: https://go-review.googlesource.com/c/go/+/352429
Run-TryBot: Lynn Boger <laboger@linux.vnet.ibm.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Lynn Boger <laboger@linux.vnet.ibm.com>
src/reflect/asm_ppc64x.s
src/reflect/float32reg_generic.go
src/reflect/float32reg_ppc64x.s [new file with mode: 0644]
src/reflect/stubs_ppc64x.go [new file with mode: 0644]
src/runtime/stack.go