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

--- Comment #1 from Walter Bright <[email protected]> ---
Test case clipped from dmd/test/runnable/testxmm.d:

-------
import core.simd;

void test2e()
{
    int4 v1, v2 = 1, v3 = 1;
    v1 = v2 + v3;
    static if (__traits(compiles, { v1 = v2 * v3; })) // SSE4.1
        v1 = v2 * v3;
}

int main() { test2e(); return 0; }
------

This will seg fault on illegal PMULLD instruction if running on a machine
without SSE4.1

--

Reply via email to