[Issue 16087] Alignment (.alignof) and stack space incorrect for SIMD types.
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sun Jul 2 11:49:48 PDT 2017
https://issues.dlang.org/show_bug.cgi?id=16087
Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |dlang-bugzilla at thecybershad
| |ow.net
See Also| |https://issues.dlang.org/sh
| |ow_bug.cgi?id=17237
Resolution|--- |WORKSFORME
--- Comment #4 from Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> ---
(In reply to Marco Leise from comment #0)
> writefln("float8.alignof yields %s but should yield 32.",
> float8.alignof);
> writefln("void16.alignof yields %s but should yield 16.",
> void16.alignof);
Fixed in https://github.com/dlang/dmd/pull/6265
> writefln("When embedded, a float4 exposes some hidden alignment, as it
> changes to %s.", Matrix4x4.alignof);
Fixed in https://github.com/dlang/dmd/pull/6582 (issue 17237)
--
More information about the Digitalmars-d-bugs
mailing list