Jump to page: 1 2
Thread overview
[Issue 23084] [REG 2.080] dmd: src/dmd/backend/cgxmm.d:816: Assertion `0' failed.
May 03, 2022
kinke
May 03, 2022
Iain Buclaw
May 03, 2022
Iain Buclaw
May 03, 2022
Iain Buclaw
May 03, 2022
Iain Buclaw
May 03, 2022
Iain Buclaw
May 03, 2022
Iain Buclaw
May 03, 2022
Iain Buclaw
May 03, 2022
Iain Buclaw
May 04, 2022
Iain Buclaw
May 04, 2022
Iain Buclaw
May 04, 2022
Dlang Bot
May 06, 2022
Walter Bright
May 03, 2022
https://issues.dlang.org/show_bug.cgi?id=23084

kinke <kinke@gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |backend
                 CC|                            |kinke@gmx.net

--
May 03, 2022
https://issues.dlang.org/show_bug.cgi?id=23084

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ibuclaw@gdcproject.org

--- Comment #1 from Iain Buclaw <ibuclaw@gdcproject.org> ---
Reverting PR7994, and the ICE moves to a different location, which points at another regression in v2.087.0 introduced by https://github.com/dlang/dmd/pull/9608

--
May 03, 2022
https://issues.dlang.org/show_bug.cgi?id=23084

--- Comment #2 from Iain Buclaw <ibuclaw@gdcproject.org> ---
Reverting both PR7994 and PR9608 and there is still an ICE in stable.

Yet another regressing commit in v2.096.0 introduced by https://github.com/dlang/dmd/pull/12048

--
May 03, 2022
https://issues.dlang.org/show_bug.cgi?id=23084

--- Comment #3 from Iain Buclaw <ibuclaw@gdcproject.org> ---
Reverting PR7994, PR9608, and PR12048 and there is still an ICE in stable.

Yet another regressing commit in v2.097.0 introduced by https://github.com/dlang/dmd/pull/12409

--
May 03, 2022
https://issues.dlang.org/show_bug.cgi?id=23084

--- Comment #4 from Iain Buclaw <ibuclaw@gdcproject.org> ---
Reverting PR7994, PR9608, PR12048, and PR12409, and the ICE goes away in both
upstream stable (081d61e15) and master (7b07f9164) branches.

Combining different combinations of reverting the above PRs against the reduced test results in the ICE.
---
tym = 0x6
dmd: src/dmd/backend/cgxmm.d:816: Assertion `0' failed.
Aborted (core dumped)
---


Reverting PR7994, PR9608, and PR12409 only results in the ICE:
---
tym = x6
dmd: src/dmd/backend/cgxmm.d:765: Assertion `0' failed.
Aborted (core dumped)
---

--
May 03, 2022
https://issues.dlang.org/show_bug.cgi?id=23084

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |contact@lsferreira.net

--- Comment #5 from Iain Buclaw <ibuclaw@gdcproject.org> ---
*** Issue 23077 has been marked as a duplicate of this issue. ***

--
May 03, 2022
https://issues.dlang.org/show_bug.cgi?id=23084

--- Comment #6 from Iain Buclaw <ibuclaw@gdcproject.org> ---
Test case from issue23077 that doesn't use SIMD.
---
float bug(float x) {
    short i = *cast(short*)&x;
    ++i;
    return *cast(float*)&i;
}

--
May 03, 2022
https://issues.dlang.org/show_bug.cgi?id=23084

--- Comment #7 from Iain Buclaw <ibuclaw@gdcproject.org> ---
Original test simplified:
---
__vector(int[4]) _mm_packs_epi32 (__vector(int[4]) a) {
    __vector(short[8]) r = cast(short)(a.array[0]);
    return cast(__vector(int[4]))r;
}

--
May 03, 2022
https://issues.dlang.org/show_bug.cgi?id=23084

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=23077

--
May 04, 2022
https://issues.dlang.org/show_bug.cgi?id=23084

--- Comment #8 from Iain Buclaw <ibuclaw@gdcproject.org> ---
Similar, but using byte vector.  Only triggers in debug builds.
---
__vector(int[4]) _mm_packs_epi32 (__vector(int[4]) a) {
    __vector(byte[16]) r = cast(byte)(a.array[0]);
    return cast(__vector(int[4]))r;
}

--
« First   ‹ Prev
1 2