]> Cypherpunks repositories - gostls13.git/commit
cmd/asm, cmd/internal/obj/ppc64: Add ISA 2.05, 2.06 and 2.07 instructions.
authorCarlos Eduardo Seo <cseo@linux.vnet.ibm.com>
Thu, 2 Feb 2017 19:59:18 +0000 (17:59 -0200)
committerLynn Boger <laboger@linux.vnet.ibm.com>
Thu, 9 Feb 2017 15:27:12 +0000 (15:27 +0000)
commit85ecc51c4852c49b5e5bc4a52067210c58e266e0
tree218f6465ef23dd59492b50e734274cbf9bb2f00e
parent06637fb3146cd7fd19efc7463cd9d2c0006bff67
cmd/asm, cmd/internal/obj/ppc64: Add ISA 2.05, 2.06 and 2.07 instructions.

This change adds instructions from ISA 2.05, 2.06 and 2.07 that are frequently
used in assembly optimizations for ppc64.

It also fixes two problems:

  * the implementation of RLDICR[CC]/RLDICL[CC] did not consider all possible
  cases for the bit mask.
  * removed two non-existing instructions that were added by mistake in the VMX
  implementation (VORL/VANDL).

Change-Id: Iaef4e5c6a5240c2156c6c0f28ad3bcd8780e9830
Reviewed-on: https://go-review.googlesource.com/36230
Run-TryBot: Lynn Boger <laboger@linux.vnet.ibm.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
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