[dmd-internals] Testcase in test42.d
Iain Buclaw
ibuclaw at ubuntu.com
Fri Apr 5 01:48:52 PDT 2013
On 4 April 2013 19:02, Walter Bright <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<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.
--
Iain Buclaw
*(p < e ? p++ : p) = (c & 0x0f) + '0';
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/dmd-internals/attachments/20130405/92bd0f4f/attachment.html>
More information about the dmd-internals
mailing list