MIPS: Fix unsigned comparison.
TEST=mjsunit/regress/regress-3380 BUG= R=plind44@gmail.com Review URL: https://codereview.chromium.org/329223006 Patch from Balazs Kilvady <kilvadyb@homejinni.com>. git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21815 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
fd80653a4c
commit
5c96e2cff1
@ -2114,7 +2114,7 @@ void MacroAssembler::BranchShort(Label* L, Condition cond, Register rs,
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user