Implementing MMX and SSE shifts

Hi all,

Recently some great work has been done to implement vector shifts as described in the language reference, and I’d like to contribute by attempting to match these operations on x86 to MMX and SSE instructions whenever possible.

I’m experienced in writing MMX and SSE assembly but I’m unfamiliar with how LLVM performs instruction selection. So every bit of information to get me started would be very much appreciated.

Thanks,

Nicolas

Hi all,

Recently some great work has been done to implement vector shifts as described in the language reference, and I’d like to contribute by attempting to match these operations on x86 to MMX and SSE instructions whenever possible.

Great!

I’m experienced in writing MMX and SSE assembly but I’m unfamiliar with how LLVM performs instruction selection. So every bit of information to get me started would be very much appreciated.

Along with LLVM IR support, there's been work done on SSE codegen support. I
suggest taking a look at what's currently in place for SSE to start with.

Dan