]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/arm64: reorder the assembler's optab entries
authorfanzha02 <fannie.zhang@arm.com>
Fri, 20 Apr 2018 06:50:29 +0000 (06:50 +0000)
committerCherry Zhang <cherryyz@google.com>
Sat, 28 Apr 2018 18:10:25 +0000 (18:10 +0000)
commitd7f5c0360f1c305a7de6b3f7c648fe657323425f
treedcf1cc15adfce998ad8885fa4c4c6d643aed4d2e
parentadb52cff581b13f06282bd8940a6ab8ee333cb4c
cmd/internal/obj/arm64: reorder the assembler's optab entries

Current optab entries are unordered, because the new instructions
are added at the end of the optab. The patch reorders them by comments
in optab, such as arithmetic operations, logical operations and a
series of load/store etc.

The patch removes the VMOVS opcode because FMOVS already has the same
operation.

Change-Id: Iccdf89ecbb3875b9dfcb6e06be2cc19c7e5581a2
Reviewed-on: https://go-review.googlesource.com/109896
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/asm/internal/asm/testdata/arm64.s
src/cmd/internal/obj/arm64/a.out.go
src/cmd/internal/obj/arm64/anames.go
src/cmd/internal/obj/arm64/asm7.go
src/cmd/internal/obj/arm64/doc.go
src/crypto/sha1/sha1block_arm64.s