]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/internal/obj/ppc64: add VC[LT]ZLSBB instructions
authorPaul E. Murphy <murp@ibm.com>
Tue, 7 Mar 2023 23:19:04 +0000 (17:19 -0600)
committerPaul Murphy <murp@ibm.com>
Wed, 22 Mar 2023 18:20:22 +0000 (18:20 +0000)
commit7f4a54c0dfb7c1d6db08429675e97df7279edb1a
treeeaa9b73f23dbdc061c8817b4694d7686f9024062
parent07559ceb721f4d1fff3186b9a481e2c0da1e0d4a
cmd/internal/obj/ppc64: add VC[LT]ZLSBB instructions

These are ISA 3.0 power9 instructions which are helpful when reducing
a vector compare result into a GPR.

They are used in a future patch to improve the bytes.IndexByte asm
routine.

Change-Id: I424e2628e577167b9b7c0fcbd82099daf568ea35
Reviewed-on: https://go-review.googlesource.com/c/go/+/478115
Reviewed-by: Lynn Boger <laboger@linux.vnet.ibm.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
Run-TryBot: Paul Murphy <murp@ibm.com>
Reviewed-by: Michael Knyszek <mknyszek@google.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