target-ppc: Model e500v{1,2} CPUs more accurately
[qemu/mini2440/sniper_sniper_test.git] / tests / cris / check_orq.s
blob5060edc72d9518f4ee439364166161393b2aa349
1 # mach: crisv0 crisv3 crisv8 crisv10 crisv32
2 # output: 3\n3\nffffffff\nffffffff\n1f\nffffffe0\n7813445e\n
4 .include "testutils.inc"
5 start
6 moveq 1,r3
7 orq 2,r3
8 test_move_cc 0 0 0 0
9 checkr3 3
11 moveq 2,r3
12 orq 1,r3
13 test_move_cc 0 0 0 0
14 checkr3 3
16 move.d 0xf0ff,r3
17 orq -1,r3
18 test_move_cc 1 0 0 0
19 checkr3 ffffffff
21 moveq 0,r3
22 orq -1,r3
23 test_move_cc 1 0 0 0
24 checkr3 ffffffff
26 moveq 0,r3
27 orq 31,r3
28 test_move_cc 0 0 0 0
29 checkr3 1f
31 moveq 0,r3
32 orq -32,r3
33 test_move_cc 1 0 0 0
34 checkr3 ffffffe0
36 move.d 0x78134452,r3
37 orq 12,r3
38 test_move_cc 0 0 0 0
39 checkr3 7813445e
41 quit