[LLVMdev] Changing target features from C++

Nicolas Capens nicolas at capens.net
Fri Jul 18 08:42:25 PDT 2008


Hi all,

 

How do I properly/conveniently change ISA features of the code to be
generated? For instance I have a Core 2 Duo with SSSE3 but I'd also like to
test whether everything would JIT compile correctly on something with just
SSE2 (a Pentium 4) or even older. In other words, how do I prevent LLVM from
using certain target features?

 

Thanks,

 

Nicolas Capens

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


More information about the llvm-dev mailing list