1 # frv testcase for tv $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 tv icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
25 tv icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
30 tv icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
36 tv icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
41 tv icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
45 tv icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
50 tv icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
56 tv icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
61 tv icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
65 tv icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
70 tv icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
76 tv icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
81 tv icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
85 tv icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
90 tv icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
96 tv icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16