This is the mail archive of the gcc-help@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]

Re: Disabling cache for some data


Hi Claudio,

What "cache" are you referring?  In register optimization as a "cache"?
CPU's L1 cache?  RAM's L2 cache?  FSB L3 cache?

Is the memory array cache declared as volatile in the code?

Do you need to use a memory barrier to invalidate the cache?

HTH,
--Eljay


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