arm: Support pac_key_* register operand for MRS/MSR in Armv8.1-M Mainline
[binutils-gdb.git] / sim / testsuite / sh / bldnot.s
blobeda87def9c23013dff5c5b01670480deb4b9e5f9
1 # sh testcase for bldnot
2 # mach: all
3 # as(sh): -defsym sim_cpu=0
4 # as(shdsp): -defsym sim_cpu=1 -dsp
6 .include "testutils.inc"
8 .align 2
9 _x: .long 0xa5a5a5a5
10 _y: .long 0x55555555
12 start
14 bldnot_b_imm_disp12_reg:
15 set_grs_a5a5
16 mov.l x, r1
18 bldnot.b #0, @(0, r1)
19 bt8k mfail
20 bldnot.b #1, @(0, r1)
21 bf8k mfail
22 bldnot.b #2, @(0, r1)
23 bt8k mfail
24 bldnot.b #3, @(0, r1)
25 bf8k mfail
27 bldnot.b #4, @(0, r1)
28 bf8k mfail
29 bldnot.b #5, @(0, r1)
30 bt8k mfail
31 bldnot.b #6, @(0, r1)
32 bf8k mfail
33 bldnot.b #7, @(0, r1)
34 bt8k mfail
36 bldnot.b #0, @(1, r1)
37 bt8k mfail
38 bldnot.b #1, @(1, r1)
39 bf8k mfail
40 bldnot.b #2, @(1, r1)
41 bt8k mfail
42 bldnot.b #3, @(1, r1)
43 bf8k mfail
45 bldnot.b #4, @(1, r1)
46 bf8k mfail
47 bldnot.b #5, @(1, r1)
48 bt8k mfail
49 bldnot.b #6, @(1, r1)
50 bf8k mfail
51 bldnot.b #7, @(1, r1)
52 bt8k mfail
54 bldnot.b #0, @(2, r1)
55 bt8k mfail
56 bldnot.b #1, @(2, r1)
57 bf8k mfail
58 bldnot.b #2, @(2, r1)
59 bt8k mfail
60 bldnot.b #3, @(2, r1)
61 bf8k mfail
63 bldnot.b #4, @(2, r1)
64 bf8k mfail
65 bldnot.b #5, @(2, r1)
66 bt8k mfail
67 bldnot.b #6, @(2, r1)
68 bf8k mfail
69 bldnot.b #7, @(2, r1)
70 bt8k mfail
72 bldnot.b #0, @(3, r1)
73 bt8k mfail
74 bldnot.b #1, @(3, r1)
75 bf8k mfail
76 bldnot.b #2, @(3, r1)
77 bt8k mfail
78 bldnot.b #3, @(3, r1)
79 bf8k mfail
81 bldnot.b #4, @(3, r1)
82 bf8k mfail
83 bldnot.b #5, @(3, r1)
84 bt8k mfail
85 bldnot.b #6, @(3, r1)
86 bf8k mfail
87 bldnot.b #7, @(3, r1)
88 bt8k mfail
90 assertreg _x, r1
91 set_greg 0xa5a5a5a5, r1
93 test_grs_a5a5
95 pass
97 exit 0
99 .align 2
100 x: .long _x
101 y: .long _y