[LLVMdev] Status of AVX support

Bruno Cardoso Lopes bruno.cardoso at gmail.com
Mon Nov 1 11:25:47 PDT 2010


Hi Bill,

On Fri, Oct 29, 2010 at 4:38 PM, Bill O'Hara <billtohara at gmail.com> wrote:
> Hi
>
> Can anyone provide insight on the current status of the AVX support in
> LLVM 2.8? I gather from the release notes that the MC assembler
> supports it, and clang added support for it.
>
> Does clang support mean intrinsics only, or is there support for
> lowering of some sort of gcc vector extension?
>
> If I generate llvm vector instructions, is there support to emit 128
> or 256b AVX instructions assuming I run the jit on appropriate sandy
> bridge hardware?

There's no reliable AVX codegen support right now (some of it will work,
since they have patterns declared for them). The AVX+JIT won't work since
the encoding support for it is MC infrastructure only, but should work
once the x86 JIT goes MC.

-- 
Bruno Cardoso Lopes
http://www.brunocardoso.cc



More information about the llvm-dev mailing list