[Issue 16116] New: Infinite loop on (somewhat complex) simd math
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu Jun 2 10:31:09 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=16116
Issue ID: 16116
Summary: Infinite loop on (somewhat complex) simd math
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: jbc.engelen at gmail.com
DMD 2.071.0 hangs on:
```
import core.simd;
void foo() {
ushort8 src;
ushort8 dest;
ushort src0;
dest = ((src * (src0 + 1) + dest * (256 - src0))>>8);
}
```
LDC has the same problem so probably a front-end bug.
Note: I think the ">>" is unsupported by DMD for SIMD.
Related report:
https://issues.dlang.org/show_bug.cgi?id=13841
--
More information about the Digitalmars-d-bugs
mailing list