(output_scc_di): Fixed for non-SGS_CMP_ORDER syntax.
authorRichard Kenner <kenner@gcc.gnu.org>
Tue, 12 Sep 1995 17:51:05 +0000 (13:51 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Tue, 12 Sep 1995 17:51:05 +0000 (13:51 -0400)
From-SVN: r10326

gcc/config/m68k/m68k.c

index 36215ef57e1494a19ebce525501952267ac39fef..19897a90cc3f356fd7091e6d705d97acf4ce6f68 100644 (file)
@@ -723,9 +723,17 @@ output_scc_di(op, operand1, operand2, dest)
   loperands[4] = gen_label_rtx();
   if (operand2 != const0_rtx)
 #ifdef MOTOROLA
+#ifdef SGS_CMP_ORDER
     output_asm_insn ("cmp%.l %0,%2\n\tjbne %l4\n\tcmp%.l %1,%3", loperands);
 #else
+    output_asm_insn ("cmp%.l %2,%0\n\tjbne %l4\n\tcmp%.l %3,%1", loperands);
+#endif
+#else
+#ifdef SGS_CMP_ORDER
     output_asm_insn ("cmp%.l %0,%2\n\tjne %l4\n\tcmp%.l %1,%3", loperands);
+#else
+    output_asm_insn ("cmp%.l %2,%0\n\tjne %l4\n\tcmp%.l %3,%1", loperands);
+#endif
 #endif
   else
 #ifdef MOTOROLA