[LLVMdev] AVX - Work is Progressing

Chris Lattner clattner at apple.com
Wed Mar 25 13:23:20 PDT 2009


On Mar 25, 2009, at 12:10 PM, David Greene wrote:
> Hi all,
> We've been doing some work to add AVX support to the x86 backend.   
> We'd
> like to contribute this to the community.  We wanted to let everyone  
> know in
> advance in case there are others working on this as well.  If so,  
> let's
> collaborate so we don't step on each other.

That's awesome!  I don't know of anyone working on AVX support right  
now.

> Currently we have the basic AVX machine description support, some  
> TableGen
> enhancements which I've discussed this week and a start at  
> intrinsics and
> TableGen patterns.
>
> We will probably not spend much time on machine code generation  
> since we
> don't use the JIT but I have tried to write the .td files in the  
> spirit of the
> existing x86 files so it shouldn't be too bad for someone else to  
> add that
> support.

Sounds great, I'd just set the encoding of all the avx instructions to  
something that causes the JIT to abort, so that we get a violent error  
if they are accidentally used.

>
> I will start to send this upstream in patches.  We hope others find  
> this to be
> useful.


Very!  Thanks David,

-Chris




More information about the llvm-dev mailing list