(fsglmul pattern): If FSGLMUL_USE_S, opcode has .s, not .x.
authorRichard Stallman <rms@gnu.org>
Mon, 7 Sep 1992 06:17:16 +0000 (06:17 +0000)
committerRichard Stallman <rms@gnu.org>
Mon, 7 Sep 1992 06:17:16 +0000 (06:17 +0000)
From-SVN: r2072

gcc/config/m68k/m68k.md

index 9a1ea76158724096ee11ff35f961efa933e636e2..8e24995dec863a38af555219e900ad0a217c2aa2 100644 (file)
   "TARGET_68881"
   "*
 {
+#ifdef FSGLMUL_USE_S
+  if (REG_P (operands[2]) && ! DATA_REG_P (operands[2]))
+    return (TARGET_68040_ONLY
+           ? \"fsmul%.s %2,%0\"
+           : \"fsglmul%.s %2,%0\");
+#else
   if (REG_P (operands[2]) && ! DATA_REG_P (operands[2]))
     return (TARGET_68040_ONLY
            ? \"fsmul%.x %2,%0\"
            : \"fsglmul%.x %2,%0\");
+#endif
   return (TARGET_68040_ONLY
          ? \"fsmul%.s %f2,%0\"
          : \"fsglmul%.s %f2,%0\");