Reviewers: Søren Gjesse,
Description:
Fix no sse3 support by correctly allocating temp register
Please review this at http://codereview.chromium.org/5534004/
SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/
Affected files:
M src/ia32/lithium-ia32.cc
Index: src/ia32/lithium-ia32.cc
===================================================================
--- src/ia32/lithium-ia32.cc (revision 5923)
+++ src/ia32/lithium-ia32.cc (working copy)
@@ -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