[cfe-dev] clang miscompile prevents ATLAS build

Evan Cheng evan.cheng at apple.com
Sun Sep 4 13:21:25 PDT 2011


Are you using tot clang and llvm? We are just about done with -mavx. It has passed all of Intel's test suite. 

Evan

On Sep 4, 2011, at 12:52 PM, Eli Friedman <eli.friedman at gmail.com> wrote:

> On Sun, Sep 4, 2011 at 12:40 PM, Clint Whaley <whaley at cs.utsa.edu> wrote:
>> Eli,
>> 
>>> Don't use -mavx with clang... the support is incomplete at best.  (I'm
>>> actually not entirely sure why exactly the option exists.)
>> 
>> People want to compile ATLAS with clang.  ATLAS is in the performance
>> business.  Not using AVX cuts your peak in half compared to SSE on
>> sandy bridge.  I'm aware clang itself is probably not using AVX well, but
>> ATLAS contains intrinsics code that people want to compile with clang.
>> Without -mavx flag, clang is not a competitive compiler for ATLAS.
> 
> Proper AVX support is non-trivial, and it simply isn't in a working
> state.  We are making progress...
> 
> -Eli
> 
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev



More information about the cfe-dev mailing list