Index: src/compiler/arm/code-generator-arm.cc |
diff --git a/src/compiler/arm/code-generator-arm.cc b/src/compiler/arm/code-generator-arm.cc |
index 411f86c1635a8954de8332675ae7321fde18007f..7e964b7eae13b31442cb89586feefd3e90461e8f 100644 |
--- a/src/compiler/arm/code-generator-arm.cc |
+++ b/src/compiler/arm/code-generator-arm.cc |
@@ -1252,6 +1252,12 @@ CodeGenerator::CodeGenResult CodeGenerator::AssembleArchInstruction( |
__ vsel(gt, result, a, b); |
break; |
} |
+ case kArmFloat64SilenceNaN: { |
+ DwVfpRegister value = i.InputFloat64Register(0); |
+ DwVfpRegister result = i.OutputFloat64Register(0); |
+ __ VFPCanonicalizeNaN(result, value); |
+ break; |
+ } |
case kArmPush: |
if (instr->InputAt(0)->IsFPRegister()) { |
LocationOperand* op = LocationOperand::cast(instr->InputAt(0)); |