]> Cypherpunks repositories - gostls13.git/commit
cmd/asm: add several arm64 SIMD instructions
authorfanzha02 <fannie.zhang@arm.com>
Mon, 28 Sep 2020 10:58:51 +0000 (18:58 +0800)
committerfannie zhang <Fannie.Zhang@arm.com>
Thu, 29 Oct 2020 03:52:23 +0000 (03:52 +0000)
commit3089ef6bd7ecc7af4b23eb68e3d7879d340aa673
tree9a7a30af48ab7f3cc2205de7a3c6b935b8954ea3
parent15f01d6ae9853fd51ee8842d9af93d04ce25458c
cmd/asm: add several arm64 SIMD instructions

This patch enables VSLI, VUADDW(2), VUSRA and FMOVQ SIMD instructions
required by the issue #40725. And the GNU syntax of 'FMOVQ' is 128-bit
ldr/str(immediate, simd&fp).

Add test cases.

Fixes #40725

Change-Id: Ide968ef4a9385ce4cd8f69bce854289014d30456
Reviewed-on: https://go-review.googlesource.com/c/go/+/258397
Trust: fannie zhang <Fannie.Zhang@arm.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/asm/internal/asm/testdata/arm64.s
src/cmd/asm/internal/asm/testdata/arm64error.s
src/cmd/internal/obj/arm64/a.out.go
src/cmd/internal/obj/arm64/anames.go
src/cmd/internal/obj/arm64/anames7.go
src/cmd/internal/obj/arm64/asm7.go