Mercurial > hg > graal-compiler
comparison src/cpu/ppc/vm/globals_ppc.hpp @ 14445:67fa91961822
8029940: PPC64 (part 122): C2 compiler port
Reviewed-by: kvn
author | goetz |
---|---|
date | Wed, 11 Dec 2013 00:06:11 +0100 |
parents | 41b780b43b74 |
children |
comparison
equal
deleted
inserted
replaced
14444:492e67693373 | 14445:67fa91961822 |
---|---|
60 | 60 |
61 define_pd_global(uintx, TypeProfileLevel, 0); | 61 define_pd_global(uintx, TypeProfileLevel, 0); |
62 | 62 |
63 // Platform dependent flag handling: flags only defined on this platform. | 63 // Platform dependent flag handling: flags only defined on this platform. |
64 #define ARCH_FLAGS(develop, product, diagnostic, experimental, notproduct) \ | 64 #define ARCH_FLAGS(develop, product, diagnostic, experimental, notproduct) \ |
65 \ | |
66 /* Load poll address from thread. This is used to implement per-thread */ \ | |
67 /* safepoints on platforms != IA64. */ \ | |
68 product(bool, LoadPollAddressFromThread, false, \ | |
69 "Load polling page address from thread object (required for " \ | |
70 "per-thread safepoints on platforms != IA64)") \ | |
71 \ | |
65 product(uintx, PowerArchitecturePPC64, 0, \ | 72 product(uintx, PowerArchitecturePPC64, 0, \ |
66 "CPU Version: x for PowerX. Currently recognizes Power5 to " \ | 73 "CPU Version: x for PowerX. Currently recognizes Power5 to " \ |
67 "Power7. Default is 0. CPUs newer than Power7 will be " \ | 74 "Power7. Default is 0. CPUs newer than Power7 will be " \ |
68 "recognized as Power7.") \ | 75 "recognized as Power7.") \ |
69 \ | 76 \ |
86 product(bool, UseRotateAndMaskInstructionsPPC64, true, \ | 93 product(bool, UseRotateAndMaskInstructionsPPC64, true, \ |
87 "Use rotate and mask instructions.") \ | 94 "Use rotate and mask instructions.") \ |
88 \ | 95 \ |
89 product(bool, UseStaticBranchPredictionInCompareAndSwapPPC64, true, \ | 96 product(bool, UseStaticBranchPredictionInCompareAndSwapPPC64, true, \ |
90 "Use static branch prediction hints in CAS operations.") \ | 97 "Use static branch prediction hints in CAS operations.") \ |
98 product(bool, UseStaticBranchPredictionForUncommonPathsPPC64, false, \ | |
99 "Use static branch prediction hints for uncommon paths.") \ | |
100 \ | |
101 product(bool, UsePower6SchedulerPPC64, false, \ | |
102 "Use Power6 Scheduler.") \ | |
103 \ | |
104 product(bool, InsertEndGroupPPC64, false, \ | |
105 "Insert EndGroup instructions to optimize for Power6.") \ | |
91 \ | 106 \ |
92 /* Trap based checks. */ \ | 107 /* Trap based checks. */ \ |
93 /* Trap based checks use the ppc trap instructions to check certain */ \ | 108 /* Trap based checks use the ppc trap instructions to check certain */ \ |
94 /* conditions. This instruction raises a SIGTRAP caught by the */ \ | 109 /* conditions. This instruction raises a SIGTRAP caught by the */ \ |
95 /* exception handler of the VM. */ \ | 110 /* exception handler of the VM. */ \ |
106 \ | 121 \ |
107 product(bool, ZapMemory, false, "Write 0x0101... to empty memory." \ | 122 product(bool, ZapMemory, false, "Write 0x0101... to empty memory." \ |
108 " Use this to ease debugging.") \ | 123 " Use this to ease debugging.") \ |
109 | 124 |
110 | 125 |
111 | |
112 #endif // CPU_PPC_VM_GLOBALS_PPC_HPP | 126 #endif // CPU_PPC_VM_GLOBALS_PPC_HPP |