Add 40-bit DMA support to LSI scsi emulation (Ryan Harper)
[qemu/qemu-JZ.git] / tests / cris / check_andq.s
blob55aa7b060772bbb4d11b72b86c4343167a929411
1 # mach: crisv0 crisv3 crisv8 crisv10 crisv32
2 # output: 2\n2\nffff\nffffffff\n1f\nffffffe0\n78134452\n0\n
4 .include "testutils.inc"
5 start
6 moveq -1,r3
7 andq 2,r3
8 test_move_cc 0 0 0 0
9 checkr3 2
11 moveq 2,r3
12 andq -1,r3
13 test_move_cc 0 0 0 0
14 checkr3 2
16 move.d 0xffff,r3
17 andq -1,r3
18 test_move_cc 0 0 0 0
19 checkr3 ffff
21 moveq -1,r3
22 andq -1,r3
23 test_move_cc 1 0 0 0
24 checkr3 ffffffff
26 moveq -1,r3
27 andq 31,r3
28 test_move_cc 0 0 0 0
29 checkr3 1f
31 moveq -1,r3
32 andq -32,r3
33 test_move_cc 1 0 0 0
34 checkr3 ffffffe0
36 move.d 0x78134457,r3
37 andq -14,r3
38 test_move_cc 0 0 0 0
39 checkr3 78134452
41 moveq 0,r3
42 andq -14,r3
43 test_move_cc 0 1 0 0
44 checkr3 0
46 quit