1 # frv testcase for teq $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 teq icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
25 teq icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
29 teq icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
33 teq icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
38 teq icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
44 teq icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
50 teq icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
56 teq icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
61 teq icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
65 teq icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
69 teq icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
73 teq icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
78 teq icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
84 teq icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
90 teq icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
96 teq icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16