]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/asm,cmd/internal/obj/ppc64: update instructions and tests
authorLynn Boger <laboger@linux.vnet.ibm.com>
Wed, 22 Apr 2020 17:23:06 +0000 (13:23 -0400)
committerLynn Boger <laboger@linux.vnet.ibm.com>
Thu, 23 Apr 2020 19:28:16 +0000 (19:28 +0000)
commit91b9c2f350ffc96b644d68fd8ae389250f3668a6
tree13440215384a41908379eab15b570b0c916af83e
parent939379ffb6175c8f86dbf99a28741b4318a964eb
cmd/asm,cmd/internal/obj/ppc64: update instructions and tests

This change adds some instructions that were missing from the
ppc64 assembler, mostly power9 but a few others from earlier.

Tests in cmd/asm for ppc64 were updated: ppc64.s includes the
new instructions, and ppc64enc.s now includes not only the
new instructions but most ppc64 opcodes to provide a more
complete test of the ppc64 assembler.

The ppc64 instruction set is used for linux/ppc64le,
linux/ppc64, and aix/ppc64.

Change-Id: I8695f89dbca06174847963f4ef869f2e584d5bbf
Reviewed-on: https://go-review.googlesource.com/c/go/+/229479
Run-TryBot: Lynn Boger <laboger@linux.vnet.ibm.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/asm/internal/asm/testdata/ppc64.s
src/cmd/asm/internal/asm/testdata/ppc64enc.s
src/cmd/internal/obj/ppc64/a.out.go
src/cmd/internal/obj/ppc64/anames.go
src/cmd/internal/obj/ppc64/asm9.go