Merge tag 'qemu-macppc-20230206' of https://github.com/mcayland/qemu into staging
[qemu.git] / tests / tcg / cris / bare / check_bas.s
blob11929d420200dc893179e702d7efd0662acf6a97
1 # mach: crisv32
2 # output: 0\n0\n0\nfb349abc\n0\n12124243\n0\n0\neab5baad\n0\nefb37832\n
4 .include "testutils.inc"
5 start
6 x:
7 setf zncv
8 bsr 0f
9 nop
11 test_cc 1 1 1 1
12 move srp,r3
13 sub.d 0b,r3
14 checkr3 0
16 bas 1f,mof
17 moveq 0,r0
19 nop
20 quit
23 move srp,r3
24 sub.d 3f,r3
25 checkr3 0
26 move srp,r4
27 subq 4,r4
28 move.d [r4],r3
29 checkr3 fb349abc
31 basc 4f,mof
32 nop
33 .dword 0x12124243
35 nop
36 quit
39 move mof,r3
40 sub.d 7f,r3
41 checkr3 0
43 move mof,r4
44 subq 4,r4
45 move.d [r4],r3
46 checkr3 eab5baad
48 jasc 9f,mof
49 nop
50 .dword 0xefb37832
52 quit
54 quit
56 move mof,r3
57 sub.d 0b,r3
58 checkr3 0
60 move mof,r4
61 subq 4,r4
62 move.d [r4],r3
63 checkr3 efb37832
65 quit
68 move mof,r3
69 sub.d 7b,r3
70 checkr3 0
71 move mof,r4
72 subq 4,r4
73 move.d [r4],r3
74 checkr3 12124243
75 basc 5f,bz
76 moveq 0,r3
77 .dword 0x7634aeba
78 quit
80 .space 32770,0
82 move mof,r3
83 sub.d 6b,r3
84 checkr3 0
86 bsrc 2b
87 nop
88 .dword 0xfb349abc
91 quit
94 move mof,r3
95 sub.d 7b,r3
96 checkr3 0
97 move.d 8b,r6
98 jasc r6,mof
99 nop
100 .dword 0xeab5baad
102 quit