<div dir="ltr">Ah, its a stack vs. register issue. Thanks!</div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Sep 14, 2014 at 5:00 PM, NAKAMURA Takumi <span dir="ltr"><<a href="mailto:geek4civic@gmail.com" target="_blank">geek4civic@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">For targeting Windows x64, (example for -mtriple=x86_64-mingw32),<br>
"<2 x double> %p" is passed by stack.<br>
<br>
ld:                                     # @ld<br>
# BB#0:<br>
        movddup (%rcx), %xmm0<br>
        retq<br>
<div class="HOEnZb"><div class="h5"><br>
2014-09-15 8:54 GMT+09:00 Chandler Carruth <<a href="mailto:chandlerc@google.com">chandlerc@google.com</a>>:<br>
><br>
> On Sun, Sep 14, 2014 at 4:39 PM, NAKAMURA Takumi <<a href="mailto:geek4civic@gmail.com">geek4civic@gmail.com</a>><br>
> wrote:<br>
>><br>
>> Author: chapuni<br>
>> Date: Sun Sep 14 18:39:01 2014<br>
>> New Revision: 217742<br>
>><br>
>> URL: <a href="http://llvm.org/viewvc/llvm-project?rev=217742&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=217742&view=rev</a><br>
>> Log:<br>
>> llvm/test/CodeGen/X86/vec_shuffle-38.ll: Add explicit<br>
>> -mtriple=x86_64-unknown to avoid incompatibility of win32.<br>
><br>
><br>
> What is the specific cause here? I'm a bit surprised that this was the<br>
> correct fix...<br>
</div></div></blockquote></div><br></div>