Bug 23510 – ICE: src/dmd/backend/cgxmm.d:1102: Assertion `0' failed.

Status
RESOLVED
Resolution
WORKSFORME
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
All
Creation time
2022-11-26T10:49:23Z
Last change time
2022-12-20T05:54:52Z
Keywords
backend, ice, ice-on-valid-code, SIMD
Assigned to
No Owner
Creator
Iain Buclaw

Comments

Comment #0 by ibuclaw — 2022-11-26T10:49:23Z
Comparing float4 != float4.
Comment #1 by ibuclaw — 2022-11-26T10:50:02Z
auto test23510(__vector(float[4] a, __vector(float[4] b) { return a != b; }
Comment #2 by bugzilla — 2022-12-20T05:54:52Z
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.