1 # frv testcase for subcc $GRi,$GRj,$GRk
4 .include "testutils.inc"
12 set_icc 0x0f,0 ; Set mask opposite of expected
13 subcc gr8,gr7,gr8,icc0
18 set_gr_limmed 0x8000,0x0000,gr8
19 set_icc 0x0d,0 ; Set mask opposite of expected
20 subcc gr8,gr7,gr8,icc0
22 test_gr_limmed 0x7fff,0xffff,gr8
24 set_icc 0x0b,0 ; Set mask opposite of expected
25 subcc gr8,gr8,gr8,icc0
29 set_icc 0x06,0 ; Set mask opposite of expected
30 subcc gr8,gr7,gr8,icc0
32 test_gr_limmed 0xffff,0xffff,gr8