diff options
author | Paul Koning <pkoning@equallogic.com> | 2002-01-28 12:07:01 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2002-01-28 12:07:01 -0800 |
commit | 3bca17dda39ffb2511ae875670e9607188d1d61c (patch) | |
tree | 1ebd0b241fb11fb62245b14253bea99f3346382e /gcc/doc | |
parent | 4debe14deb949b6ba322c14fc63e457678cfda23 (diff) | |
download | gcc-3bca17dda39ffb2511ae875670e9607188d1d61c.tar.gz |
builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace BT_FN_VOID_PTR_VAR.
* builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace
BT_FN_VOID_PTR_VAR.
* builtins.def (BUILT_IN_PREFETCH): Change first argument to be const.
* doc/extend.texi (__builtin_prefetch): Update documentation:
first argument is now const void ptr.
* gcc.c-torture/execute/builtin-prefetch-1.c: Changed first
argument to __builtin_prefetch to be const ptr.
From-SVN: r49296
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/extend.texi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 48408332bc9..ad88a2a83af 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -4592,7 +4592,7 @@ if (__builtin_expect (ptr != NULL, 1)) when testing pointer or floating-point values. @end deftypefn -@deftypefn {Built-in Function} void __builtin_prefetch (void *@var{addr}, ...) +@deftypefn {Built-in Function} void __builtin_prefetch (const void *@var{addr}, ...) This function is used to minimize cache-miss latency by moving data into a cache before it is accessed. You can insert calls to @code{__builtin_prefetch} into code for which |