aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/target.def
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/target.def')
-rw-r--r--gcc-4.9/gcc/target.def37
1 files changed, 24 insertions, 13 deletions
diff --git a/gcc-4.9/gcc/target.def b/gcc-4.9/gcc/target.def
index 7bbc91d96..5dab85edd 100644
--- a/gcc-4.9/gcc/target.def
+++ b/gcc-4.9/gcc/target.def
@@ -3621,6 +3621,16 @@ supported by the target.",
unsigned HOST_WIDE_INT, (void),
NULL)
+/* Get frame pointer setting insn when flag_shrink_wrap_frame_pointer
+ is true. */
+DEFHOOK
+(set_fp_insn,
+ "When flag_shrink_wrap_frame_pointer is true, fp setting insn should\n\
+be generated inside function body. The insertion is done after CFA\n\
+information is known.",
+ rtx, (void),
+ default_set_fp_insn)
+
/* Functions relating to calls - argument passing, returns, etc. */
/* Members of struct call have no special macro prefix. */
HOOK_VECTOR (TARGET_CALLS, calls)
@@ -4684,6 +4694,14 @@ five otherwise. This is best for most machines.",
unsigned int, (void),
default_case_values_threshold)
+/* Return true if a function is a leaf and its frame pointer can be omitted. */
+DEFHOOK
+(can_omit_leaf_frame_pointer,
+ "This target hook will return @code{true} if a function is a leaf function and\n\
+its frame pointer can be omitted on the target.",
+ bool, (void),
+ hook_bool_void_false)
+
/* Retutn true if a function must have and use a frame pointer. */
DEFHOOK
(frame_pointer_required,
@@ -5352,19 +5370,6 @@ for the primary source file, immediately after printing\n\
this to be done. The default is false.",
bool, false)
-/* True if the target is allowed to reorder memory accesses unless
- synchronization is explicitly requested. */
-DEFHOOKPOD
-(relaxed_ordering,
- "If set to @code{true}, means that the target's memory model does not\n\
-guarantee that loads which do not depend on one another will access\n\
-main memory in the order of the instruction stream; if ordering is\n\
-important, an explicit memory barrier must be used. This is true of\n\
-many recent processors which implement a policy of ``relaxed,''\n\
-``weak,'' or ``release'' memory consistency, such as Alpha, PowerPC,\n\
-and ia64. The default is @code{false}.",
- bool, false)
-
/* Returns true if we should generate exception tables for use with the
ARM EABI. The effects the encoding of function exception specifications. */
DEFHOOKPOD
@@ -5399,6 +5404,12 @@ DEFHOOKPOD
This usually means it will be run as part of machine-specific reorg.",
bool, false)
+DEFHOOKPOD
+(strict_align,
+ "True if it is beneficial to try stricter function \
+ or loop alignment on the target.",
+ bool, false)
+
/* Leave the boolean fields at the end. */
/* Close the 'struct gcc_target' definition. */