1 # Source file used to test the microMIPS instruction size overrides (#0).
5 # Smoke-test a trivial case.
10 # Test ALU operations.
24 # Test jumps and branches.
53 # Test branch delay slots.
93 # Test macro delay slots.
115 # Test shift instructions to complement 64-bit tests.
126 # Test 64-bit instructions.
129 dsll32 $2, $3, 5 # No way to force 32-bit DSLL.
134 dsll32 $2, $3, 13 # No way to force 32-bit DSLL.
139 dsll32 $10, $11, 5 # No way to force 32-bit DSLL.
143 # Test out-of-range mapped constants
144 addiu16 $2, $4, 4 # OK
145 addiu16 $2, $4, 5 # error
146 addiu16 $2, $4, 7 # error
147 addiu16 $2, $4, 8 # OK
148 andi16 $2, $4, 4 # OK
149 andi16 $2, $4, 5 # error
150 andi16 $2, $4, 7 # OK
151 andi16 $2, $4, 8 # OK
153 # Test invalid ADDIUSP
160 addiusp16 1032 # error
162 addiusp16 -1036 # error
164 # Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...