Index: src/compiler/mips/code-generator-mips.cc |
diff --git a/src/compiler/mips/code-generator-mips.cc b/src/compiler/mips/code-generator-mips.cc |
index 610df178d5f1bd8a6462c1b66941d8c0e0a88c85..7a8e3a5f079cbe04138fe9b06084ce5ace1da909 100644 |
--- a/src/compiler/mips/code-generator-mips.cc |
+++ b/src/compiler/mips/code-generator-mips.cc |
@@ -1262,52 +1262,36 @@ CodeGenerator::CodeGenResult CodeGenerator::AssembleArchInstruction( |
FPURegister dst = i.OutputSingleRegister(); |
FPURegister src1 = i.InputSingleRegister(0); |
FPURegister src2 = i.InputSingleRegister(1); |
- if (src1.is(src2)) { |
- __ Move_s(dst, src1); |
- } else { |
- auto ool = new (zone()) OutOfLineFloat32Max(this, dst, src1, src2); |
- __ Float32Max(dst, src1, src2, ool->entry()); |
- __ bind(ool->exit()); |
- } |
+ auto ool = new (zone()) OutOfLineFloat32Max(this, dst, src1, src2); |
+ __ Float32Max(dst, src1, src2, ool->entry()); |
+ __ bind(ool->exit()); |
break; |
} |
case kMipsFloat64Max: { |
DoubleRegister dst = i.OutputDoubleRegister(); |
DoubleRegister src1 = i.InputDoubleRegister(0); |
DoubleRegister src2 = i.InputDoubleRegister(1); |
- if (src1.is(src2)) { |
- __ Move_d(dst, src1); |
- } else { |
- auto ool = new (zone()) OutOfLineFloat64Max(this, dst, src1, src2); |
- __ Float64Max(dst, src1, src2, ool->entry()); |
- __ bind(ool->exit()); |
- } |
+ auto ool = new (zone()) OutOfLineFloat64Max(this, dst, src1, src2); |
+ __ Float64Max(dst, src1, src2, ool->entry()); |
+ __ bind(ool->exit()); |
break; |
} |
case kMipsFloat32Min: { |
FPURegister dst = i.OutputSingleRegister(); |
FPURegister src1 = i.InputSingleRegister(0); |
FPURegister src2 = i.InputSingleRegister(1); |
- if (src1.is(src2)) { |
- __ Move_s(dst, src1); |
- } else { |
- auto ool = new (zone()) OutOfLineFloat32Min(this, dst, src1, src2); |
- __ Float32Min(dst, src1, src2, ool->entry()); |
- __ bind(ool->exit()); |
- } |
+ auto ool = new (zone()) OutOfLineFloat32Min(this, dst, src1, src2); |
+ __ Float32Min(dst, src1, src2, ool->entry()); |
+ __ bind(ool->exit()); |
break; |
} |
case kMipsFloat64Min: { |
DoubleRegister dst = i.OutputDoubleRegister(); |
DoubleRegister src1 = i.InputDoubleRegister(0); |
DoubleRegister src2 = i.InputDoubleRegister(1); |
- if (src1.is(src2)) { |
- __ Move_d(dst, src1); |
- } else { |
- auto ool = new (zone()) OutOfLineFloat64Min(this, dst, src1, src2); |
- __ Float64Min(dst, src1, src2, ool->entry()); |
- __ bind(ool->exit()); |
- } |
+ auto ool = new (zone()) OutOfLineFloat64Min(this, dst, src1, src2); |
+ __ Float64Min(dst, src1, src2, ool->entry()); |
+ __ bind(ool->exit()); |
break; |
} |
case kMipsCvtSD: { |