diff options
author | Larin Hennessy <larin@science.oregonstate.edu> | 2003-05-23 18:19:21 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2003-05-23 18:19:21 +0000 |
commit | a27b2b71a86d86d43a845e7e3c7d5c1fabb7bcd6 (patch) | |
tree | 18f9dfdd3e4148ee3f19e0374e0d0a5c982aace9 /gcc/config | |
parent | 24bcc7214c19457d189acf509a2bd5dcfc0e20fd (diff) | |
download | gcc-a27b2b71a86d86d43a845e7e3c7d5c1fabb7bcd6.zip gcc-a27b2b71a86d86d43a845e7e3c7d5c1fabb7bcd6.tar.gz gcc-a27b2b71a86d86d43a845e7e3c7d5c1fabb7bcd6.tar.bz2 |
explow.c (allocate_dynamic_stack_space): Remove call to gen_probe.
2003-05-23 Larin Hennessy <larin@science.oregonstate.edu>
Zack Weinberg <zack@codesourcery.com>
* explow.c (allocate_dynamic_stack_space): Remove call to gen_probe.
* config/m68k/m68k.c (m68k_output_function_prologue):
Remove code under #if NEED_PROBE.
* config/m68k/m68k.h: Don't define NEED_PROBE.
* config/m68k/m68k.md: Remove "probe" insn.
* doc/md.texi: Remove documentation of "probe" pattern.
Co-Authored-By: Zack Weinberg <zack@codesourcery.com>
From-SVN: r67125
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/m68k/m68k.c | 8 | ||||
-rw-r--r-- | gcc/config/m68k/m68k.h | 5 | ||||
-rw-r--r-- | gcc/config/m68k/m68k.md | 9 |
3 files changed, 0 insertions, 22 deletions
diff --git a/gcc/config/m68k/m68k.c b/gcc/config/m68k/m68k.c index 92e6426..8f49f3c 100644 --- a/gcc/config/m68k/m68k.c +++ b/gcc/config/m68k/m68k.c @@ -519,14 +519,6 @@ m68k_output_function_prologue (stream, size) num_saved_regs++; } -#if NEED_PROBE -#ifdef MOTOROLA - asm_fprintf (stream, "\ttst.l %d(%Rsp)\n", NEED_PROBE - num_saved_regs * 4); -#else - asm_fprintf (stream, "\ttstl %Rsp@(%d)\n", NEED_PROBE - num_saved_regs * 4); -#endif -#endif - /* If the stack limit is not a symbol, check it here. This has the disadvantage that it may be too late... */ if (current_function_limit_stack) diff --git a/gcc/config/m68k/m68k.h b/gcc/config/m68k/m68k.h index c6c8e0f..a3f04e6 100644 --- a/gcc/config/m68k/m68k.h +++ b/gcc/config/m68k/m68k.h @@ -671,11 +671,6 @@ enum reg_class { makes the stack pointer a smaller address. */ #define STACK_GROWS_DOWNWARD -/* Nonzero if we need to generate stack-probe insns. - On most systems they are not needed. - When they are needed, define this as the stack offset to probe at. */ -#define NEED_PROBE 0 - /* Define this if the nominal address of the stack frame is at the high-address end of the local variables; that is, each additional local variable allocated diff --git a/gcc/config/m68k/m68k.md b/gcc/config/m68k/m68k.md index a1ac995..50039e3 100644 --- a/gcc/config/m68k/m68k.md +++ b/gcc/config/m68k/m68k.md @@ -7000,15 +7000,6 @@ "" "nop") -(define_insn "probe" - [(reg:SI 15)] - "NEED_PROBE" - "* -{ - operands[0] = plus_constant (stack_pointer_rtx, NEED_PROBE); - return \"tstl %a0\"; -}") - ;; Used for frameless functions which save no regs and allocate no locals. (define_insn "return" [(return)] |