hotspot/src/cpu/x86/vm/stubGenerator_x86_32.cpp
changeset 12739 09f26b73ae66
parent 11439 7af64224c70b
child 13391 30245956af37
equal deleted inserted replaced
12623:09fcb0dc71ad 12739:09f26b73ae66
  2134 
  2134 
  2135       __ fld_d(Address(rsp, 4));
  2135       __ fld_d(Address(rsp, 4));
  2136       __ trigfunc('t');
  2136       __ trigfunc('t');
  2137       __ ret(0);
  2137       __ ret(0);
  2138     }
  2138     }
  2139 
  2139     {
  2140     // The intrinsic version of these seem to return the same value as
  2140       StubCodeMark mark(this, "StubRoutines", "exp");
  2141     // the strict version.
  2141       StubRoutines::_intrinsic_exp = (double (*)(double)) __ pc();
  2142     StubRoutines::_intrinsic_exp = SharedRuntime::dexp;
  2142 
  2143     StubRoutines::_intrinsic_pow = SharedRuntime::dpow;
  2143       __ fld_d(Address(rsp, 4));
       
  2144       __ exp_with_fallback(0);
       
  2145       __ ret(0);
       
  2146     }
       
  2147     {
       
  2148       StubCodeMark mark(this, "StubRoutines", "pow");
       
  2149       StubRoutines::_intrinsic_pow = (double (*)(double,double)) __ pc();
       
  2150 
       
  2151       __ fld_d(Address(rsp, 12));
       
  2152       __ fld_d(Address(rsp, 4));
       
  2153       __ pow_with_fallback(0);
       
  2154       __ ret(0);
       
  2155     }
  2144   }
  2156   }
  2145 
  2157 
  2146  public:
  2158  public:
  2147   // Information about frame layout at time of blocking runtime call.
  2159   // Information about frame layout at time of blocking runtime call.
  2148   // Note that we only have to preserve callee-saved registers since
  2160   // Note that we only have to preserve callee-saved registers since