Revision: 5924
Author: [email protected]
Date: Tue Dec 7 03:53:11 2010
Log: Fix no sse3 support by correctly allocating temp register
Review URL: http://codereview.chromium.org/5534004
http://code.google.com/p/v8/source/detail?r=5924
Modified:
/branches/bleeding_edge/src/ia32/lithium-ia32.cc
=======================================
--- /branches/bleeding_edge/src/ia32/lithium-ia32.cc Tue Dec 7 03:31:57
2010
+++ /branches/bleeding_edge/src/ia32/lithium-ia32.cc Tue Dec 7 03:53:11
2010
@@ -1694,7 +1694,7 @@
bool needs_check = !instr->value()->type().IsSmi();
if (needs_check) {
LOperand* xmm_temp =
- (instr->CanTruncateToInt32()
&& !CpuFeatures::IsSupported(SSE3))
+ (instr->CanTruncateToInt32() && CpuFeatures::IsSupported(SSE3))
? NULL
: FixedTemp(xmm1);
LInstruction* res = new LTaggedToI(value, xmm_temp);
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev