Thread overview
[Issue 23510] ICE: src/dmd/backend/cgxmm.d:1102: Assertion `0' failed.
Nov 26, 2022
Iain Buclaw
Dec 17, 2022
Iain Buclaw
Dec 20, 2022
Walter Bright
November 26, 2022
https://issues.dlang.org/show_bug.cgi?id=23510

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |backend, ice-on-valid-code,
                   |                            |SIMD
                 CC|                            |ibuclaw@gdcproject.org

--- Comment #1 from Iain Buclaw <ibuclaw@gdcproject.org> ---
auto test23510(__vector(float[4] a, __vector(float[4] b)
{
    return a != b;
}

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=23510

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice

--
December 20, 2022
https://issues.dlang.org/show_bug.cgi?id=23510

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla@digitalmars.com
         Resolution|---                         |WORKSFORME

--- Comment #2 from Walter Bright <bugzilla@digitalmars.com> ---
When I compile it, with -O I get:

_D4test9test23510FNaNbNiNfNhG4fQfZNhG4k:
                sub     RSP,018h
                movaps  [RSP],XMM0
                movaps  XMM0,XMM1
                movaps  XMM2,[RSP]
                cmpps   XMM0,XMM2,0
                pcmpeqd XMM3,XMM3
                pxor    XMM0,XMM3
                add     RSP,018h
                ret

which looks right.

--