json-lexer: make lexer error-recovery more deterministic
[qemu/mdroth.git] / tests / cris / check_andr.s
blob61aa1dc32f20ecd6b2dae26b8053151915f25a9a
1 # mach: crisv0 crisv3 crisv8 crisv10 crisv32
2 # output: 2\n2\nffff\nffffffff\n50124400\nffff0002\n2\nfffff\nfedaff0f\n78134400\nffffff02\n2\nf02\n78134401\n78134400\n
4 .include "testutils.inc"
5 start
6 moveq -1,r3
7 moveq 2,r4
8 and.d r4,r3
9 test_move_cc 0 0 0 0
10 checkr3 2
12 moveq 2,r3
13 moveq -1,r4
14 and.d r4,r3
15 test_move_cc 0 0 0 0
16 checkr3 2
18 move.d 0xffff,r4
19 move.d r4,r3
20 and.d r4,r3
21 test_move_cc 0 0 0 0
22 checkr3 ffff
24 moveq -1,r4
25 move.d r4,r3
26 and.d r4,r3
27 test_move_cc 1 0 0 0
28 checkr3 ffffffff
30 move.d 0x5432f789,r4
31 move.d 0x78134452,r3
32 and.d r4,r3
33 test_move_cc 0 0 0 0
34 checkr3 50124400
36 moveq -1,r3
37 moveq 2,r4
38 and.w r4,r3
39 test_move_cc 0 0 0 0
40 checkr3 ffff0002
42 moveq 2,r3
43 moveq -1,r4
44 and.w r4,r3
45 test_move_cc 0 0 0 0
46 checkr3 2
48 move.d 0xfffff,r3
49 move.d 0xffff,r4
50 and.w r4,r3
51 test_move_cc 1 0 0 0
52 checkr3 fffff
54 move.d 0xfedaffaf,r3
55 move.d 0xff5f,r4
56 and.w r4,r3
57 test_move_cc 1 0 0 0
58 checkr3 fedaff0f
60 move.d 0x5432f789,r4
61 move.d 0x78134452,r3
62 and.w r4,r3
63 test_move_cc 0 0 0 0
64 checkr3 78134400
66 moveq -1,r3
67 moveq 2,r4
68 and.b r4,r3
69 test_move_cc 0 0 0 0
70 checkr3 ffffff02
72 moveq 2,r3
73 moveq -1,r4
74 and.b r4,r3
75 test_move_cc 0 0 0 0
76 checkr3 2
78 move.d 0x5a,r4
79 move.d 0xfa7,r3
80 and.b r4,r3
81 test_move_cc 0 0 0 0
82 checkr3 f02
84 move.d 0x5432f789,r4
85 move.d 0x78134453,r3
86 and.b r4,r3
87 test_move_cc 0 0 0 0
88 checkr3 78134401
90 moveq 0,r7
91 and.b r7,r3
92 test_move_cc 0 1 0 0
93 checkr3 78134400
95 quit