How do declare a memory range as uncacheable using gcc on x86 platform?
问题 Although I have read about movntdqa instructions regarding this but have figured out a clean way to express a memory range uncacheable or read data so as to not pollute the cache. I want to do this from gcc. My main goal is to swap to random locations in an large array. Hoping to accelerate this operation by avoiding caching since there is very little data resue. 回答1: I think what you're describing is Memory Type Range Registers. You can control these under Linux (if available and you're user