X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=gas%2Ftestsuite%2Fgas%2Fmips%2Fmips-macro-ill-nofp.s;fp=gas%2Ftestsuite%2Fgas%2Fmips%2Fmips-macro-ill-nofp.s;h=c07337f8bbbf00ca636430119c2e683594060cf1;hp=0000000000000000000000000000000000000000;hb=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10 diff --git a/gas/testsuite/gas/mips/mips-macro-ill-nofp.s b/gas/testsuite/gas/mips/mips-macro-ill-nofp.s new file mode 100644 index 0000000..c07337f --- /dev/null +++ b/gas/testsuite/gas/mips/mips-macro-ill-nofp.s @@ -0,0 +1,32 @@ +# Macros that are disabled without floating point. + + .text +double_float: + ldc1 $f2, d + ldc1 $22, d + l.d $f2, d + li.d $f2, 1.2 + li.d $22, 1.2 + + sdc1 $f2, d + sdc1 $22, d + s.d $f2, d + + trunc.w.d $f4,$f6,$4 + +single_float: + lwc1 $f2, d + lwc1 $22, d + l.s $f2, d + li.s $f2, 1.2 + li.s $22, 1.2 + + sdc1 $f2, d + sdc1 $22, d + s.d $f2, d + + trunc.w.s $f4,$f6,$4 + +d: + .word 0 + .word 0