aboutsummaryrefslogtreecommitdiff
path: root/gcc/builtins.def
diff options
context:
space:
mode:
authorDavid Daney <ddaney@avtrex.com>2007-07-11 04:13:10 +0000
committerDavid Daney <daney@gcc.gnu.org>2007-07-11 04:13:10 +0000
commit677feb77ce2344d316c2026a4a1dd95677b5d39e (patch)
tree401faf6e2bf0facb662a8bc501c9a5f2f15df8ee /gcc/builtins.def
parent3a0e695acde4dc47332f6c22a93d2763e186b2f1 (diff)
downloadgcc-677feb77ce2344d316c2026a4a1dd95677b5d39e.zip
gcc-677feb77ce2344d316c2026a4a1dd95677b5d39e.tar.gz
gcc-677feb77ce2344d316c2026a4a1dd95677b5d39e.tar.bz2
builtins.def (BUILT_IN_CLEAR_CACHE): New builtin.
2007-07-10 David Daney <ddaney@avtrex.com> * builtins.def (BUILT_IN_CLEAR_CACHE): New builtin. * builtins.c (expand_builtin___clear_cache): New function. (expand_builtin): Call expand_builtin___clear_cache for BUILT_IN_CLEAR_CACHE case. * doc/extend.texi (__builtin___clear_cache): Document new builtin. * doc/md.texi (clear_cache): Document new instruction pattern. * testsuite/gcc.dg/builtins-64.c: New test. From-SVN: r126535
Diffstat (limited to 'gcc/builtins.def')
-rw-r--r--gcc/builtins.def3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/builtins.def b/gcc/builtins.def
index 7289fa6..dd06d4b 100644
--- a/gcc/builtins.def
+++ b/gcc/builtins.def
@@ -1,6 +1,6 @@
/* This file contains the definitions and documentation for the
builtins used in the GNU compiler.
- Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006
+ Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
Free Software Foundation, Inc.
This file is part of GCC.
@@ -609,6 +609,7 @@ DEF_GCC_BUILTIN (BUILT_IN_APPLY_ARGS, "apply_args", BT_FN_PTR_VAR, ATTR_N
DEF_GCC_BUILTIN (BUILT_IN_ARGS_INFO, "args_info", BT_FN_INT_INT, ATTR_NULL)
DEF_GCC_BUILTIN (BUILT_IN_BSWAP32, "bswap32", BT_FN_UINT32_UINT32, ATTR_CONST_NOTHROW_LIST)
DEF_GCC_BUILTIN (BUILT_IN_BSWAP64, "bswap64", BT_FN_UINT64_UINT64, ATTR_CONST_NOTHROW_LIST)
+DEF_EXT_LIB_BUILTIN (BUILT_IN_CLEAR_CACHE, "__clear_cache", BT_FN_VOID_PTR_PTR, ATTR_NOTHROW_LIST)
DEF_LIB_BUILTIN (BUILT_IN_CALLOC, "calloc", BT_FN_PTR_SIZE_SIZE, ATTR_MALLOC_NOTHROW_LIST)
DEF_GCC_BUILTIN (BUILT_IN_CLASSIFY_TYPE, "classify_type", BT_FN_INT_VAR, ATTR_NULL)
DEF_GCC_BUILTIN (BUILT_IN_CLZ, "clz", BT_FN_INT_UINT, ATTR_CONST_NOTHROW_LIST)