src/cpu/x86/vm/c1_FrameMap_x86.hpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
c1-coops Cdiff src/cpu/x86/vm/c1_FrameMap_x86.hpp
src/cpu/x86/vm/c1_FrameMap_x86.hpp
Print this page
*** 124,128 ****
--- 124,140 ----
static LIR_Opr caller_save_xmm_reg_at(int i) {
assert(i >= 0 && i < nof_caller_save_xmm_regs, "out of bounds");
return _caller_save_xmm_regs[i];
}
+
+ // The amount of allocatable registers can change depending
+ // on whether compressed oops are on.
+ static int cpu_reg_range_reduction() {
+ #ifdef _LP64
+ if (UseCompressedOops) {
+ // Reducing the allocatable range by 1 effectively excluding r12.
+ return 1;
+ }
+ #endif
+ return 0;
+ }
src/cpu/x86/vm/c1_FrameMap_x86.hpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File