mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8016491: PPC64 (part 2): Clean up PPC defines
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
This commit is contained in:
parent
5ecd1c9655
commit
036382cefd
11 changed files with 34 additions and 14 deletions
|
@ -186,7 +186,7 @@ const char* Abstract_VM_Version::jre_release_version() {
|
|||
IA64_ONLY("ia64") \
|
||||
AMD64_ONLY("amd64") \
|
||||
ARM_ONLY("arm") \
|
||||
PPC_ONLY("ppc") \
|
||||
PPC32_ONLY("ppc") \
|
||||
SPARC_ONLY("sparc")
|
||||
#endif // ZERO
|
||||
|
||||
|
@ -248,7 +248,7 @@ const char* Abstract_VM_Version::internal_vm_info_string() {
|
|||
#define FLOAT_ARCH_STR "-e500v2"
|
||||
#elif defined(ARM)
|
||||
#define FLOAT_ARCH_STR "-vfp"
|
||||
#elif defined(PPC)
|
||||
#elif defined(PPC32)
|
||||
#define FLOAT_ARCH_STR "-hflt"
|
||||
#else
|
||||
#define FLOAT_ARCH_STR ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue