Index: src/compiler/mips64/instruction-selector-mips64.cc |
diff --git a/src/compiler/mips64/instruction-selector-mips64.cc b/src/compiler/mips64/instruction-selector-mips64.cc |
index aba81d5d9d335f7967948814d136289684d7392c..6a8d7420e0c982d9ba90f6f3d76e425479d5a1a8 100644 |
--- a/src/compiler/mips64/instruction-selector-mips64.cc |
+++ b/src/compiler/mips64/instruction-selector-mips64.cc |
@@ -1137,6 +1137,38 @@ void InstructionSelector::VisitFloat64LessThanOrEqual(Node* node) { |
} |
+void InstructionSelector::VisitFloat64ExtractLowWord32(Node* node) { |
+ Mips64OperandGenerator g(this); |
+ Emit(kMips64FmoveLowUwD, g.DefineAsRegister(node), |
+ g.UseRegister(node->InputAt(0))); |
+} |
+ |
+ |
+void InstructionSelector::VisitFloat64ExtractHighWord32(Node* node) { |
+ Mips64OperandGenerator g(this); |
+ Emit(kMips64FmoveHighUwD, g.DefineAsRegister(node), |
+ g.UseRegister(node->InputAt(0))); |
+} |
+ |
+ |
+void InstructionSelector::VisitFloat64InsertLowWord32(Node* node) { |
+ Mips64OperandGenerator g(this); |
+ Node* left = node->InputAt(0); |
+ Node* right = node->InputAt(1); |
+ Emit(kMips64FmoveLowDUw, g.DefineSameAsFirst(node), g.UseRegister(left), |
+ g.UseRegister(right)); |
+} |
+ |
+ |
+void InstructionSelector::VisitFloat64InsertHighWord32(Node* node) { |
+ Mips64OperandGenerator g(this); |
+ Node* left = node->InputAt(0); |
+ Node* right = node->InputAt(1); |
+ Emit(kMips64FmoveHighDUw, g.DefineSameAsFirst(node), g.UseRegister(left), |
+ g.UseRegister(right)); |
+} |
+ |
+ |
// static |
MachineOperatorBuilder::Flags |
InstructionSelector::SupportedMachineOperatorFlags() { |