< prev index next >
src/hotspot/cpu/x86/c1_LinearScan_x86.cpp
Print this page
@@ -26,10 +26,15 @@
#include "c1/c1_Instruction.hpp"
#include "c1/c1_LinearScan.hpp"
#include "utilities/bitMap.inline.hpp"
+#ifdef _LP64
+void LinearScan::allocate_fpu_stack() {
+ // No FPU stack used on x86-64
+}
+#else
//----------------------------------------------------------------------
// Allocation of FPU stack slots (Intel x86 only)
//----------------------------------------------------------------------
void LinearScan::allocate_fpu_stack() {
@@ -813,16 +818,10 @@
}
#ifndef PRODUCT
void FpuStackAllocator::check_invalid_lir_op(LIR_Op* op) {
switch (op->code()) {
- case lir_24bit_FPU:
- case lir_reset_FPU:
- case lir_ffree:
- assert(false, "operations not allowed in lir. If one of these operations is needed, check if they have fpu operands");
- break;
-
case lir_fpop_raw:
case lir_fxch:
case lir_fld:
assert(false, "operations only inserted by FpuStackAllocator");
break;
@@ -1137,5 +1136,6 @@
}
#endif
return changed;
}
+#endif // _LP64
< prev index next >