@@ -7711,25 +7711,25 @@ void LowererMD::GenerateFastInlineBuiltInCall(IR::Instr* instr, IR::JnHelperMeth
7711
7711
switch (instr->m_opcode )
7712
7712
{
7713
7713
case Js::OpCode::InlineMathSqrt:
7714
- {
7715
- // Sqrt maps directly to the SSE2 instruction.
7716
- // src and dst should already be XMM registers, all we need is just change the opcode.
7717
- Assert (helperMethod == (IR::JnHelperMethod)0 );
7718
- Assert (instr->GetSrc2 () == nullptr );
7719
- instr->m_opcode = instr->GetSrc1 ()->IsFloat64 () ? Js::OpCode::SQRTSD : Js::OpCode::SQRTSS;
7720
-
7721
- IR::Opnd *src = instr->GetSrc1 ();
7722
- IR::Opnd *dst = instr->GetDst ();
7723
- if (!src->IsEqual (dst))
7724
- {
7725
- Assert (src->IsRegOpnd () && dst->IsRegOpnd ());
7726
- // Force source to be the same as destination to break false dependency on the register
7727
- Lowerer::InsertMove (dst, src, instr, false /* generateWriteBarrier */ );
7728
- instr->ReplaceSrc1 (dst);
7729
- }
7730
-
7731
- break ;
7732
- }
7714
+ {
7715
+ // Sqrt maps directly to the SSE2 instruction.
7716
+ // src and dst should already be XMM registers, all we need is just change the opcode.
7717
+ Assert (helperMethod == (IR::JnHelperMethod)0 );
7718
+ Assert (instr->GetSrc2 () == nullptr );
7719
+ instr->m_opcode = instr->GetSrc1 ()->IsFloat64 () ? Js::OpCode::SQRTSD : Js::OpCode::SQRTSS;
7720
+
7721
+ IR::Opnd *src = instr->GetSrc1 ();
7722
+ IR::Opnd *dst = instr->GetDst ();
7723
+ if (!src->IsEqual (dst))
7724
+ {
7725
+ Assert (src->IsRegOpnd () && dst->IsRegOpnd ());
7726
+ // Force source to be the same as destination to break false dependency on the register
7727
+ Lowerer::InsertMove (dst, src, instr, false /* generateWriteBarrier */ );
7728
+ instr->ReplaceSrc1 (dst);
7729
+ }
7730
+
7731
+ break ;
7732
+ }
7733
7733
7734
7734
case Js::OpCode::InlineMathAbs:
7735
7735
Assert (helperMethod == (IR::JnHelperMethod)0 );
0 commit comments