< prev index next >
src/cpu/x86/vm/c1_LinearScan_x86.hpp
Print this page
*** 65,77 ****
}
inline void LinearScan::pd_add_temps(LIR_Op* op) {
switch (op->code()) {
! case lir_tan:
! case lir_sin:
! case lir_cos: {
// The slow path for these functions may need to save and
// restore all live registers but we don't want to save and
// restore everything all the time, so mark the xmms as being
// killed. If the slow path were explicit or we could propagate
// live register masks down to the assembly we could do better
--- 65,75 ----
}
inline void LinearScan::pd_add_temps(LIR_Op* op) {
switch (op->code()) {
! case lir_tan:{
// The slow path for these functions may need to save and
// restore all live registers but we don't want to save and
// restore everything all the time, so mark the xmms as being
// killed. If the slow path were explicit or we could propagate
// live register masks down to the assembly we could do better
*** 117,127 ****
}
return false;
}
-
class FpuStackAllocator VALUE_OBJ_CLASS_SPEC {
private:
Compilation* _compilation;
LinearScan* _allocator;
--- 115,124 ----
< prev index next >