1 # frv testcase for tp $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
22 tp icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
28 tp icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
34 tp icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
40 tp icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
46 tp icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
52 tp icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
58 tp icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
64 tp icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
69 tp icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
73 tp icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
77 tp icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
81 tp icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
85 tp icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
89 tp icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
93 tp icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
97 tp icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16