comparison src/os_cpu/linux_zero/vm/os_linux_zero.hpp @ 18041:52b4284cb496

Merge with jdk8u20-b26
author Gilles Duboscq <duboscq@ssw.jku.at>
date Wed, 15 Oct 2014 16:02:50 +0200
parents 4ca6dc0799b6
children
comparison
equal deleted inserted replaced
17606:45d7b2c7029d 18041:52b4284cb496
34 // Note: Currently only used in 64 bit Windows implementations 34 // Note: Currently only used in 64 bit Windows implementations
35 static bool register_code_area(char *low, char *high) { return true; } 35 static bool register_code_area(char *low, char *high) { return true; }
36 36
37 // Atomically copy 64 bits of data 37 // Atomically copy 64 bits of data
38 static void atomic_copy64(volatile void *src, volatile void *dst) { 38 static void atomic_copy64(volatile void *src, volatile void *dst) {
39 #if defined(PPC) && !defined(_LP64) 39 #if defined(PPC32)
40 double tmp; 40 double tmp;
41 asm volatile ("lfd %0, 0(%1)\n" 41 asm volatile ("lfd %0, 0(%1)\n"
42 "stfd %0, 0(%2)\n" 42 "stfd %0, 0(%2)\n"
43 : "=f"(tmp) 43 : "=f"(tmp)
44 : "b"(src), "b"(dst)); 44 : "b"(src), "b"(dst));