s390-ccw.img: replace while loop with a disabled wait on s390 bios
[qemu/agraf.git] / tests / tcg / cris / check_movum.s
blob038e539463bf781de129a3a4749b8b8719a6f2d8
1 # mach: crisv3 crisv8 crisv10 crisv32
2 # output: 5\nf5\n5\nfff5\n0\n
4 ; Movu between registers. Check that zero-extension is performed and the
5 ; full register is set.
7 .include "testutils.inc"
9 .data
11 .byte 5,-11
12 .word 5,-11
13 .word 0
15 start
16 move.d x,r5
18 movu.b [r5+],r3
19 test_move_cc 0 0 0 0
20 checkr3 5
22 movu.b [r5],r3
23 test_move_cc 0 0 0 0
24 addq 1,r5
25 checkr3 f5
27 movu.w [r5+],r3
28 test_move_cc 0 0 0 0
29 checkr3 5
31 movu.w [r5],r3
32 test_move_cc 0 0 0 0
33 addq 2,r5
34 checkr3 fff5
36 movu.w [r5],r3
37 test_move_cc 0 1 0 0
38 checkr3 0
40 quit