Index: src/mips/macro-assembler-mips.cc |
diff --git a/src/mips/macro-assembler-mips.cc b/src/mips/macro-assembler-mips.cc |
index 62d42fda88ad77450b68117f7aa987d25bb1b862..8f63b4f9f3b45cd441c97b9928410aab9361e048 100644 |
--- a/src/mips/macro-assembler-mips.cc |
+++ b/src/mips/macro-assembler-mips.cc |
@@ -1125,23 +1125,19 @@ void MacroAssembler::BranchF(Label* target, |
// have been handled by the caller. |
// Unsigned conditions are treated as their signed counterpart. |
switch (cc) { |
- case Uless: |
- case less: |
+ case lt: |
c(OLT, D, cmp1, cmp2); |
bc1t(target); |
break; |
- case Ugreater: |
- case greater: |
+ case gt: |
c(ULE, D, cmp1, cmp2); |
bc1f(target); |
break; |
- case Ugreater_equal: |
- case greater_equal: |
+ case ge: |
c(ULT, D, cmp1, cmp2); |
bc1f(target); |
break; |
- case Uless_equal: |
- case less_equal: |
+ case le: |
c(OLE, D, cmp1, cmp2); |
bc1t(target); |
break; |
@@ -1149,10 +1145,18 @@ void MacroAssembler::BranchF(Label* target, |
c(EQ, D, cmp1, cmp2); |
bc1t(target); |
break; |
+ case ueq: |
+ c(UEQ, D, cmp1, cmp2); |
+ bc1t(target); |
+ break; |
case ne: |
c(EQ, D, cmp1, cmp2); |
bc1f(target); |
break; |
+ case nue: |
+ c(UEQ, D, cmp1, cmp2); |
+ bc1f(target); |
+ break; |
default: |
CHECK(0); |
}; |