(ASM_OUTPUT_OPCODE): Defined.
authorRichard Stallman <rms@gnu.org>
Sat, 5 Sep 1992 06:40:27 +0000 (06:40 +0000)
committerRichard Stallman <rms@gnu.org>
Sat, 5 Sep 1992 06:40:27 +0000 (06:40 +0000)
From-SVN: r2056

gcc/config/m68k/news.h

index 1102a80573360e413a894fa51e7500c6cefab21e..c77907195483f4cfc633550c813ebcdc20f236b1 100644 (file)
@@ -246,6 +246,17 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #define ASM_OUTPUT_SKIP(FILE,SIZE)  \
   fprintf (FILE, "\t.space %u\n", (SIZE))
 
+/* The NEWS assembler complains about fmove.d; see if it likes fmove.x.  */
+#define ASM_OUTPUT_OPCODE(FILE, STRING) \
+{                                              \
+  if (!strncmp (STRING, "fmove.d", 7)          \
+      && CONSTANT_P (operands[1]))             \
+    {                                          \
+      fprintf (FILE, "fmove.x");               \
+      STRING += 7;                             \
+    }                                          \
+}
+
 /* Store in OUTPUT a string (made with alloca) containing
    an assembler-name for a local static variable named NAME.
    LABELNO is an integer which is different for each call.  */