X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gas%2Ftestsuite%2Fgas%2Fmips%2Fmips64-cp2.s;fp=gas%2Ftestsuite%2Fgas%2Fmips%2Fmips64-cp2.s;h=a9130f001e1420fc9b957abf560b9aa72b6c8e65;hb=88750007d7869f178f0ba528f41efd3b74c424cf;hp=0000000000000000000000000000000000000000;hpb=6df9443a374e2b81278c61b8afc0a1eef7db280b;p=msp430-binutils.git 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