SIMD support...
Manu
turkeyman at gmail.com
Thu Jan 5 19:32:44 PST 2012
On 6 January 2012 05:27, Walter Bright <newshound2 at digitalmars.com> wrote:
> On 1/5/2012 7:07 PM, Manu wrote:
>
>> The only thing the language needs to think about is a single typeless,
>> 128bit,
>> 16 byte aligned value.
>>
>
> Currently, you can do this on 64 bit Linux:
>
> union V128
> {
> void[16] v;
> real dummy;
> }
>
> as reals are aligned on 16 byte boundaries. I wonder how far that can be
> pushed.
>
You still haven't expressed the concept of the SIMD register anywhere in
the language. The code gen needs to assign XMM regs, and schedule all
appropriate loads/stores/etc...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20120106/3e7afa9b/attachment.html>
More information about the Digitalmars-d
mailing list