| Index: src/compiler/mips/instruction-selector-mips.cc
|
| diff --git a/src/compiler/mips/instruction-selector-mips.cc b/src/compiler/mips/instruction-selector-mips.cc
|
| index 8f2f6b212892d302eaa9bffd65a93d2877fd20e1..3c4b378553e69a9e66060fcff69dfaafb2971062 100644
|
| --- a/src/compiler/mips/instruction-selector-mips.cc
|
| +++ b/src/compiler/mips/instruction-selector-mips.cc
|
| @@ -402,6 +402,19 @@ void InstructionSelector::VisitTruncateFloat64ToInt32(Node* node) {
|
| }
|
|
|
|
|
| +void InstructionSelector::VisitBitcastFloat32ToInt32(Node* node) {
|
| + VisitRR(this, kMipsFloat64ExtractLowWord32, node);
|
| +}
|
| +
|
| +
|
| +void InstructionSelector::VisitBitcastInt32ToFloat32(Node* node) {
|
| + MipsOperandGenerator g(this);
|
| + Emit(kMipsFloat64InsertLowWord32, g.DefineAsRegister(node),
|
| + ImmediateOperand(ImmediateOperand::INLINE, 0),
|
| + g.UseRegister(node->InputAt(0)));
|
| +}
|
| +
|
| +
|
| void InstructionSelector::VisitFloat32Add(Node* node) {
|
| VisitRRR(this, kMipsAddS, node);
|
| }
|
|
|