On 9 October 2012 00:30, Iain Buclaw <span dir="ltr"><<a href="mailto:ibuclaw@ubuntu.com" target="_blank">ibuclaw@ubuntu.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On 8 October 2012 22:18, F i L <<a href="mailto:witte2008@gmail.com">witte2008@gmail.com</a>> wrote:<br>
> Iain Buclaw wrote:<br>
>><br>
>> I fixed them again.<br>
>><br>
>><br>
>> <a href="https://github.com/D-Programming-GDC/GDC/commit/9402516e0b07031e841a15849f5dc94ae81dccdc#L4R1201" target="_blank">https://github.com/D-Programming-GDC/GDC/commit/9402516e0b07031e841a15849f5dc94ae81dccdc#L4R1201</a><br>

>><br>
>><br>
>> float a = 1, b = 2, c = 3, d = 4;<br>
>> float4 f = [a,b,c,d];<br>
>><br>
>> ===><br>
>>         movss   -16(%rbp), %xmm0<br>
>>         movss   -12(%rbp), %xmm1<br>
><br>
><br>
> Nice, not even DMD can do this yet. Can these changes be pushed upstream?<br>
><br>
> On a side note, I understand GDC doesn't support the core.simd.__simd(...)<br>
> command, and I'm sure you have good reasons for this. However, it would<br>
> still be nice if:<br>
><br>
> a) this interface was supported through function-wrappers, or..<br>
> b) DMD/LDC could find common ground with GDC in SIMD instructions<br>
><br>
> I just think this sort of difference should be worked out early on. If this<br>
> simply can't or won't be changed, would you mind giving a short explanation<br>
> as to why? (Please forgive if you've explained this already before). Is<br>
> core.simd designed to really never be used and Manu's std.simd is really the<br>
> starting place for libraries? (I believe I remember him mentioning that)<br>
><br>
<br>
</div></div>I'm refusing to implement any intrinsic that is tied to a specific architecture.<br></blockquote><div><br></div><div>GCC offers perfectly good intrinsics anyway. And they're superior to the DMD intrinsics too.</div>
<div><br></div></div>