[LLVMdev] Limit loop vectorizer to SSE
Frank Winter
fwinter at jlab.org
Tue Nov 12 08:05:07 PST 2013
On 12/11/13 11:01, Renato Golin wrote:
> On 12 November 2013 15:53, Frank Winter <fwinter at jlab.org
> <mailto:fwinter at jlab.org>> wrote:
>
> .. forcing the vector size to 4 does not prevent using AVX.
>
>
> Sure. That's more for tests than anything else.
>
> So, there are ways of disabling stuf in Clang, for instance
> "-mattr=-avx" or "-target-feature -avx", but I'm not sure how you're
> doing it in the JIT. I'm also not sure how to set target parameters in
> JIT, you'll have to do that by hand.
>
I don't know that either. I set the CPU via
engineBuilder.setMCPU(llvm::sys::getHostCPUName());
and that figures out all target parameters, I assume.
I would need to still use this, and then disable just the AVX feature.
> cheers,
> --renato
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131112/768ec29f/attachment.html>
More information about the llvm-dev
mailing list