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 | |
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
-rw-r--r-- | gcc/ChangeLog | 10 | ||||
-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 | ||||
-rw-r--r-- | gcc/doc/md.texi | 12 | ||||
-rw-r--r-- | gcc/explow.c | 7 |
6 files changed, 10 insertions, 41 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 44f08f4..8c33e66 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,13 @@ +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. + 2003-05-23 Dorit Naishlos <gcchaifa@il.ibm.com> * config/rs6000/rs6000.md (save_fpregs_{si,di}): Add branch attribute. 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)] diff --git a/gcc/doc/md.texi b/gcc/doc/md.texi index 328fcd8..d26fa23 100644 --- a/gcc/doc/md.texi +++ b/gcc/doc/md.texi @@ -3270,18 +3270,6 @@ Some machines require other operations such as stack probes or maintaining the back chain. Define this pattern to emit those operations in addition to updating the stack pointer. -@cindex @code{probe} instruction pattern -@item @samp{probe} -Some machines require instructions to be executed after space is -allocated from the stack, for example to generate a reference at -the bottom of the stack. - -If you need to emit instructions before the stack has been adjusted, -put them into the @samp{allocate_stack} pattern. Otherwise, define -this pattern to emit the required instructions. - -No operands are provided. - @cindex @code{check_stack} instruction pattern @item @samp{check_stack} If stack checking cannot be done on your system by probing the stack with diff --git a/gcc/explow.c b/gcc/explow.c index 7114094..da7e2b7 100644 --- a/gcc/explow.c +++ b/gcc/explow.c @@ -1448,13 +1448,6 @@ allocate_dynamic_stack_space (size, target, known_align) NULL_RTX, 1); } - /* Some systems require a particular insn to refer to the stack - to make the pages exist. */ -#ifdef HAVE_probe - if (HAVE_probe) - emit_insn (gen_probe ()); -#endif - /* Record the new stack level for nonlocal gotos. */ if (nonlocal_goto_handler_slots != 0) emit_stack_save (SAVE_NONLOCAL, &nonlocal_goto_stack_level, NULL_RTX); |