diff options
Diffstat (limited to 'gas/testsuite/gas/mips/micromips@mips32r2-cp2.s')
-rw-r--r-- | gas/testsuite/gas/mips/micromips@mips32r2-cp2.s | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gas/testsuite/gas/mips/micromips@mips32r2-cp2.s b/gas/testsuite/gas/mips/micromips@mips32r2-cp2.s new file mode 100644 index 0000000000..c815e96753 --- /dev/null +++ b/gas/testsuite/gas/mips/micromips@mips32r2-cp2.s @@ -0,0 +1,16 @@ +# Source file to test assembly of MIPS32r2-derived microMIPS cop2 instructions. + + .set noreorder + .set noat + + .text +text_label: + # cp2 instructions. + + # Only register syntax with cp2 for microMIPS (and no sel). + mfhc2 $17, $15 + mthc2 $17, $15 + +# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ... + .align 2 + .space 8 |