1 # Test the mips16e instruction set.
6 # explicit compact jumps
12 # these jumps should all be converted to compact versions
22 # make sure unconditional jumps don't swap with compact jumps
26 jal foo
# mustn't swap with previous jalr
33 1: jal $
2 # can't swap with move
36 1: jr $
2 # can't swap with move
39 1: jr $
31 # can't swap with move
52 save $
4,$
31,$
16-$
17,16
53 save $
4-$
5,$
31,$
16,$
18,$
19,$
20,16
54 save $
4-$
6,$
31,$
16-$
20,16
55 save $
4-$
7,$
31,$
17,$
18-$
30,16
56 save $
4-$
5,$
31,$
16,$
18,$
19,$
20,16,$
6-$
7