X87: [turbofan] IA: Uint32ToFloat64 supports mem operand.

port r24318.

original commit message:
  [turbofan] IA: Uint32ToFloat64 supports mem operand.

BUG=
R=weiliang.lin@intel.com

Review URL: https://codereview.chromium.org/640523002

Patch from Chunyang Dai <chunyang.dai@intel.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24446 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent a0f80edd
......@@ -278,7 +278,7 @@ void MacroAssembler::TruncateHeapNumberToI(Register result_reg,
}
void MacroAssembler::LoadUint32NoSSE2(Register src) {
void MacroAssembler::LoadUint32NoSSE2(const Operand& src) {
Label done;
push(src);
fild_s(Operand(esp, 0));
......
......@@ -457,7 +457,10 @@ class MacroAssembler: public Assembler {
j(not_carry, is_smi);
}
void LoadUint32NoSSE2(Register src);
void LoadUint32NoSSE2(Register src) {
LoadUint32NoSSE2(Operand(src));
}
void LoadUint32NoSSE2(const Operand& src);
// Jump the register contains a smi.
inline void JumpIfSmi(Register value,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment