vhost-user: use VHOST_USER_XXX macro for switch statement
[qemu/ar7.git] / tests / tcg / cris / check_cmpq.s
blob5469141c916004bbff4392e1fad062bc9a50f9ef
1 # mach: crisv3 crisv8 crisv10 crisv32
2 # output: 1\n1\n1\n1f\n1f\nffffffe1\nffffffe1\nffffffe0\n0\n0\nffffffff\nffffffff\n10000\n100\n5678900\n
4 .include "testutils.inc"
5 start
6 moveq 1,r3
7 cmpq 1,r3
8 test_cc 0 1 0 0
9 checkr3 1
11 cmpq -1,r3
12 test_cc 0 0 0 1
13 checkr3 1
15 cmpq 31,r3
16 test_cc 1 0 0 1
17 checkr3 1
19 moveq 31,r3
20 cmpq 31,r3
21 test_cc 0 1 0 0
22 checkr3 1f
24 cmpq -31,r3
25 test_cc 0 0 0 1
26 checkr3 1f
28 movs.b -31,r3
29 cmpq -31,r3
30 test_cc 0 1 0 0
31 checkr3 ffffffe1
33 cmpq -32,r3
34 test_cc 0 0 0 0
35 checkr3 ffffffe1
37 movs.b -32,r3
38 cmpq -32,r3
39 test_cc 0 1 0 0
40 checkr3 ffffffe0
42 moveq 0,r3
43 cmpq 1,r3
44 test_cc 1 0 0 1
45 checkr3 0
47 cmpq -32,r3
48 test_cc 0 0 0 1
49 checkr3 0
51 moveq -1,r3
52 cmpq 1,r3
53 test_cc 1 0 0 0
54 checkr3 ffffffff
56 cmpq -1,r3
57 test_cc 0 1 0 0
58 checkr3 ffffffff
60 move.d 0x10000,r3
61 cmpq 1,r3
62 test_cc 0 0 0 0
63 checkr3 10000
65 move.d 0x100,r3
66 cmpq 1,r3
67 test_cc 0 0 0 0
68 checkr3 100
70 move.d 0x5678900,r3
71 cmpq 7,r3
72 test_cc 0 0 0 0
73 checkr3 5678900
75 quit