[LLVMdev] AVX support

Manny Ko Manny.Ko at imgtec.com
Wed Nov 7 12:19:46 PST 2012

We have been using LLVM 3.1 to support JITing of AVX.  From dumping the MC generating by the MCJIT I noticed it always emits 'VZEROUPPER' to clear the high 128 bit before calling another function.  In some cases I know the function called either only use AVX or does not use SSE. I will like to inform the backend it is safe not to emit that instruction.

Have not been able to figure out how to do that.

Any suggestion will be greatly appreciated.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121107/ba1c261e/attachment.html>

More information about the llvm-dev mailing list