Revision: 13640
Author: [email protected]
Date: Mon Feb 11 06:44:25 2013
Log: Get rid of x87 in ia32 LCodeGen::DoBranch
Review URL: https://codereview.chromium.org/12208044
http://code.google.com/p/v8/source/detail?r=13640
Modified:
/branches/bleeding_edge/src/ia32/lithium-codegen-ia32.cc
=======================================
--- /branches/bleeding_edge/src/ia32/lithium-codegen-ia32.cc Fri Feb 8
09:32:47 2013
+++ /branches/bleeding_edge/src/ia32/lithium-codegen-ia32.cc Mon Feb 11
06:44:25 2013
@@ -2070,9 +2070,8 @@
__ 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);
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.