1 # frv testcase for xori $GRi,$s12,$GRk
4 .include "testutils.inc"
10 set_gr_limmed 0xaaaa,0xaaaa,gr7
11 set_icc 0x07,0 ; Set mask opposite of expected
14 test_gr_limmed 0xaaaa,0xafff,gr8
16 set_gr_immed 0x00000000,gr7
17 set_gr_immed 0x00000000,gr8
18 set_icc 0x08,0 ; Set mask opposite of expected
21 test_gr_immed 0x00000000,gr8
23 set_gr_limmed 0xaaaa,0xaaaa,gr7
24 set_icc 0x0b,0 ; Set mask opposite of expected
27 test_gr_limmed 0xaaaa,0xa800,gr8
29 set_gr_limmed 0xdead,0x0000,gr7
30 set_icc 0x05,0 ; Set mask opposite of expected
33 test_gr_limmed 0x2152,0xfeef,gr8