Mercurial > hg > graal-compiler
comparison src/share/vm/runtime/sharedRuntime.cpp @ 14390:0f03ff49c720
8016491: PPC64 (part 2): Clean up PPC defines.
Summary: Distinguish PPC, PPC64 and PPC32. PPC should guard code needed on any PPC system. PPC32 and PPC64 should guard code needed in a port for the ppc64 or ppc32 instruction set.
Reviewed-by: kvn
author | goetz |
---|---|
date | Wed, 19 Jun 2013 12:29:30 +0200 |
parents | f0bc60565ba8 |
children | b5c8a61d7fa0 |
comparison
equal
deleted
inserted
replaced
14389:164db61dbced | 14390:0f03ff49c720 |
---|---|
404 return (f <= (double)0.0) ? (double)0.0 - f : f; | 404 return (f <= (double)0.0) ? (double)0.0 - f : f; |
405 } | 405 } |
406 | 406 |
407 #endif | 407 #endif |
408 | 408 |
409 #if defined(__SOFTFP__) || defined(PPC) | 409 #if defined(__SOFTFP__) || defined(PPC32) |
410 double SharedRuntime::dsqrt(double f) { | 410 double SharedRuntime::dsqrt(double f) { |
411 return sqrt(f); | 411 return sqrt(f); |
412 } | 412 } |
413 #endif | 413 #endif |
414 | 414 |