kvm: qemu: remove pre-kvm_cpu_exec code in main_loop()
[kvm-userspace.git] / qemu / tests / cris / check_cmpr.s
blobb30af7a53853870f86f334e8b970f42d5f5526b4
1 # mach: crisv0 crisv3 crisv8 crisv10 crisv32
2 # output: ffffffff\n2\nffff\nffffffff\n78134452\nffffffff\n2\nffff\nfedaffff\n78134452\nffffffff\n2\nff\nfeda49ff\n78134452\n85649222\n
4 .include "testutils.inc"
5 start
6 moveq -1,r3
7 moveq -2,r4
8 cmp.d r4,r3
9 test_cc 0 0 0 0
10 checkr3 ffffffff
12 moveq 2,r3
13 moveq 1,r4
14 cmp.d r4,r3
15 test_cc 0 0 0 0
16 checkr3 2
18 move.d 0xffff,r3
19 move.d -0xffff,r4
20 cmp.d r4,r3
21 test_cc 0 0 0 1
22 checkr3 ffff
24 moveq 1,r4
25 moveq -1,r3
26 cmp.d r4,r3
27 test_cc 1 0 0 0
28 checkr3 ffffffff
30 move.d -0x5432f789,r4
31 move.d 0x78134452,r3
32 cmp.d r4,r3
33 test_cc 1 0 1 1
34 checkr3 78134452
36 moveq -1,r3
37 moveq -2,r4
38 cmp.w r4,r3
39 test_cc 0 0 0 0
40 checkr3 ffffffff
42 moveq 2,r3
43 moveq 1,r4
44 cmp.w r4,r3
45 test_cc 0 0 0 0
46 checkr3 2
48 move.d 0xffff,r3
49 move.d -0xffff,r4
50 cmp.w r4,r3
51 test_cc 1 0 0 0
52 checkr3 ffff
54 move.d 0xfedaffff,r3
55 move.d -0xfedaffff,r4
56 cmp.w r4,r3
57 test_cc 1 0 0 0
58 checkr3 fedaffff
60 move.d -0x5432f789,r4
61 move.d 0x78134452,r3
62 cmp.w r4,r3
63 test_cc 0 0 0 0
64 checkr3 78134452
66 moveq -1,r3
67 moveq -2,r4
68 cmp.b r4,r3
69 test_cc 0 0 0 0
70 checkr3 ffffffff
72 moveq 2,r3
73 moveq 1,r4
74 cmp.b r4,r3
75 test_cc 0 0 0 0
76 checkr3 2
78 move.d -0xff,r4
79 move.d 0xff,r3
80 cmp.b r4,r3
81 test_cc 1 0 0 0
82 checkr3 ff
84 move.d -0xfeda49ff,r4
85 move.d 0xfeda49ff,r3
86 cmp.b r4,r3
87 test_cc 1 0 0 0
88 checkr3 feda49ff
90 move.d -0x5432f789,r4
91 move.d 0x78134452,r3
92 cmp.b r4,r3
93 test_cc 1 0 0 1
94 checkr3 78134452
96 move.d 0x85649222,r3
97 move.d 0x77445622,r4
98 cmp.b r4,r3
99 test_cc 0 1 0 0
100 checkr3 85649222
102 quit