Skip to content

Commit

Permalink
A bit better LDC debug performance for text-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Piolat committed Dec 18, 2024
1 parent 6910caa commit d328f29
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions source/inteli/emmintrin.d
Original file line number Diff line number Diff line change
Expand Up @@ -1382,6 +1382,17 @@ __m128 _mm_cvtepi32_ps(__m128i a) pure @trusted
ret <4 x float> %r`;
return cast(__m128) LDCInlineIR!(ir, float4, int4)(a);
}
else static if (LDC_with_x86_asm)
{
__m128 r;
asm pure nothrow @nogc @trusted
{
movdqu XMM0, a;
cvtdq2ps XMM0, XMM0;
movdqu r, XMM0;
}
return r;
}
else
{
__m128 res; // PERF =void;
Expand Down

0 comments on commit d328f29

Please sign in to comment.