summaryrefslogtreecommitdiff
path: root/gcc/builtins.def
diff options
context:
space:
mode:
authorjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>2001-12-04 00:50:35 +0000
committerjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>2001-12-04 00:50:35 +0000
commit5e3608d85425f61a96a3ffb8cec184a80d2621e7 (patch)
tree40c85f3d7a5f7892b65417f4aa96b825f4936046 /gcc/builtins.def
parent9f449ed629f7865ec9fe91bf9d9d68e811450753 (diff)
downloadgcc-5e3608d85425f61a96a3ffb8cec184a80d2621e7.tar.gz
* builtin-types.def (BT_FN_VOID_PTR_INT_INT): New.
* builtins.def (BUILT_IN_PREFETCH): New. * builtins.c (expand_builtin_expect): New. (expand_builtin): Call it. * doc/extend.texi: Document __builtin_expect. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47582 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/builtins.def')
-rw-r--r--gcc/builtins.def3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/builtins.def b/gcc/builtins.def
index 204da8e09b7..ebb323f235d 100644
--- a/gcc/builtins.def
+++ b/gcc/builtins.def
@@ -336,6 +336,9 @@ DEF_GCC_BUILTIN(BUILT_IN_LONGJMP,
DEF_GCC_BUILTIN(BUILT_IN_TRAP,
"__builtin_trap",
BT_FN_VOID)
+DEF_GCC_BUILTIN(BUILT_IN_PREFETCH,
+ "__builtin_prefetch",
+ BT_FN_VOID_PTR_INT_INT)
/* Stdio builtins. */
DEF_FALLBACK_BUILTIN(BUILT_IN_PUTCHAR,