1 # frv testcase for tls $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 tls icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
26 tls icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
31 tls icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
36 tls icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
42 tls icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
48 tls icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
54 tls icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
60 tls icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
65 tls icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
70 tls icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
75 tls icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
80 tls icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
86 tls icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
92 tls icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
98 tls icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
104 tls icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16