[dmd-internals] Testcase in test42.d

Walter Bright walter at digitalmars.com
Thu Apr 4 11:02:31 PDT 2013


On 4/4/2013 9:57 AM, Iain Buclaw wrote:
> What exactly is this testing for?  Should I even care if it fails?
>
> https://github.com/D-Programming-Language/dmd/blob/master/test/runnable/test42.d#L613
>
> It *looks* like it is expecting the data to be aligned to 16 bytes.

Yes.

> But why should this matter?

People use such constructs to support SIMD code, which requires 16 byte alignment.




More information about the dmd-internals mailing list