kvm: qemu: remove pre-kvm_cpu_exec code in main_loop()
[kvm-userspace.git] / qemu / tests / cris / check_subq.s
blob9e34fa31ab3eccb7c7190da9277760a2c7fb026e
1 # mach: crisv3 crisv8 crisv10 crisv32
2 # output: 0\nffffffff\nfffffffe\nffff\nff\n56788f9\n56788d9\n567889a\n0\n7ffffffc\n
4 .include "testutils.inc"
5 start
6 moveq 1,r3
7 subq 1,r3
8 test_cc 0 1 0 0
9 checkr3 0
11 subq 1,r3
12 test_cc 1 0 0 1
13 checkr3 ffffffff
15 subq 1,r3
16 test_cc 1 0 0 0
17 checkr3 fffffffe
19 move.d 0x10000,r3
20 subq 1,r3
21 test_cc 0 0 0 0
22 checkr3 ffff
24 move.d 0x100,r3
25 subq 1,r3
26 test_cc 0 0 0 0
27 checkr3 ff
29 move.d 0x5678900,r3
30 subq 7,r3
31 test_cc 0 0 0 0
32 checkr3 56788f9
34 subq 32,r3
35 test_cc 0 0 0 0
36 checkr3 56788d9
38 subq 63,r3
39 test_cc 0 0 0 0
40 checkr3 567889a
42 move.d 34,r3
43 subq 34,r3
44 test_cc 0 1 0 0
45 checkr3 0
47 move.d 0x80000024,r3
48 subq 40,r3
49 test_cc 0 0 1 0
50 checkr3 7ffffffc
52 quit