This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
__builtin_prefetch
- From: Paul Koning <pkoning at equallogic dot com>
- To: gcc at gcc dot gnu dot org
- Date: Wed, 9 Jan 2002 17:35:04 -0500 (EST)
- Subject: __builtin_prefetch
Out of curiosity, why is the address argument of that builtin a void *
rather than a const void * ? For the read-only case, const void *
seems like the right thing, and even for the read-write case, it makes
sense because the prefetch itself (presumably) doesn't change the
object being prefetched.
paul