[LLVMdev] llvm::Triple support for haswell-enabled x86_64

Quentin Colombet qcolombet at apple.com
Wed Aug 20 10:00:46 PDT 2014


On Aug 19, 2014, at 10:37 PM, Chandler Carruth <chandlerc at google.com> wrote:

> 
> On Tue, Aug 19, 2014 at 5:05 PM, Jim Grosbach <grosbach at apple.com> wrote:
> Note that it’s not exactly equivalent to enabling -march=core-avx2. It’s really close, but not 100% the same.
> 
> What is the difference?

The x86_64h triple is specifically targeted for a subclass of Haswell features. For instance, IIRC, unlike core-avx2, it does not have the AES feature.

> and why? It seems really confusing to have this divergence, or to be unable to replicate the *exact* behavior of this (very weird, and IMO *bad* triple) with the standard triple of 'x86_64-...' and an '-march' flag.

This is basically a mix of x86_64, -march, and a few target features.

Cheers,
Q. 

> _______________________________________________
> 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/20140820/00dc26b7/attachment.html>


More information about the llvm-dev mailing list