[Issue 21672] [REG][ICE][SIMD] crash whild compiling _mm_loadu_si16

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Mar 5 20:56:36 UTC 2021


https://issues.dlang.org/show_bug.cgi?id=21672

Martin Nowak <code at dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |code at dawg.eu
           Severity|regression                  |major

--- Comment #1 from Martin Nowak <code at dawg.eu> ---
Thanks for your bug report, apparently never worked, not even with 2.081.1.

That at lest says
  Internal error: dmd/backend/cgxmm.c 684
pointing to 
https://github.com/dlang/dmd/blob/343ebe868baa60ad39dd1e9d2d94177af3743e95/src/dmd/backend/cgxmm.d#L753

Looks like the load type isn't supported and you could bet that TYshort is 6.
https://github.com/dlang/dmd/blob/7a0382177f35b2766c2d0ba60dae5e541d8033e0/src/dmd/backend/ty.d#L39

Would you have any chance to avoid modifying the "array" in between, from what
I remember of the backend it was often only working when constructing simd
values from literals.
Could you maybe also try to manipulate a static short[8] array and load that,
no?

--


More information about the Digitalmars-d-bugs mailing list