diff options
author | Bernardo Innocenti <bernie@develer.com> | 2003-08-21 02:04:22 +0200 |
---|---|---|
committer | Bernardo Innocenti <bernie@gcc.gnu.org> | 2003-08-21 02:04:22 +0200 |
commit | d1b87863da551e73f2b4431a5f7d77393d715ff1 (patch) | |
tree | 849fee2dc54bcb92692d7fb00b76cb38f1fa4de1 /gcc/config/m68k/m68k.c | |
parent | b6343a3395b83445977a58f32c462ed0d8101734 (diff) | |
download | gcc-d1b87863da551e73f2b4431a5f7d77393d715ff1.zip gcc-d1b87863da551e73f2b4431a5f7d77393d715ff1.tar.gz gcc-d1b87863da551e73f2b4431a5f7d77393d715ff1.tar.bz2 |
m68k.c: Strip away code depending on NO_ADDSUB_Q definition.
* config/m68k/m68k.c: Strip away code depending on NO_ADDSUB_Q definition.
* config/m68k/m68k.md: Likewise.
From-SVN: r70626
Diffstat (limited to 'gcc/config/m68k/m68k.c')
-rw-r--r-- | gcc/config/m68k/m68k.c | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/gcc/config/m68k/m68k.c b/gcc/config/m68k/m68k.c index 40166e3..31da70b 100644 --- a/gcc/config/m68k/m68k.c +++ b/gcc/config/m68k/m68k.c @@ -345,7 +345,6 @@ m68k_output_function_prologue (stream, size) { if (fsize + 4 < 0x8000) { -#ifndef NO_ADDSUB_Q if (fsize + 4 <= 8) { if (!TARGET_5200) @@ -381,9 +380,7 @@ m68k_output_function_prologue (stream, size) fsize + 4 - 8); #endif } - else -#endif /* not NO_ADDSUB_Q */ - if (TARGET_68040) + else if (TARGET_68040) { /* Adding negative number is faster on the 68040. */ /* asm_fprintf() cannot handle %. */ @@ -800,7 +797,6 @@ m68k_output_function_epilogue (stream, size) reg_names[FRAME_POINTER_REGNUM]); else if (fsize) { -#ifndef NO_ADDSUB_Q if (fsize + 4 <= 8) { if (!TARGET_5200) @@ -833,9 +829,7 @@ m68k_output_function_epilogue (stream, size) fsize + 4 - 8); #endif } - else -#endif /* not NO_ADDSUB_Q */ - if (fsize + 4 < 0x8000) + else if (fsize + 4 < 0x8000) { if (TARGET_68040) { @@ -1763,11 +1757,7 @@ output_move_qimode (operands) if (!reg_mentioned_p (stack_pointer_rtx, operands[1])) { xoperands[3] = stack_pointer_rtx; -#ifndef NO_ADDSUB_Q output_asm_insn ("subq%.l %#2,%3\n\tmove%.b %1,%2", xoperands); -#else - output_asm_insn ("sub%.l %#2,%3\n\tmove%.b %1,%2", xoperands); -#endif } else output_asm_insn ("move%.b %1,%-\n\tmove%.b %@,%2", xoperands); @@ -2268,7 +2258,6 @@ output_addsi3 (operands) } if (GET_CODE (operands[2]) == CONST_INT) { -#ifndef NO_ADDSUB_Q if (INTVAL (operands[2]) > 0 && INTVAL (operands[2]) <= 8) return "addq%.l %2,%0"; @@ -2296,7 +2285,6 @@ output_addsi3 (operands) return "subq%.l %#8,%0\n\tsubq%.l %2,%0"; } } -#endif if (ADDRESS_REG_P (operands[0]) && INTVAL (operands[2]) >= -0x8000 && INTVAL (operands[2]) < 0x8000) |