equal
deleted
inserted
replaced
65 } |
65 } |
66 |
66 |
67 |
67 |
68 inline void LinearScan::pd_add_temps(LIR_Op* op) { |
68 inline void LinearScan::pd_add_temps(LIR_Op* op) { |
69 switch (op->code()) { |
69 switch (op->code()) { |
70 case lir_tan: |
70 case lir_tan: { |
71 case lir_sin: |
|
72 case lir_cos: { |
|
73 // The slow path for these functions may need to save and |
71 // The slow path for these functions may need to save and |
74 // restore all live registers but we don't want to save and |
72 // restore all live registers but we don't want to save and |
75 // restore everything all the time, so mark the xmms as being |
73 // restore everything all the time, so mark the xmms as being |
76 // killed. If the slow path were explicit or we could propagate |
74 // killed. If the slow path were explicit or we could propagate |
77 // live register masks down to the assembly we could do better |
75 // live register masks down to the assembly we could do better |