< prev index next >

src/hotspot/os_cpu/linux_x86/prefetch_linux_x86.inline.hpp

Print this page
@@ -32,10 +32,16 @@
  #ifdef AMD64
    __asm__ ("prefetcht0 (%0,%1,1)" : : "r" (loc), "r" (interval));
  #endif // AMD64
  }
  
+ inline void Prefetch::read_streaming(void *loc, intx interval) {
+ #ifdef AMD64
+   __asm__ ("prefetchnta (%0,%1,1)" : : "r" (loc), "r" (interval));
+ #endif // AMD64
+ }
+ 
  inline void Prefetch::write(void *loc, intx interval) {
  #ifdef AMD64
  
    // Do not use the 3dnow prefetchw instruction.  It isn't supported on em64t.
    //  __asm__ ("prefetchw (%0,%1,1)" : : "r" (loc), "r" (interval));
< prev index next >