[llvm-dev] error of using GATHER intrinsic

zhi chen via llvm-dev llvm-dev at lists.llvm.org
Wed Jan 20 13:03:20 PST 2016


Hi Tim,

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.

Best,
Zhi

On Wed, Jan 20, 2016 at 12:59 PM, Tim Northover <t.p.northover at gmail.com>
wrote:

> Hi Zhi,
>
> On 18 January 2016 at 11:28, zhi chen via llvm-dev
> <llvm-dev at lists.llvm.org> wrote:
> > Any idea about this error? Or could anyone give me an example how to use
> the
> > gather intrinsic if there is something wrong with the way I am using it?
>
> Modulo obvious typos, the snippets look like they ought to work (on
> trunk at least). Do you have an actual .ll or .bc and llc invocation
> that fails?
>
> Cheers.
>
> Tim.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160120/99c6212e/attachment.html>


More information about the llvm-dev mailing list