Index: src/compiler/arm/instruction-selector-arm.cc |
diff --git a/src/compiler/arm/instruction-selector-arm.cc b/src/compiler/arm/instruction-selector-arm.cc |
index aa59f2cbb76e9258afe88ce15f40cd9ce77172e7..d2c9e7727391ff70eaeb7e56025d3205aef68de6 100644 |
--- a/src/compiler/arm/instruction-selector-arm.cc |
+++ b/src/compiler/arm/instruction-selector-arm.cc |
@@ -925,6 +925,19 @@ void InstructionSelector::VisitTruncateFloat64ToInt32(Node* node) { |
} |
+void InstructionSelector::VisitBitcastFloat32ToInt32(Node* node) { |
+ VisitRR(this, kArmVmovLowU32F64, node); |
+} |
+ |
+ |
+void InstructionSelector::VisitBitcastInt32ToFloat32(Node* node) { |
+ ArmOperandGenerator g(this); |
+ Emit(kArmVmovLowF64U32, g.DefineAsRegister(node), |
+ ImmediateOperand(ImmediateOperand::INLINE, 0), |
+ g.UseRegister(node->InputAt(0))); |
+} |
+ |
+ |
void InstructionSelector::VisitFloat32Add(Node* node) { |
ArmOperandGenerator g(this); |
Float32BinopMatcher m(node); |