Revision: 19924
Author: [email protected]
Date: Fri Mar 14 10:18:57 2014 UTC
Log: Fixed modulo by a power of 2 on A64.
Actually setting flags before checking them might be a good idea... :-/
[email protected]
Review URL: https://codereview.chromium.org/200113003
http://code.google.com/p/v8/source/detail?r=19924
Modified:
/branches/bleeding_edge/src/a64/lithium-codegen-a64.cc
=======================================
--- /branches/bleeding_edge/src/a64/lithium-codegen-a64.cc Thu Mar 13
14:56:57 2014 UTC
+++ /branches/bleeding_edge/src/a64/lithium-codegen-a64.cc Fri Mar 14
10:18:57 2014 UTC
@@ -4139,7 +4139,7 @@
// Note that this is correct even for kMinInt operands.
__ Neg(dividend, dividend);
__ And(dividend, dividend, Operand(mask));
- __ Neg(dividend, dividend);
+ __ Negs(dividend, dividend);
if (hmod->CheckFlag(HValue::kBailoutOnMinusZero)) {
DeoptimizeIf(eq, instr->environment());
}
--
--
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/d/optout.