]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/asm: add support for bdnz/bdz extended mnemonics on PPC64
authorPaul E. Murphy <murp@ibm.com>
Mon, 25 Oct 2021 21:51:55 +0000 (16:51 -0500)
committerPaul Murphy <murp@ibm.com>
Fri, 11 Mar 2022 14:06:56 +0000 (14:06 +0000)
commit7b1ba972dc5687f6746b2299b047f44e38bc6686
tree32a3ac78d55c813ac110a718529fcf2200f6f328
parentc1f22134f22158ebeebf450357f711eb22fab202
cmd/asm: add support for bdnz/bdz extended mnemonics on PPC64

Support BDNZ and BDZ mnemonics, they are commonly used
POWER instructions. The raw BC mnemonic is not easy
to read.

Likewise, cleanup code surrounding these changes.

Change-Id: I72f1dad5013f7856bd0dd320bfb17b5a9f3c69ee
Reviewed-on: https://go-review.googlesource.com/c/go/+/390696
Reviewed-by: Lynn Boger <laboger@linux.vnet.ibm.com>
Trust: Paul Murphy <murp@ibm.com>
Run-TryBot: Paul Murphy <murp@ibm.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/asm/internal/arch/ppc64.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/asm9.go