1 # frv testcase for tihi $ICCi_2,$GRi,$s12
4 .include "testutils.inc"
10 and_spr_immed -4081,tbr ; clear tbr.tt
12 inc_gr_immed 2112,gr7 ; address of exception handler
13 set_bctrlr_0_0 gr7 ; bctrlr 0,0
21 tihi icc0,gr7,4 ; should branch to tbr + (128 + 4)*16
26 tihi icc0,gr7,4 ; should branch to tbr + (128 + 4)*16
31 tihi icc0,gr7,4 ; should branch to tbr + (128 + 4)*16
36 tihi icc0,gr7,4 ; should branch to tbr + (128 + 4)*16
40 tihi icc0,gr7,4 ; should branch to tbr + (128 + 4)*16
44 tihi icc0,gr7,4 ; should branch to tbr + (128 + 4)*16
48 tihi icc0,gr7,4 ; should branch to tbr + (128 + 4)*16
52 tihi icc0,gr7,4 ; should branch to tbr + (128 + 4)*16
57 tihi icc0,gr7,4 ; should branch to tbr + (128 + 4)*16
62 tihi icc0,gr7,4 ; should branch to tbr + (128 + 4)*16
67 tihi icc0,gr7,4 ; should branch to tbr + (128 + 4)*16
72 tihi icc0,gr7,4 ; should branch to tbr + (128 + 4)*16
76 tihi icc0,gr7,4 ; should branch to tbr + (128 + 4)*16
80 tihi icc0,gr7,4 ; should branch to tbr + (128 + 4)*16
84 tihi icc0,gr7,4 ; should branch to tbr + (128 + 4)*16
88 tihi icc0,gr7,4 ; should branch to tbr + (128 + 4)*16