What is the better signature for this?

Guillaume Piolat first.last at spam.org
Sun Oct 9 20:00:01 UTC 2022


On Sunday, 9 October 2022 at 19:44:13 UTC, Guillaume Piolat wrote:
>
> What about `float[4]` then? We can get back `@trusted`.
>
>
>      __m256i _mm256_loadu_si256 (const(float[4])* mem_addr) 
> pure @trusted; // (C)
>
>
> Then, we loose compatibility ith intrinsics code originally 
> written in C++. Casting to `const(float[4])*` is even more 
> annoying to type than casting to `const(__m256i)*`.
>

Erratum: it is `long[4]`, not `float[4]`


More information about the Digitalmars-d mailing list