[LLVMdev] how to disable sse and avx

zhi chen zchenhn at gmail.com
Thu May 14 10:12:14 PDT 2015


Hello,

I want to disable LLVM to use any SIMD registers like sse and avx. I tried
-mno-sse and -mno-avx on my Core i7 machine. It seems that the generated
assembly still uses xmm registers. Is there any way for LLVM to only use
scalar registers?

Thanks,
Zhi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150514/efe8e7b3/attachment.html>


More information about the llvm-dev mailing list