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
This commit is contained in:
parent
a0f80eddde
commit
84bd2a5f72
@ -278,7 +278,7 @@ void MacroAssembler::TruncateHeapNumberToI(Register result_reg,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void MacroAssembler::LoadUint32NoSSE2(Register src) {
|
void MacroAssembler::LoadUint32NoSSE2(const Operand& src) {
|
||||||
Label done;
|
Label done;
|
||||||
push(src);
|
push(src);
|
||||||
fild_s(Operand(esp, 0));
|
fild_s(Operand(esp, 0));
|
||||||
|
@ -457,7 +457,10 @@ class MacroAssembler: public Assembler {
|
|||||||
j(not_carry, is_smi);
|
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.
|
// Jump the register contains a smi.
|
||||||
inline void JumpIfSmi(Register value,
|
inline void JumpIfSmi(Register value,
|
||||||
|
Loading…
Reference in New Issue
Block a user