aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1996-09-14 17:03:12 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1996-09-14 17:03:12 -0400
commit8c9be4475d5b32279c1e1ac6e10887736eded457 (patch)
tree0c659dac1e36f99aba40330cd93909ff610d24e2 /gcc
parent8dfe5673a08e6d48ee0820c7669b8651e19e905f (diff)
downloadgcc-8c9be4475d5b32279c1e1ac6e10887736eded457.zip
gcc-8c9be4475d5b32279c1e1ac6e10887736eded457.tar.gz
gcc-8c9be4475d5b32279c1e1ac6e10887736eded457.tar.bz2
({MASK,TARGET}_STACK_PROBE): New macros.
(TARGET_SWITCHES): Add -fstack-arg-probe. From-SVN: r12710
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/i386/i386.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h
index f56f0d9..480a55b 100644
--- a/gcc/config/i386/i386.h
+++ b/gcc/config/i386/i386.h
@@ -95,6 +95,7 @@ extern int target_flags;
#define MASK_NO_PSEUDO 000010000000 /* Move op's args -> pseudos */
#define MASK_DEBUG_ARG 000020000000 /* Debug function_arg */
#define MASK_SCHEDULE_PROLOGUE 000040000000 /* Emit prologue as rtl */
+#define MASK_STACK_PROBE 000100000000 /* Enable stack probing */
/* Use the floating point instructions */
#define TARGET_80387 (target_flags & MASK_80387)
@@ -165,6 +166,7 @@ extern int target_flags;
#define TARGET_USE_ANY_REG (ix86_cpu == PROCESSOR_I486)
#define TARGET_CMOVE (ix86_isa == PROCESSOR_PENTIUMPRO)
#define TARGET_DEEP_BRANCH_PREDICTION (ix86_cpu == PROCESSOR_PENTIUMPRO)
+#define TARGET_STACK_PROBE (target_flags & MASK_STACK_PROBE)
#define TARGET_SWITCHES \
{ { "80387", MASK_80387 }, \
@@ -202,6 +204,8 @@ extern int target_flags;
{ "no-move", MASK_NO_MOVE }, \
{ "debug-arg", MASK_DEBUG_ARG }, \
{ "no-debug-arg", -MASK_DEBUG_ARG }, \
+ { "stack-arg-probe", MASK_STACK_PROBE }, \
+ { "no-stack-arg-probe", -MASK_STACK_PROBE }, \
SUBTARGET_SWITCHES \
{ "", MASK_SCHEDULE_PROLOGUE | TARGET_DEFAULT}}