mirror of
https://github.com/golang/go.git
synced 2026-04-02 17:30:01 +09:00
cmd/asm/internal/asm/testdata: add SB tests
Add tests for the SB instruction which were omitted in CL 729501. Change-Id: Ia71940b813563a418011914660ee0f1aeaa78444 Reviewed-on: https://go-review.googlesource.com/c/go/+/748580 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Auto-Submit: Roland Shoemaker <roland@golang.org>
This commit is contained in:
committed by
Gopher Robot
parent
874c3ceb3f
commit
e237976802
1
src/cmd/asm/internal/asm/testdata/arm64.s
vendored
1
src/cmd/asm/internal/asm/testdata/arm64.s
vendored
@@ -287,6 +287,7 @@ TEXT foo(SB), DUPOK|NOSPLIT, $-8
|
||||
HINT $0 // 1f2003d5
|
||||
DMB $1
|
||||
SVC
|
||||
SB // ff3003d5
|
||||
|
||||
// encryption
|
||||
SHA256H V9.S4, V3, V2 // 6240095e
|
||||
|
||||
1
src/cmd/asm/internal/asm/testdata/arm64enc.s
vendored
1
src/cmd/asm/internal/asm/testdata/arm64enc.s
vendored
@@ -762,5 +762,6 @@ TEXT asmtest(SB),DUPOK|NOSPLIT,$-8
|
||||
VMOV V0.B[1], R11 // 0b3c030e
|
||||
VMOV V1.H[3], R12 // 2c3c0e0e
|
||||
VUSHR $6, V22.H8, V23.H8 // d7061a6f
|
||||
SB // ff3003d5
|
||||
|
||||
RET
|
||||
|
||||
@@ -428,4 +428,5 @@ TEXT errors(SB),$0
|
||||
AUTIBSP C // ERROR "illegal combination"
|
||||
AUTIA1716 $45 // ERROR "illegal combination"
|
||||
AUTIB1716 R0 // ERROR "illegal combination"
|
||||
SB $1 // ERROR "illegal combination"
|
||||
RET
|
||||
|
||||
Reference in New Issue
Block a user