[Issue 21470] wrong codegen with core.simd when implementing _mm_set1_epi8
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Dec 11 07:25:39 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=21470
--- Comment #1 from ponce <aliloko at gmail.com> ---
Also similarly:
int4 _mm_set1_epi64x (long a) pure @trusted
{
long2 b = a;
return cast(int4)(b);
}
works but:
int4 _mm_set1_epi64x (long a) pure @trusted
{
return cast(int4)(long2(a));
}
doesn't and is likely the same bug.
Both version work correctly in GDC and LDC.
--
More information about the Digitalmars-d-bugs
mailing list