src/os_cpu/aix_ppc/vm/prefetch_aix_ppc.inline.hpp

changeset 7424
c5e86c5cd22e
parent 0
f90c822e73f8
equal deleted inserted replaced
7423:28f116adb50c 7424:c5e86c5cd22e
21 * or visit www.oracle.com if you need additional information or have any 21 * or visit www.oracle.com if you need additional information or have any
22 * questions. 22 * questions.
23 * 23 *
24 */ 24 */
25 25
26 #ifndef OS_CPU_AIX_PPC_64_VM_PREFETCH_AIX_PPC_64_INLINE_HPP 26 #ifndef OS_CPU_AIX_PPC_VM_PREFETCH_AIX_PPC_INLINE_HPP
27 #define OS_CPU_AIX_PPC_64_VM_PREFETCH_AIX_PPC_64_INLINE_HPP 27 #define OS_CPU_AIX_PPC_VM_PREFETCH_AIX_PPC_INLINE_HPP
28 28
29 #include "runtime/prefetch.hpp" 29 #include "runtime/prefetch.hpp"
30 30
31 31
32 inline void Prefetch::read(void *loc, intx interval) { 32 inline void Prefetch::read(void *loc, intx interval) {
53 #else 53 #else
54 __dcbtst( ((address)loc) +((long)interval) ); 54 __dcbtst( ((address)loc) +((long)interval) );
55 #endif 55 #endif
56 } 56 }
57 57
58 #endif // OS_CPU_AIX_PPC_64_VM_PREFETCH_AIX_PPC_64_INLINE_HPP 58 #endif // OS_CPU_AIX_PPC_VM_PREFETCH_AIX_PPC_INLINE_HPP

mercurial