Revision: 21815
Author: [email protected]
Date: Thu Jun 12 15:42:14 2014 UTC
Log: MIPS: Fix unsigned comparison.
TEST=mjsunit/regress/regress-3380
BUG=
[email protected]
Review URL: https://codereview.chromium.org/329223006
Patch from Balazs Kilvady <[email protected]>.
http://code.google.com/p/v8/source/detail?r=21815
Modified:
/branches/bleeding_edge/src/mips/macro-assembler-mips.cc
=======================================
--- /branches/bleeding_edge/src/mips/macro-assembler-mips.cc Tue Jun 10
09:24:00 2014 UTC
+++ /branches/bleeding_edge/src/mips/macro-assembler-mips.cc Thu Jun 12
15:42:14 2014 UTC
@@ -2114,7 +2114,7 @@
case Ugreater:
if (rt.imm32_ == 0) {
offset = shifted_branch_offset(L, false);
- bgtz(rs, offset);
+ bne(rs, zero_reg, offset);
} else {
ASSERT(!scratch.is(rs));
r2 = scratch;
--
--
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.