]> Cypherpunks repositories - gostls13.git/commit
cmd/asm, cmd/internal/obj/ppc64: add Immediate Shifted opcodes for ppc64x
authorCarlos Eduardo Seo <cseo@linux.vnet.ibm.com>
Wed, 3 Jan 2018 19:55:40 +0000 (17:55 -0200)
committerLynn Boger <laboger@linux.vnet.ibm.com>
Thu, 15 Feb 2018 17:53:41 +0000 (17:53 +0000)
commit9a9a8c0165619e5fc50bc2f82a0aaeb97a1094bf
tree35e5a0dfd775868cbad6d2a258acd624283f955c
parentd50bb8dbb9d13858319db0914068126ed78e5144
cmd/asm, cmd/internal/obj/ppc64: add Immediate Shifted opcodes for ppc64x

This change adds ADD/AND/OR/XOR Immediate Shifted instructions for
ppc64x so they are usable in Go asm code. These instructions were
originally present in asm9.go, but they were only usable in that
file (as -AADD, -AANDCC, -AOR, -AXOR). These old mnemonics are now
removed.

Updates #23845

Change-Id: Ifa2fac685e8bc628cb241dd446adfc3068181826
Reviewed-on: https://go-review.googlesource.com/94115
Reviewed-by: Lynn Boger <laboger@linux.vnet.ibm.com>
src/cmd/asm/internal/asm/testdata/ppc64.s
src/cmd/internal/obj/ppc64/a.out.go
src/cmd/internal/obj/ppc64/anames.go
src/cmd/internal/obj/ppc64/asm9.go