Index: src/compiler/ia32/instruction-selector-ia32.cc |
diff --git a/src/compiler/ia32/instruction-selector-ia32.cc b/src/compiler/ia32/instruction-selector-ia32.cc |
index 9faf5ebcd87e97d075f61b369157c011eb08beaf..792d1d5a47e044bdcba913d094e0b429001c2516 100644 |
--- a/src/compiler/ia32/instruction-selector-ia32.cc |
+++ b/src/compiler/ia32/instruction-selector-ia32.cc |
@@ -687,6 +687,18 @@ void InstructionSelector::VisitTruncateFloat64ToInt32(Node* node) { |
} |
+void InstructionSelector::VisitBitcastFloat32ToInt32(Node* node) { |
+ IA32OperandGenerator g(this); |
+ Emit(kIA32BitcastFI, g.DefineAsRegister(node), g.Use(node->InputAt(0))); |
+} |
+ |
+ |
+void InstructionSelector::VisitBitcastInt32ToFloat32(Node* node) { |
+ IA32OperandGenerator g(this); |
+ Emit(kIA32BitcastIF, g.DefineAsRegister(node), g.Use(node->InputAt(0))); |
+} |
+ |
+ |
void InstructionSelector::VisitFloat32Add(Node* node) { |
VisitRROFloat(this, node, kAVXFloat32Add, kSSEFloat32Add); |
} |