]> Cypherpunks repositories - gostls13.git/commit
cmd/asm: add asimd instruction 'rev16' on arm64
authorXiangdong Ji <xiangdong.ji@arm.com>
Tue, 7 Jan 2020 11:09:33 +0000 (11:09 +0000)
committerCherry Zhang <cherryyz@google.com>
Tue, 25 Feb 2020 18:40:19 +0000 (18:40 +0000)
commit2783249068e415556e962c50d9427a21fdc9a875
treee70819fae18bae067e9ae103162ef35d8b50f4b2
parentfe708385987231fa99d34df5b8c9d14afa0d35cf
cmd/asm: add asimd instruction 'rev16' on arm64

Add support to the asimd instruction rev16 which reverses elements in
16-bit halfwords.

syntax:
VREV16 <Vn>.<T>, <Vd>.<T>
<T> should be either B8 or B16.

Change-Id: I7a7b8e772589c51ca9eb6dca98bab1aac863c6c2
Reviewed-on: https://go-review.googlesource.com/c/go/+/213738
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/asm/internal/asm/testdata/arm64enc.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/asm7.go