Using AVX intrinsics with LDC

Jeff jromang at protonmail.com
Wed May 16 19:34:32 UTC 2018


On Wednesday, 16 May 2018 at 13:11:46 UTC, kinke wrote:
> On Wednesday, 16 May 2018 at 10:36:01 UTC, Kagamin wrote:
>> On Tuesday, 15 May 2018 at 17:21:49 UTC, Jeff wrote:
>>> _mm_cvtsi64x_si128
>>
>> If it zero extends 64-bit integer to 128-bit integer, it's 
>> done by movq instruction. I suppose simple assignment should 
>> do it.
>
> That's enough indeed: https://run.dlang.io/is/1wJ7mA
> [And vzeroupper is unrelated, and no args are correct.]

Thanks, it works perfectly ! Also I discover run.dlang.io, nice 
to quickly check the ASM output :)


More information about the digitalmars-d-ldc mailing list