s390-ccw.img: replace while loop with a disabled wait on s390 bios
[qemu/agraf.git] / tests / tcg / cris / check_subc.s
blobe34b5448e25d88cbf57380a54891a70877a852be
1 # mach: crisv0 crisv3 crisv8 crisv10 crisv32
2 # output: 1\n1\n1fffe\nfffffffe\ncc463bdb\nffff0001\n1\nfffe\nfedafffe\n78133bdb\nffffff01\n1\nfe\nfeda49fe\n781344db\n85649200\n
4 .include "testutils.inc"
5 start
7 moveq -1,r3
8 sub.d -2,r3
9 test_cc 0 0 0 0
10 checkr3 1
12 moveq 2,r3
13 sub.d 1,r3
14 test_cc 0 0 0 0
15 checkr3 1
17 move.d 0xffff,r3
18 sub.d -0xffff,r3
19 test_cc 0 0 0 1
20 checkr3 1fffe
22 moveq -1,r3
23 sub.d 1,r3
24 test_cc 1 0 0 0
25 checkr3 fffffffe
27 move.d 0x78134452,r3
28 sub.d -0x5432f789,r3
29 test_cc 1 0 1 1
30 checkr3 cc463bdb
32 moveq -1,r3
33 sub.w -2,r3
34 test_cc 0 0 0 0
35 checkr3 ffff0001
37 moveq 2,r3
38 sub.w 1,r3
39 test_cc 0 0 0 0
40 checkr3 1
42 move.d 0xffff,r3
43 sub.w 1,r3
44 test_cc 1 0 0 0
45 checkr3 fffe
47 move.d 0xfedaffff,r3
48 sub.w 1,r3
49 test_cc 1 0 0 0
50 checkr3 fedafffe
52 move.d 0x78134452,r3
53 sub.w 0x877,r3
54 test_cc 0 0 0 0
55 checkr3 78133bdb
57 moveq -1,r3
58 sub.b -2,r3
59 test_cc 0 0 0 0
60 checkr3 ffffff01
62 moveq 2,r3
63 sub.b 1,r3
64 test_cc 0 0 0 0
65 checkr3 1
67 move.d 0xff,r3
68 sub.b 1,r3
69 test_cc 1 0 0 0
70 checkr3 fe
72 move.d 0xfeda49ff,r3
73 sub.b 1,r3
74 test_cc 1 0 0 0
75 checkr3 feda49fe
77 move.d 0x78134452,r3
78 sub.b 0x77,r3
79 test_cc 1 0 0 1
80 checkr3 781344db
82 move.d 0x85649282,r3
83 sub.b 0x82,r3
84 test_cc 0 1 0 0
85 checkr3 85649200
87 quit