2
; Test that branches work: 8- and 16-bit all insns, relaxing to
3
; 32-bit, forward and backward. No need to check the border
4
; cases for *all* insns.
9
startm32: ; start start2 start3
11
.space 32750-(256-21*2+20)-(21*2+10*2+21*4)-12,0
14
; The size of a bunch of short branches is start2-start = 42,
15
; so make the threshold be dependent of the size of that block,
16
; for the next block; half of them will be relaxed.
26
bext start ; leftover, used to be never-implemented "bir"
63
; Ok, once more to make sure *all* 16-bit variants get ok for
64
; backward references.
87
; Now check that dynamically relaxing some of these branches
88
; from 16-bit to 32-bit works.
113
; Again, so all insns get to be tested for 32-bit relaxing.
138
; Now test forward references. Symmetrically as above.
239
; And all the short ones, forward.
268
.space 32750-(256-21*2+20)-(21*2+10*2+21*4)-12,0