<div dir="ltr">Hi Tim,<div><br></div><div>Thanks for your response. It works now if I use llc -mcpu=skylake. But it still fails if I use -mcpu=core-avx2. It seems that avx2 supports gather/scatter, but I am not sure why it doesn't work.</div><div><br></div><div>Best,</div><div>Zhi</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 20, 2016 at 12:59 PM, Tim Northover <span dir="ltr"><<a href="mailto:t.p.northover@gmail.com" target="_blank">t.p.northover@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Zhi,<br>
<br>
On 18 January 2016 at 11:28, zhi chen via llvm-dev<br>
<span class=""><<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br>
> Any idea about this error? Or could anyone give me an example how to use the<br>
> gather intrinsic if there is something wrong with the way I am using it?<br>
<br>
</span>Modulo obvious typos, the snippets look like they ought to work (on<br>
trunk at least). Do you have an actual .ll or .bc and llc invocation<br>
that fails?<br>
<br>
Cheers.<br>
<span class="HOEnZb"><font color="#888888"><br>
Tim.<br>
</font></span></blockquote></div><br></div>