src/cpu/sparc/vm/c1_FrameMap_sparc.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File 6930772 Sdiff src/cpu/sparc/vm

src/cpu/sparc/vm/c1_FrameMap_sparc.hpp

Print this page




 126   static LIR_Opr as_long_opr(Register r) {
 127     return LIR_OprFact::double_cpu(cpu_reg2rnr(r->successor()), cpu_reg2rnr(r));
 128   }
 129   static LIR_Opr as_pointer_opr(Register r) {
 130     return as_opr(r);
 131   }
 132 #endif
 133   static LIR_Opr as_float_opr(FloatRegister r) {
 134     return LIR_OprFact::single_fpu(r->encoding());
 135   }
 136   static LIR_Opr as_double_opr(FloatRegister r) {
 137     return LIR_OprFact::double_fpu(r->successor()->encoding(), r->encoding());
 138   }
 139 
 140   static FloatRegister nr2floatreg (int rnr);
 141 
 142   static VMReg fpu_regname (int n);
 143 
 144   static bool is_caller_save_register (LIR_Opr  reg);
 145   static bool is_caller_save_register (Register r);
 146 
 147   // JSR 292
 148   static LIR_Opr& method_handle_invoke_SP_save_opr() { return L7_opr; }


 126   static LIR_Opr as_long_opr(Register r) {
 127     return LIR_OprFact::double_cpu(cpu_reg2rnr(r->successor()), cpu_reg2rnr(r));
 128   }
 129   static LIR_Opr as_pointer_opr(Register r) {
 130     return as_opr(r);
 131   }
 132 #endif
 133   static LIR_Opr as_float_opr(FloatRegister r) {
 134     return LIR_OprFact::single_fpu(r->encoding());
 135   }
 136   static LIR_Opr as_double_opr(FloatRegister r) {
 137     return LIR_OprFact::double_fpu(r->successor()->encoding(), r->encoding());
 138   }
 139 
 140   static FloatRegister nr2floatreg (int rnr);
 141 
 142   static VMReg fpu_regname (int n);
 143 
 144   static bool is_caller_save_register (LIR_Opr  reg);
 145   static bool is_caller_save_register (Register r);



src/cpu/sparc/vm/c1_FrameMap_sparc.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File