[Issue 23048] [SIMD][CODEGEN] Inline XMM.LODUPD leads to wrong SIMD content

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Apr 24 04:54:30 UTC 2022


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

Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at digitalmars.com

--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> ---
A smaller test with -O -unittest :

import core.simd;

unittest
{
    align(16) double[2] A = [56.0, -74.0];
}

unittest
{
    double[2] A = [56.0, -75.0];
    double2 R = cast(double2) __simd(XMM.LODUPD, *A.ptr);
    assert(R.array == A);
}

void main()
{
}

--


More information about the Digitalmars-d-bugs mailing list