1 # frv testcase for tc $ICCi_2,$GRi,$GRj
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 tc icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
26 tc icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
31 tc icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
36 tc icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
41 tc icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
46 tc icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
51 tc icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
56 tc icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
61 tc icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
66 tc icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
71 tc icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
76 tc icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
81 tc icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
86 tc icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
91 tc icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
96 tc icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16