From: Richard Kenner Date: Tue, 12 Sep 1995 17:51:05 +0000 (-0400) Subject: (output_scc_di): Fixed for non-SGS_CMP_ORDER syntax. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f2121711af0518bd57865ea4d1493e7ae78a46bd;p=gcc.git (output_scc_di): Fixed for non-SGS_CMP_ORDER syntax. From-SVN: r10326 --- 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