Get rid of x87 in ia32 LCodeGen::DoBranch
Review URL: https://codereview.chromium.org/12208044 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13640 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
5aafde9285
commit
d55650164c
@ -2070,9 +2070,8 @@ void LCodeGen::DoBranch(LBranch* instr) {
|
||||
__ cmp(FieldOperand(reg, HeapObject::kMapOffset),
|
||||
factory()->heap_number_map());
|
||||
__ j(not_equal, ¬_heap_number, Label::kNear);
|
||||
__ fldz();
|
||||
__ fld_d(FieldOperand(reg, HeapNumber::kValueOffset));
|
||||
__ FCmp();
|
||||
__ xorps(xmm0, xmm0);
|
||||
__ ucomisd(xmm0, FieldOperand(reg, HeapNumber::kValueOffset));
|
||||
__ j(zero, false_label);
|
||||
__ jmp(true_label);
|
||||
__ bind(¬_heap_number);
|
||||
|
Loading…
Reference in New Issue
Block a user