| Index: src/mips/constants-mips.h
|
| diff --git a/src/mips/constants-mips.h b/src/mips/constants-mips.h
|
| index e7c55f5806210aec0981f0012a212f182b947b42..139e7db033c555adf6426674ac477bc21f190c25 100644
|
| --- a/src/mips/constants-mips.h
|
| +++ b/src/mips/constants-mips.h
|
| @@ -429,7 +429,9 @@ enum SecondaryField {
|
|
|
| // ----- Emulated conditions.
|
| // On MIPS we use this enum to abstract from conditionnal branch instructions.
|
| -// the 'U' prefix is used to specify unsigned comparisons.
|
| +// The 'U' prefix is used to specify unsigned comparisons.
|
| +// Oppposite conditions must be paired as odd/even numbers
|
| +// because 'NegateCondition' function flips LSB to negate condition.
|
| enum Condition {
|
| // Any value < 0 is considered no_condition.
|
| kNoCondition = -1,
|
| @@ -450,8 +452,10 @@ enum Condition {
|
| greater_equal = 13,
|
| less_equal = 14,
|
| greater = 15,
|
| + ueq = 16, // Unordered or Equal.
|
| + nue = 17, // Not (Unordered or Equal).
|
|
|
| - cc_always = 16,
|
| + cc_always = 18,
|
|
|
| // Aliases.
|
| carry = Uless,
|
|
|