configure: move directory defaults earlier
[qemu.git] / tests / cris / check_andc.s
bloba947b773c9727ef01be12aeb02c4ac54e0884f8d
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 and.d 2,r3
8 test_move_cc 0 0 0 0
9 checkr3 2
11 moveq 2,r3
12 and.d -1,r3
13 test_move_cc 0 0 0 0
14 checkr3 2
16 move.d 0xffff,r3
17 and.d 0xffff,r3
18 test_move_cc 0 0 0 0
19 checkr3 ffff
21 moveq -1,r3
22 and.d -1,r3
23 test_move_cc 1 0 0 0
24 checkr3 ffffffff
26 move.d 0x78134452,r3
27 and.d 0x5432f789,r3
28 test_move_cc 0 0 0 0
29 checkr3 50124400
31 moveq -1,r3
32 and.w 2,r3
33 test_move_cc 0 0 0 0
34 checkr3 ffff0002
36 moveq 2,r3
37 and.w -1,r3
38 test_move_cc 0 0 0 0
39 checkr3 2
41 move.d 0xfffff,r3
42 and.w 0xffff,r3
43 test_move_cc 1 0 0 0
44 checkr3 fffff
46 move.d 0xfedaffaf,r3
47 and.w 0xff5f,r3
48 test_move_cc 1 0 0 0
49 checkr3 fedaff0f
51 move.d 0x78134452,r3
52 and.w 0xf789,r3
53 test_move_cc 0 0 0 0
54 checkr3 78134400
56 moveq -1,r3
57 and.b 2,r3
58 test_move_cc 0 0 0 0
59 checkr3 ffffff02
61 moveq 2,r3
62 and.b -1,r3
63 test_move_cc 0 0 0 0
64 checkr3 2
66 move.d 0xfa7,r3
67 and.b 0x5a,r3
68 test_move_cc 0 0 0 0
69 checkr3 f02
71 move.d 0x78134453,r3
72 and.b 0x89,r3
73 test_move_cc 0 0 0 0
74 checkr3 78134401
76 and.b 0,r3
77 test_move_cc 0 1 0 0
78 checkr3 78134400
80 quit