< prev index next >

src/hotspot/os_cpu/linux_aarch64/prefetch_linux_aarch64.inline.hpp

Print this page

        

*** 28,42 **** --- 28,46 ---- #include "runtime/prefetch.hpp" inline void Prefetch::read (void *loc, intx interval) { + #ifndef BUILTIN_SIM if (interval >= 0) asm("prfm PLDL1KEEP, [%0, %1]" : : "r"(loc), "r"(interval)); + #endif } inline void Prefetch::write(void *loc, intx interval) { + #ifndef BUILTIN_SIM if (interval >= 0) asm("prfm PSTL1KEEP, [%0, %1]" : : "r"(loc), "r"(interval)); + #endif } #endif // OS_CPU_LINUX_AARCH64_PREFETCH_LINUX_AARCH64_INLINE_HPP
< prev index next >