]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/ppc64: add support for DQ-form instructions
authorCarlos Eduardo Seo <cseo@linux.vnet.ibm.com>
Thu, 3 Oct 2019 02:11:24 +0000 (23:11 -0300)
committerCarlos Eduardo Seo <cseo@linux.vnet.ibm.com>
Mon, 4 Nov 2019 01:28:26 +0000 (01:28 +0000)
commit6b67f7d65dda78ba3bce04c539ca0995ab5c6c9b
tree04b30f17bc92f35729f53704977adf8167709808
parentd2c039fb210429958bce6347a1e9d9a7b0ffd26d
cmd/internal/obj/ppc64: add support for DQ-form instructions

POWER9 (ISA 3.0) introduced a new format of load/store instructions to
implement indexed load/store quadword, using an immediate value instead
of a register index.

This change adds support for this new instruction encoding and adds the
new load/store quadword instructions (lxv/stxv) to the assembler.

This change also adds the missing XX1-form loads/stores (halfword and byte)
included in ISA 3.0.

Change-Id: Ibcdf53c342d7a352d64a9403c2fe7b25be9c3b24
Reviewed-on: https://go-review.googlesource.com/c/go/+/200399
Run-TryBot: Carlos Eduardo Seo <cseo@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