Index: src/mips64/macro-assembler-mips64.cc |
diff --git a/src/mips64/macro-assembler-mips64.cc b/src/mips64/macro-assembler-mips64.cc |
index 280edf3a2407238df2abda21cc0485a68cf2de29..7096ba61e367cab3ae5196d59717d4ffa201cb55 100644 |
--- a/src/mips64/macro-assembler-mips64.cc |
+++ b/src/mips64/macro-assembler-mips64.cc |
@@ -1805,13 +1805,13 @@ void MacroAssembler::BranchFCommon(SecondaryField sizeField, Label* target, |
if (kArchVariant != kMips64r6) { |
if (long_branch) { |
Label skip; |
- c(UN, D, cmp1, cmp2); |
+ c(UN, sizeField, cmp1, cmp2); |
bc1f(&skip); |
nop(); |
J(nan, bd); |
bind(&skip); |
} else { |
- c(UN, D, cmp1, cmp2); |
+ c(UN, sizeField, cmp1, cmp2); |
bc1t(nan); |
if (bd == PROTECT) { |
nop(); |
@@ -1824,13 +1824,13 @@ void MacroAssembler::BranchFCommon(SecondaryField sizeField, Label* target, |
DCHECK(!cmp1.is(kDoubleCompareReg) && !cmp2.is(kDoubleCompareReg)); |
if (long_branch) { |
Label skip; |
- cmp(UN, L, kDoubleCompareReg, cmp1, cmp2); |
+ cmp(UN, sizeField, kDoubleCompareReg, cmp1, cmp2); |
bc1eqz(&skip, kDoubleCompareReg); |
nop(); |
J(nan, bd); |
bind(&skip); |
} else { |
- cmp(UN, L, kDoubleCompareReg, cmp1, cmp2); |
+ cmp(UN, sizeField, kDoubleCompareReg, cmp1, cmp2); |
bc1nez(nan, kDoubleCompareReg); |
if (bd == PROTECT) { |
nop(); |