1 # frv testcase for tra $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
22 tra gr7,gr8 ; should branch to tbr + (128 + 4)*16
26 test_spr_addr bad0,pcsr
30 tra gr7,gr8 ; should branch to tbr + (128 + 4)*16
36 tra gr7,gr8 ; should branch to tbr + (128 + 4)*16
42 tra gr7,gr8 ; should branch to tbr + (128 + 4)*16
48 tra gr7,gr8 ; should branch to tbr + (128 + 4)*16
54 tra gr7,gr8 ; should branch to tbr + (128 + 4)*16
60 tra gr7,gr8 ; should branch to tbr + (128 + 4)*16
66 tra gr7,gr8 ; should branch to tbr + (128 + 4)*16
72 tra gr7,gr8 ; should branch to tbr + (128 + 4)*16
78 tra gr7,gr8 ; should branch to tbr + (128 + 4)*16
84 tra gr7,gr8 ; should branch to tbr + (128 + 4)*16
90 tra gr7,gr8 ; should branch to tbr + (128 + 4)*16
96 tra gr7,gr8 ; should branch to tbr + (128 + 4)*16
102 tra gr7,gr8 ; should branch to tbr + (128 + 4)*16
108 tra gr7,gr8 ; should branch to tbr + (128 + 4)*16
114 tra gr7,gr8 ; should branch to tbr + (128 + 4)*16