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

Reid Kleckner rnk at google.com
Wed Aug 20 09:37:43 PDT 2014


On Tue, 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? 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.
>

It just seems like a reinvention of i386, i486, and iN86, probably for all
of the same reasons. If you can encode all the important things in the
triple, you can have different library directories for distributions, etc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140820/88bb64a1/attachment.html>


More information about the llvm-dev mailing list