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