This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

__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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]