1 # frv testcase for tiv $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
20 tiv icc0,gr7,4 ; should branch to tbr + (128 + 4)*16
24 tiv icc0,gr7,4 ; should branch to tbr + (128 + 4)*16
29 tiv icc0,gr7,4 ; should branch to tbr + (128 + 4)*16
35 tiv icc0,gr7,4 ; should branch to tbr + (128 + 4)*16
40 tiv icc0,gr7,4 ; should branch to tbr + (128 + 4)*16
44 tiv icc0,gr7,4 ; should branch to tbr + (128 + 4)*16
49 tiv icc0,gr7,4 ; should branch to tbr + (128 + 4)*16
55 tiv icc0,gr7,4 ; should branch to tbr + (128 + 4)*16
60 tiv icc0,gr7,4 ; should branch to tbr + (128 + 4)*16
64 tiv icc0,gr7,4 ; should branch to tbr + (128 + 4)*16
69 tiv icc0,gr7,4 ; should branch to tbr + (128 + 4)*16
75 tiv icc0,gr7,4 ; should branch to tbr + (128 + 4)*16
80 tiv icc0,gr7,4 ; should branch to tbr + (128 + 4)*16
84 tiv icc0,gr7,4 ; should branch to tbr + (128 + 4)*16
89 tiv icc0,gr7,4 ; should branch to tbr + (128 + 4)*16
95 tiv icc0,gr7,4 ; should branch to tbr + (128 + 4)*16