Is sub .alignof alignment expected here? IOW, do I have to manually manage memory if I want alignments above 16?
__vector(ubyte[32]) misalignment
Bruce Carneal via Digitalmars-d-learn Sat, 08 Aug 2020 18:05:53 -0700
The .alignof attribute of __vector(ubyte[32]) is 32 but
initializing an array of such vectors via an assignment to
.length has given me 16 byte alignment (and subsequent seg faults
which I suspect are related).
- __vector(ubyte[32]) misalignm... Bruce Carneal via Digitalmars-d-learn
- Re: __vector(ubyte[32]) ... Bruce Carneal via Digitalmars-d-learn
- Re: __vector(ubyte[3... user1234 via Digitalmars-d-learn
- Re: __vector(uby... Bruce Carneal via Digitalmars-d-learn
- Re: __vector(ubyte[32]) ... Johan via Digitalmars-d-learn
- Re: __vector(ubyte[3... Bruce Carneal via Digitalmars-d-learn
- Re: __vector(uby... Steven Schveighoffer via Digitalmars-d-learn
- Re: __vector... Steven Schveighoffer via Digitalmars-d-learn
- Re: __v... Steven Schveighoffer via Digitalmars-d-learn
