X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=gas%2Ftestsuite%2Fgas%2Fmips%2Fmips64-cp2.s;fp=gas%2Ftestsuite%2Fgas%2Fmips%2Fmips64-cp2.s;h=a9130f001e1420fc9b957abf560b9aa72b6c8e65;hp=0000000000000000000000000000000000000000;hb=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10 diff --git a/gas/testsuite/gas/mips/mips64-cp2.s b/gas/testsuite/gas/mips/mips64-cp2.s new file mode 100644 index 0000000..a9130f0 --- /dev/null +++ b/gas/testsuite/gas/mips/mips64-cp2.s @@ -0,0 +1,17 @@ +# source file to test assembly of mips64 cop2 instructions + + .set noreorder + .set noat + + .globl text_label .text +text_label: + + # unprivileged coprocessor instructions. + # these tests use cp2 to avoid other (cp0, fpu, prefetch) opcodes. + + dmfc2 $3, $4 + dmfc2 $4, $5, 0 # disassembles without sel + dmfc2 $5, $6, 7 + dmtc2 $6, $7 + dmtc2 $7, $8, 0 # disassembles without sel + dmtc2 $8, $9, 7