__builtin_prefetch

Paul Koning pkoning@equallogic.com
Wed Jan 9 16:19:00 GMT 2002


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



More information about the Gcc mailing list