]> Cypherpunks repositories - gostls13.git/commit
cmd/asm, cmd/internal/obj/ppc64: add ppc64 vector registers and instructions
authorCarlos Eduardo Seo <cseo@linux.vnet.ibm.com>
Tue, 12 Apr 2016 21:38:00 +0000 (18:38 -0300)
committerDavid Chase <drchase@google.com>
Mon, 19 Sep 2016 18:39:36 +0000 (18:39 +0000)
commitf1973fca717f2c3f3f10bcc2bc3512a4c549710b
tree9bd71186144ebbcb9a92b9de6e074cec1d4f7284
parent31ba855014c62ed8ea2a19208d43318d99948e5b
cmd/asm, cmd/internal/obj/ppc64: add ppc64 vector registers and instructions

The current implementation for Power architecture does not include the vector
(Altivec) registers.  This adds the 32 VMX registers and the most commonly used
instructions: X-form loads/stores; VX-form logical operations, add/sub,
rotate/shift, count, splat, SHA Sigma and AES cipher; VC-form compare; and
VA-form permute, shift, add/sub and select.

Fixes #15619

Change-Id: I544b990631726e8fdfcce8ecca0aeeb72faae9aa
Reviewed-on: https://go-review.googlesource.com/25600
Run-TryBot: David Chase <drchase@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Lynn Boger <laboger@linux.vnet.ibm.com>
Reviewed-by: David Chase <drchase@google.com>
src/cmd/asm/internal/arch/arch.go
src/cmd/asm/internal/arch/ppc64.go
src/cmd/asm/internal/asm/asm.go
src/cmd/asm/internal/asm/operand_test.go
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/anames9.go
src/cmd/internal/obj/ppc64/asm9.go
src/cmd/internal/obj/ppc64/list9.go