summaryrefslogtreecommitdiff
path: root/config_h.SH
diff options
context:
space:
mode:
authorAndy Lester <andy@petdance.com>2005-12-28 09:34:08 -0600
committerH.Merijn Brand <h.m.brand@xs4all.nl>2006-03-03 16:40:57 +0000
commit635aebb78abd81c28ceb76ef8d65d262f3647e23 (patch)
treeec80fc685fc48b06bd71302b1beda1616ddcc90f /config_h.SH
parent964b4e64c4d43990c57a48ba8eca4e6454ba5693 (diff)
downloadperl-635aebb78abd81c28ceb76ef8d65d262f3647e23.tar.gz
Support for __builtin_expect and __builtin_choose_expr
Message-ID: <20051228213408.GB26033@petdance.com> p4raw-id: //depot/perl@27370
Diffstat (limited to 'config_h.SH')
-rw-r--r--config_h.SH10
1 files changed, 10 insertions, 0 deletions
diff --git a/config_h.SH b/config_h.SH
index 232152e70f..bf87d0a06e 100644
--- a/config_h.SH
+++ b/config_h.SH
@@ -3860,6 +3860,16 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
*/
#$d_aintl HAS_AINTL /**/
+/* HAS_BUILTIN_CHOOSE_EXPR:
+ * Can we handle GCC builtin for compile-time ternary-like expressions
+ */
+/* HAS_BUILTIN_EXPECT:
+ * Can we handle GCC builtin for telling that certain values are more
+ * likely
+ */
+#$d_builtin_expect HAS_BUILTIN_EXPECT /**/
+#$d_builtin_choose_expr HAS_BUILTIN_CHOOSE_EXPR /**/
+
/* HAS_CLEARENV:
* This symbol, if defined, indicates that the clearenv () routine is
* available for use.