]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gas/testsuite/gas/mmix/relax1.s
This commit was manufactured by cvs2svn to create branch 'binutils-
[thirdparty/binutils-gdb.git] / gas / testsuite / gas / mmix / relax1.s
CommitLineData
3c3bdf30
NC
1# Relaxation border-cases: just-within reach, just-out-of-reach, forward
2# and backward. Have a few variable-length thingies in-between so it
3# doesn't get too easy.
4Main JMP l6
5l0 JMP l6
6l1 JMP l6
7l01 JMP l6
8 GETA $7,nearfar1 % Within reach.
9 PUSHJ $191,nearfar2 % Within reach.
10l2 JMP nearfar2 % Dummy.
11 .space 65530*4,0
12 BNP $72,l0 % Within reach
13 GETA $4,l1 % Within reach.
14nearfar1 PUSHJ 5,l01 % Within reach.
15nearfar2 GETA $9,l1 % Out of reach.
16 PUSHJ $11,l3 % Out of reach.
17l4 BP $55,l3 % Within reach.
18 .space 65533*4,0
19 JMP l1 % Dummy.
20l3 JMP l0 % Dummy.
21 BOD $88,l4 % Within reach.
22 BOD $88,l4 % Out of reach.
23 JMP l5 % Out of reach.
24l6 JMP l5 % Within reach.
25 BZ $111,l3 % Dummy.
26 .space (256*256*256-3)*4,0
27l5 JMP l8 % Dummy.
28 JMP l6 % Within reach
29 JMP l6 % Out of reach.
30 BNN $44,l9 % Out of reach.
31l8 BNN $44,l9 % Within reach.
32 JMP l5 % Dummy.
33 JMP l5 % Dummy.
34 .space 65531*4,0
35l10 JMP l5 % Dummy.
36l9 JMP l11 % Dummy
37l7 PUSHJ $33,l8 % Within reach.
38 PUSHJ $33,l8 % Out of reach.
39l11 JMP l5 % Dummy.
40 JMP l8 % Dummy.
41 .space 65534*4,0
42 GETA $61,l11 % Within reach.
43 GETA $72,l11 % Out of reach.