1 # frv testcase for andicc $GRi,$s10,$GRk,$ICCi_1
4 .include "testutils.inc"
10 set_gr_limmed 0xaaaa,0xaaaa,gr7
11 set_icc 0x0b,0 ; Set mask opposite of expected
12 andicc gr7,0x155,gr8,icc0
16 set_icc 0x04,0 ; Set mask opposite of expected
17 andicc gr7,-512,gr8,icc0
19 test_gr_limmed 0xaaaa,0xaa00,gr8
21 set_icc 0x05,0 ; Set mask opposite of expected
22 andicc gr7,-1,gr8,icc0
24 test_gr_limmed 0xaaaa,0xaaaa,gr8