[LLVMdev] Some understanding of LLVM vs gCC vs Intel C++ Compilers

Eli Friedman eli.friedman at gmail.com
Mon Jun 15 17:43:16 PDT 2009


On Mon, Jun 15, 2009 at 4:43 PM, David Greene<dag at cray.com> wrote:
> On Monday 15 June 2009 01:32, me22 wrote:
>
>> My (possibly faultly) understanding is that intel's has good support
>> for numerics, presumably through auto-vectorization and such, but only
>
> Yes, that's true.
>
>> works for intel's architectures and is only excellent on intel chips.
>
> That used to be the case, but not so anymore.  Intel compilers generate
> just fine code for AMD processors.

Per http://www.agner.org/optimize/, Intel's compiler doesn't use
vectorized codepaths on AMD chips by default; I don't know whether
that has changed in more recent versions.

-Eli




More information about the llvm-dev mailing list