src/hotspot/os_cpu/linux_arm/prefetch_linux_arm.inline.hpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
open Cdiff src/hotspot/os_cpu/linux_arm/prefetch_linux_arm.inline.hpp
src/hotspot/os_cpu/linux_arm/prefetch_linux_arm.inline.hpp
Print this page
*** 26,48 ****
#define OS_CPU_LINUX_ARM_VM_PREFETCH_LINUX_ARM_INLINE_HPP
#include "runtime/prefetch.hpp"
inline void Prefetch::read (void *loc, intx interval) {
- #ifdef AARCH64
- __asm__ volatile ("prfm PLDL1KEEP, [%0]" : : "r" (loc));
- #else
#if defined(__ARM_ARCH_7A__) || defined(__ARM_ARCH_6__) || defined(__ARM_ARCH_5TE__)
__asm__ volatile ("pld [%0]" : : "r" (loc));
#endif
- #endif // AARCH64
}
inline void Prefetch::write(void *loc, intx interval) {
- #ifdef AARCH64
- __asm__ volatile ("prfm PSTL1KEEP, [%0]" : : "r" (loc));
- #else
// Not available on 32-bit ARM (prior to ARMv7 with MP extensions)
- #endif // AARCH64
}
#endif // OS_CPU_LINUX_ARM_VM_PREFETCH_LINUX_ARM_INLINE_HPP
--- 26,40 ----
src/hotspot/os_cpu/linux_arm/prefetch_linux_arm.inline.hpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File