1 # frv testcase for sllicc $GRi,$s10,$GRk,$ICCi_1
4 .include "testutils.inc"
11 set_icc 0x0f,0 ; Set mask opposite of expected
12 sllicc gr8,0x1e0,gr8,icc0 ; Shift by 0
17 set_icc 0x0f,0 ; Set mask opposite of expected
18 sllicc gr8,-31,gr8,icc0 ; Shift by 1
23 set_icc 0x07,0 ; Set mask opposite of expected
24 sllicc gr8,31,gr8,icc0 ; Shift by 31
26 test_gr_limmed 0x8000,0x0000,gr8
29 set_icc 0x08,0 ; Set mask opposite of expected
30 sllicc gr8,31,gr8,icc0 ; clear register
32 test_gr_immed 0x00000000,gr8