]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/ppc64: cleanup optab entries after renaming
authorPaul E. Murphy <murp@ibm.com>
Wed, 15 Nov 2023 21:51:41 +0000 (15:51 -0600)
committerPaul Murphy <murp@ibm.com>
Fri, 16 Feb 2024 22:02:23 +0000 (22:02 +0000)
commit1c9c9c8412f7d650a543c31478a82b9d61d1dd14
tree62c067bdb80da7f32371b5f6a8438c527c09c630
parentcdd0ddaf45f0de162d4e52e8418bd0638a3dc800
cmd/internal/obj/ppc64: cleanup optab entries after renaming

Combine MOVW/MOVD using C_16CON as they accept any 16 bit
constant.

Remove MULLW/MULLD C_U16CON optab entry. These assemble to
the mulli opcode which only accepts a signed 16 bit constant.

Remove superfluous optab entrys for VSPLTB and VSPLTISB,
as C_S16CON accepts C_U15CON arguments.

Change-Id: Ie20dd07bcedda428fb1dd674474d7dfa67d76dc1
Reviewed-on: https://go-review.googlesource.com/c/go/+/563915
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Than McIntosh <thanm@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Paul Murphy <murp@ibm.com>
Reviewed-by: Lynn Boger <laboger@linux.vnet.ibm.com>
Reviewed-by: Eli Bendersky <eliben@google.com>
src/cmd/internal/obj/ppc64/asm9.go