1 # frv testcase for cmov $GRi,$GRk,$CCi,$cond
4 .include "testutils.inc"
10 set_spr_immed 0x1b1b,cccr
12 set_gr_immed 0x00007fff,gr7
13 set_gr_immed 0xdeadbeef,gr8
14 set_icc 0x08,0 ; Set mask opposite of expected
17 test_gr_immed 0xdeadbeef,gr8
19 set_gr_immed 0x00007fff,gr7
20 set_gr_immed 0xdeadbeef,gr8
21 set_icc 0x08,0 ; Set mask opposite of expected
24 test_gr_immed 0x00007fff,gr8
26 set_gr_immed 0x00007fff,gr7
27 set_gr_immed 0xdeadbeef,gr8
28 set_icc 0x08,1 ; Set mask opposite of expected
31 test_gr_immed 0x00007fff,gr8
33 set_gr_immed 0x00007fff,gr7
34 set_gr_immed 0xdeadbeef,gr8
35 set_icc 0x08,1 ; Set mask opposite of expected
38 test_gr_immed 0xdeadbeef,gr8
40 set_gr_immed 0x00007fff,gr7
41 set_gr_immed 0xdeadbeef,gr8
42 set_icc 0x08,2 ; Set mask opposite of expected
45 test_gr_immed 0xdeadbeef,gr8
47 set_gr_immed 0x00007fff,gr7
48 set_gr_immed 0xdeadbeef,gr8
49 set_icc 0x08,3 ; Set mask opposite of expected
52 test_gr_immed 0xdeadbeef,gr8