__vector(ubyte[32]) misalignment
Bruce Carneal
bcarneal at gmail.com
Sun Aug 9 12:18:08 UTC 2020
On Sunday, 9 August 2020 at 10:02:32 UTC, kinke wrote:
> On Sunday, 9 August 2020 at 01:03:51 UTC, Bruce Carneal wrote:
>> Is sub .alignof alignment expected here? IOW, do I have to
>> manually manage memory if I want alignments above 16?
>
> IIRC, yes when using the GC, as that only guarantees 16-bytes
> alignment. Static arrays on the stack should be aligned just
> fine with LDC.
Yes, it presents as a GC limitation.
Many thanks for your LDC work.
More information about the Digitalmars-d-learn
mailing list