1 ! RUN
: not llvm-mc
%s
-triple
=sparc
-show-encoding
2>&1 | FileCheck
%s
--check-prefix
=V8
2 ! RUN
: not llvm-mc
%s
-triple
=sparc
-mattr
=+hasleoncasa
-show-encoding
2>&1 | FileCheck
%s
--check-prefix
=LEON
3 ! RUN
: llvm-mc
%s
-triple
=sparcv9
-show-encoding | FileCheck
%s
--check-prefix
=V9
5 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
6 ! V9
: cas
[%i0
], %l6
, %o2
! encoding
: [0xd5,0xe6,0x10,0x16]
7 ! LEON
: error
: instruction requires
a CPU feature
not currently enabled
10 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
11 ! V9
: casl
[%i0
], %l6
, %o2
! encoding
: [0xd5,0xe6,0x11,0x16]
12 ! LEON
: error
: instruction requires
a CPU feature
not currently enabled
15 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
16 ! V9
: casx
[%i0
], %l6
, %o2
! encoding
: [0xd5,0xf6,0x10,0x16]
17 ! LEON
: error
: instruction requires
a CPU feature
not currently enabled
20 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
21 ! V9
: casxl
[%i0
], %l6
, %o2
! encoding
: [0xd5,0xf6,0x11,0x16]
22 ! LEON
: error
: instruction requires
a CPU feature
not currently enabled
25 ! V8
: error
: malformed ASI tag
, must
be a constant integer expression
26 ! V9
: casxa
[%i0
] %asi
, %l6
, %o2
! encoding
: [0xd5,0xf6,0x20,0x16]
27 ! LEON
: error
: malformed ASI tag
, must
be a constant integer expression
28 casxa
[%i0
] %asi
, %l6
, %o2
30 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
31 ! V9
: casx
[%i0
], %l6
, %o2
! encoding
: [0xd5,0xf6,0x10,0x16]
32 ! LEON
: error
: instruction requires
a CPU feature
not currently enabled
33 casxa
[%i0
] 0x80, %l6
, %o2
35 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
36 ! V9
: casx
[%i0
], %l6
, %o2
! encoding
: [0xd5,0xf6,0x10,0x16]
37 ! LEON
: error
: instruction requires
a CPU feature
not currently enabled
38 casxa
[%i0
] (0x40+0x40), %l6
, %o2
40 ! V8
: error
: malformed ASI tag
, must
be a constant integer expression
41 ! V9
: casa
[%i0
] %asi
, %l6
, %o2
! encoding
: [0xd5,0xe6,0x20,0x16]
42 ! LEON
: error
: malformed ASI tag
, must
be a constant integer expression
43 casa
[%i0
] %asi
, %l6
, %o2
45 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
46 ! V9
: cas
[%i0
], %l6
, %o2
! encoding
: [0xd5,0xe6,0x10,0x16]
47 ! LEON
: casa
[%i0
] 128, %l6
, %o2
! encoding
: [0xd5,0xe6,0x10,0x16]
48 casa
[%i0
] 0x80, %l6
, %o2
50 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
51 ! V9
: cas
[%i0
], %l6
, %o2
! encoding
: [0xd5,0xe6,0x10,0x16]
52 ! LEON
: casa
[%i0
] 128, %l6
, %o2
! encoding
: [0xd5,0xe6,0x10,0x16]
53 casa
[%i0
] (0x40+0x40), %l6
, %o2