1 # source file to test illegal mips32r2 instructions
9 # insert and extract position/size checks:
11 # ext constraint: 0 <= pos < 32
12 ext $4, $5, -1, 1 # error
15 ext $4, $5, 32, 1 # error
17 # ext constraint: 0 < size <= 32
18 ext $4, $5, 0, 0 # error
21 ext $4, $5, 0, 33 # error
23 # ext constraint: 0 < (pos+size) <= 32
24 ext $4, $5, 0, 0 # error
27 ext $4, $5, 31, 2 # error
29 # ins constraint: 0 <= pos < 32
30 ins $4, $5, -1, 1 # error
33 ins $4, $5, 32, 1 # error
35 # ins constraint: 0 < size <= 32
36 ins $4, $5, 0, 0 # error
39 ins $4, $5, 0, 33 # error
41 # ins constraint: 0 < (pos+size) <= 32
42 ins $4, $5, 0, 0 # error
45 ins $4, $5, 31, 2 # error
49 # Even registers are supported w/ 32-bit FPU, odd
50 # registers supported only for 64-bit FPU.
51 # This file tests 32-bit FPU.
57 # Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...