• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: llvm-mc -triple aarch64-none-linux-gnu -mattr=+v8.4a,+crypto,+sm4,+sha3 --disassemble < %s | FileCheck %s
2# RUN: llvm-mc -triple aarch64-none-linux-gnu -mattr=+v8.4a,-crypto,-sm4,-sha3 --disassemble < %s 2>&1 | FileCheck %s --check-prefix=CHECK-ERROR
3
40x20,0x80,0x62,0xce
50x20,0x84,0x62,0xce
60x8b,0x81,0xc0,0xce
70xab,0x89,0x6e,0xce
8
9# CHECK:  sha512h   q0, q1, v2.2d
10# CHECK:  sha512h2  q0, q1, v2.2d
11# CHECK:  sha512su0 v11.2d, v12.2d
12# CHECK:  sha512su1 v11.2d, v13.2d, v14.2d
13
140x99,0x09,0x07,0xce
150xbe,0x8f,0x7a,0xce
160xba,0xfe,0x9b,0xce
170x5f,0x07,0x22,0xce
180xf4,0x5a,0x55,0xce
190xf4,0xb2,0x55,0xce
200xf4,0xb6,0x55,0xce
210xf4,0xba,0x55,0xce
220xf4,0xbe,0x55,0xce
230xbe,0xc3,0x7a,0xce
240xbe,0xc7,0x7a,0xce
250x6b,0xc9,0x73,0xce
260xe2,0x85,0xc0,0xce
27
28# CHECK:  eor3  v25.16b, v12.16b, v7.16b, v2.16b
29# CHECK:  rax1  v30.2d, v29.2d, v26.2d
30# CHECK:  xar v26.2d, v21.2d, v27.2d, #63
31# CHECK:  bcax  v31.16b, v26.16b, v2.16b, v1.16b
32# CHECK:  sm3ss1  v20.4s, v23.4s, v21.4s, v22.4s
33# CHECK:  sm3tt1a v20.4s, v23.4s, v21.s[3]
34# CHECK:  sm3tt1b v20.4s, v23.4s, v21.s[3]
35# CHECK:  sm3tt2a v20.4s, v23.4s, v21.s[3]
36# CHECK:  sm3tt2b v20.4s, v23.4s, v21.s[3]
37# CHECK:  sm3partw1 v30.4s, v29.4s, v26.4s
38# CHECK:  sm3partw2 v30.4s, v29.4s, v26.4s
39# CHECK:  sm4ekey v11.4s, v11.4s, v19.4s
40# CHECK:  sm4e  v2.4s, v15.4s
41
42#CHECK-ERROR: warning: invalid instruction encoding
43#CHECK-ERROR: 0x20,0x80,0x62,0xce
44#CHECK-ERROR: ^
45#CHECK-ERROR: warning: invalid instruction encoding
46#CHECK-ERROR: 0x20,0x84,0x62,0xce
47#CHECK-ERROR: ^
48#CHECK-ERROR: warning: invalid instruction encoding
49#CHECK-ERROR: 0x8b,0x81,0xc0,0xce
50#CHECK-ERROR: ^
51#CHECK-ERROR: warning: invalid instruction encoding
52#CHECK-ERROR: 0xab,0x89,0x6e,0xce
53#CHECK-ERROR: ^
54#CHECK-ERROR: warning: invalid instruction encoding
55#CHECK-ERROR: 0x99,0x09,0x07,0xce
56#CHECK-ERROR: ^
57#CHECK-ERROR: warning: invalid instruction encoding
58#CHECK-ERROR: 0xbe,0x8f,0x7a,0xce
59#CHECK-ERROR: ^
60#CHECK-ERROR: warning: invalid instruction encoding
61#CHECK-ERROR: 0xba,0xfe,0x9b,0xce
62#CHECK-ERROR: ^
63#CHECK-ERROR: warning: invalid instruction encoding
64#CHECK-ERROR: 0x5f,0x07,0x22,0xce
65#CHECK-ERROR: ^
66#CHECK-ERROR: warning: invalid instruction encoding
67#CHECK-ERROR: 0xf4,0x5a,0x55,0xce
68#CHECK-ERROR: ^
69#CHECK-ERROR: warning: invalid instruction encoding
70#CHECK-ERROR: 0xf4,0xb2,0x55,0xce
71#CHECK-ERROR: ^
72#CHECK-ERROR: warning: invalid instruction encoding
73#CHECK-ERROR: 0xf4,0xb6,0x55,0xce
74#CHECK-ERROR: ^
75#CHECK-ERROR: warning: invalid instruction encoding
76#CHECK-ERROR: 0xf4,0xba,0x55,0xce
77#CHECK-ERROR: ^
78#CHECK-ERROR: warning: invalid instruction encoding
79#CHECK-ERROR: 0xf4,0xbe,0x55,0xce
80#CHECK-ERROR: ^
81#CHECK-ERROR: warning: invalid instruction encoding
82#CHECK-ERROR: 0xbe,0xc3,0x7a,0xce
83#CHECK-ERROR: ^
84#CHECK-ERROR: warning: invalid instruction encoding
85#CHECK-ERROR: 0xbe,0xc7,0x7a,0xce
86#CHECK-ERROR: ^
87#CHECK-ERROR: warning: invalid instruction encoding
88#CHECK-ERROR: 0x6b,0xc9,0x73,0xce
89#CHECK-ERROR: ^
90#CHECK-ERROR: warning: invalid instruction encoding
91#CHECK-ERROR: 0xe2,0x85,0xc0,0xce
92#CHECK-ERROR: ^
93
94