1*4b169a6bSchristos# mach: crisv0 crisv3 crisv8 crisv10 crisv32 2*4b169a6bSchristos# output: 2\n2\nffff\nffffffff\n5432f789\n2\nffff\n2\nffff\nffff\nf789\n2\n2\nff\nff\nff\n89\n0\nff\n 3*4b169a6bSchristos 4*4b169a6bSchristos .include "testutils.inc" 5*4b169a6bSchristos start 6*4b169a6bSchristos moveq -1,r3 7*4b169a6bSchristos moveq 2,r4 8*4b169a6bSchristos bound.d 2,r3 9*4b169a6bSchristos test_move_cc 0 0 0 0 10*4b169a6bSchristos dumpr3 ; 2 11*4b169a6bSchristos 12*4b169a6bSchristos moveq 2,r3 13*4b169a6bSchristos bound.d 0xffffffff,r3 14*4b169a6bSchristos test_move_cc 0 0 0 0 15*4b169a6bSchristos dumpr3 ; 2 16*4b169a6bSchristos 17*4b169a6bSchristos move.d 0xffff,r3 18*4b169a6bSchristos bound.d 0xffff,r3 19*4b169a6bSchristos test_move_cc 0 0 0 0 20*4b169a6bSchristos dumpr3 ; ffff 21*4b169a6bSchristos 22*4b169a6bSchristos moveq -1,r3 23*4b169a6bSchristos bound.d 0xffffffff,r3 24*4b169a6bSchristos test_move_cc 1 0 0 0 25*4b169a6bSchristos dumpr3 ; ffffffff 26*4b169a6bSchristos 27*4b169a6bSchristos move.d 0x78134452,r3 28*4b169a6bSchristos bound.d 0x5432f789,r3 29*4b169a6bSchristos test_move_cc 0 0 0 0 30*4b169a6bSchristos dumpr3 ; 5432f789 31*4b169a6bSchristos 32*4b169a6bSchristos moveq -1,r3 33*4b169a6bSchristos bound.w 2,r3 34*4b169a6bSchristos test_move_cc 0 0 0 0 35*4b169a6bSchristos dumpr3 ; 2 36*4b169a6bSchristos 37*4b169a6bSchristos moveq -1,r3 38*4b169a6bSchristos bound.w 0xffff,r3 39*4b169a6bSchristos test_move_cc 0 0 0 0 40*4b169a6bSchristos dumpr3 ; ffff 41*4b169a6bSchristos 42*4b169a6bSchristos moveq 2,r3 43*4b169a6bSchristos bound.w 0xffff,r3 44*4b169a6bSchristos test_move_cc 0 0 0 0 45*4b169a6bSchristos dumpr3 ; 2 46*4b169a6bSchristos 47*4b169a6bSchristos move.d 0xffff,r3 48*4b169a6bSchristos bound.w 0xffff,r3 49*4b169a6bSchristos test_move_cc 0 0 0 0 50*4b169a6bSchristos dumpr3 ; ffff 51*4b169a6bSchristos 52*4b169a6bSchristos move.d 0xfedaffff,r3 53*4b169a6bSchristos bound.w 0xffff,r3 54*4b169a6bSchristos test_move_cc 0 0 0 0 55*4b169a6bSchristos dumpr3 ; ffff 56*4b169a6bSchristos 57*4b169a6bSchristos move.d 0x78134452,r3 58*4b169a6bSchristos bound.w 0xf789,r3 59*4b169a6bSchristos test_move_cc 0 0 0 0 60*4b169a6bSchristos dumpr3 ; f789 61*4b169a6bSchristos 62*4b169a6bSchristos moveq -1,r3 63*4b169a6bSchristos bound.b 2,r3 64*4b169a6bSchristos test_move_cc 0 0 0 0 65*4b169a6bSchristos dumpr3 ; 2 66*4b169a6bSchristos 67*4b169a6bSchristos moveq 2,r3 68*4b169a6bSchristos bound.b 0xff,r3 69*4b169a6bSchristos test_move_cc 0 0 0 0 70*4b169a6bSchristos dumpr3 ; 2 71*4b169a6bSchristos 72*4b169a6bSchristos moveq -1,r3 73*4b169a6bSchristos bound.b 0xff,r3 74*4b169a6bSchristos test_move_cc 0 0 0 0 75*4b169a6bSchristos dumpr3 ; ff 76*4b169a6bSchristos 77*4b169a6bSchristos move.d 0xff,r3 78*4b169a6bSchristos bound.b 0xff,r3 79*4b169a6bSchristos test_move_cc 0 0 0 0 80*4b169a6bSchristos dumpr3 ; ff 81*4b169a6bSchristos 82*4b169a6bSchristos move.d 0xfeda49ff,r3 83*4b169a6bSchristos bound.b 0xff,r3 84*4b169a6bSchristos test_move_cc 0 0 0 0 85*4b169a6bSchristos dumpr3 ; ff 86*4b169a6bSchristos 87*4b169a6bSchristos move.d 0x78134452,r3 88*4b169a6bSchristos bound.b 0x89,r3 89*4b169a6bSchristos test_move_cc 0 0 0 0 90*4b169a6bSchristos dumpr3 ; 89 91*4b169a6bSchristos 92*4b169a6bSchristos bound.w 0,r3 93*4b169a6bSchristos test_move_cc 0 1 0 0 94*4b169a6bSchristos dumpr3 ; 0 95*4b169a6bSchristos 96*4b169a6bSchristos move.d 0xffff,r3 97*4b169a6bSchristos bound.b -1,r3 98*4b169a6bSchristos test_move_cc 0 0 0 0 99*4b169a6bSchristos dumpr3 ; ff 100*4b169a6bSchristos 101*4b169a6bSchristos quit 102