X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=gas%2Ftestsuite%2Fgas%2Fmips%2Fmips32r2-fp32.s;fp=gas%2Ftestsuite%2Fgas%2Fmips%2Fmips32r2-fp32.s;h=22abe208114e6198df62148f916f83def6f71159;hp=0000000000000000000000000000000000000000;hb=88750007d7869f178f0ba528f41efd3b74c424cf;hpb=6df9443a374e2b81278c61b8afc0a1eef7db280b diff --git a/gas/testsuite/gas/mips/mips32r2-fp32.s b/gas/testsuite/gas/mips/mips32r2-fp32.s new file mode 100644 index 0000000..22abe20 --- /dev/null +++ b/gas/testsuite/gas/mips/mips32r2-fp32.s @@ -0,0 +1,13 @@ +# source file to test assembly of mips32r2 FP instructions + + .text +text_label: + + # FPU (cp1) instructions + # + # Even registers are supported w/ 32-bit FPU, odd + # registers supported only for 64-bit FPU. + # Only the 32-bit FPU instructions are tested here. + + mfhc1 $17, $f0 + mthc1 $17, $f0