comparison src/os_cpu/bsd_zero/vm/os_bsd_zero.hpp @ 14909:4ca6dc0799b6

Backout jdk9 merge
author Gilles Duboscq <duboscq@ssw.jku.at>
date Tue, 01 Apr 2014 13:57:07 +0200
parents 0f03ff49c720
children 52b4284cb496
comparison
equal deleted inserted replaced
14908:8db6e76cb658 14909:4ca6dc0799b6
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(PPC32) 39 #if defined(PPC) && !defined(_LP64)
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));