1 # frv testcase for addx $GRi,$GRj,$GRk,$ICCi_1
4 .include "testutils.inc"
12 set_icc 0x0e,0 ; Make sure carry bit is off
17 set_gr_limmed 0x7fff,0xffff,gr7
19 set_icc 0x04,0 ; Make sure carry bit is off
22 test_gr_limmed 0x8000,0x0000,gr8
24 set_icc 0x08,0 ; Make sure carry bit is off
31 set_icc 0x0f,0 ; Make sure carry bit is on
36 set_gr_limmed 0x7fff,0xffff,gr7
38 set_icc 0x05,0 ; Make sure carry bit is on
41 test_gr_limmed 0x8000,0x0000,gr8
43 set_gr_limmed 0x7fff,0xffff,gr7
44 set_icc 0x0b,0 ; Make sure carry bit is on