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=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10 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