diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1995-09-12 13:51:05 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1995-09-12 13:51:05 -0400 |
commit | f2121711af0518bd57865ea4d1493e7ae78a46bd (patch) | |
tree | cec87f71b95a47847d14f6fc537df10dbdaa1e12 /gcc | |
parent | a6ec530cdf84df101a4cefa987f74546f4c8de0d (diff) | |
download | gcc-f2121711af0518bd57865ea4d1493e7ae78a46bd.zip gcc-f2121711af0518bd57865ea4d1493e7ae78a46bd.tar.gz gcc-f2121711af0518bd57865ea4d1493e7ae78a46bd.tar.bz2 |
(output_scc_di): Fixed for non-SGS_CMP_ORDER syntax.
From-SVN: r10326
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/m68k/m68k.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/config/m68k/m68k.c b/gcc/config/m68k/m68k.c index 36215ef..19897a9 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 |