From f2121711af0518bd57865ea4d1493e7ae78a46bd Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Tue, 12 Sep 1995 13:51:05 -0400 Subject: [PATCH] (output_scc_di): Fixed for non-SGS_CMP_ORDER syntax. From-SVN: r10326 --- gcc/config/m68k/m68k.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gcc/config/m68k/m68k.c b/gcc/config/m68k/m68k.c index 36215ef57e1..19897a90cc3 100644 --- a/gcc/config/m68k/m68k.c +++ b/gcc/config/m68k/m68k.c @@ -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 -- 2.30.2