hotspot/src/cpu/x86/vm/c1_LinearScan_x86.hpp
changeset 35540 e001ad24dcdb
parent 30624 2e1803c8a26d
child 41331 ec5e0ea52c77
equal deleted inserted replaced
35539:9a687b686976 35540:e001ad24dcdb
    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