[LLVMdev] how to disable sse and avx

mats petersson mats at planetcatfish.com
Thu May 14 10:50:44 PDT 2015


Sounds like a bug, as far as I can tell, -mno-sse should disable all use of
SSE instructions (and thus all uses of xmm registers). Exactly what version
of LLVM, and what instructions from what LLVM IR or C source?

--
Mats

On 14 May 2015 at 18:12, zhi chen <zchenhn at gmail.com> wrote:

> 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
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150514/97a88789/attachment.html>


More information about the llvm-dev mailing list