*** empty log message ***
authorRichard Stallman <rms@gnu.org>
Thu, 26 Mar 1992 06:32:08 +0000 (06:32 +0000)
committerRichard Stallman <rms@gnu.org>
Thu, 26 Mar 1992 06:32:08 +0000 (06:32 +0000)
From-SVN: r588

gcc/config/m68k/amix.h
gcc/config/m68k/m68k.md

index b35511c348b35fec8a4953308d2a8fefa06f65d4..71efc924bb0a31a8f2be47ef15ac1d47658aeb7f 100644 (file)
@@ -21,6 +21,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 #include "m68kv4.h"
 
+/* Alter assembler syntax for fsgldiv.  */
+
+#define FSGLDIV_USE_S
+
 /* Names to predefine in the preprocessor for this target machine.  For the
    Amiga, these definitions match those of the native AT&T compiler.  Note
    that we override the definition in m68kv4.h, where SVR4 is defined and
index 9a12fd28ec8464eebf71cc5797bbbca7622914d5..062027fac093249ee4ca9896449b37d3a32fc25e 100644 (file)
   "TARGET_68881"
   "*
 {
+#ifdef FSGLDIV_USE_S
+  if (REG_P (operands[2]) && ! DATA_REG_P (operands[2]))
+    return (TARGET_68040_ONLY
+           ? \"fsdiv%.s %2,%0\"
+           : \"fsgldiv%.s %2,%0\");
+#else
   if (REG_P (operands[2]) && ! DATA_REG_P (operands[2]))
     return (TARGET_68040_ONLY
            ? \"fsdiv%.x %2,%0\"
            : \"fsgldiv%.x %2,%0\");
+#endif
   return (TARGET_68040_ONLY
          ? \"fsdiv%.s %f2,%0\"
          : \"fsgldiv%.s %f2,%0\");