[dmd-internals] Testcase in test42.d
Walter Bright
walter at digitalmars.com
Fri Apr 5 12:01:49 PDT 2013
On 4/5/2013 1:48 AM, Iain Buclaw wrote:
> On 4 April 2013 19:02, Walter Bright <walter at digitalmars.com
> <mailto:walter at digitalmars.com>> wrote:
>
>
> 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.
>
>
> Is this expected for all shared types? Or just shared structs.
>
It has nothing to do with it being shared or not.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/dmd-internals/attachments/20130405/7e796e5c/attachment.html>
More information about the dmd-internals
mailing list