This appears to be a Ubuntu issue. On a Debian 8 system with Clang 3.5 installed, I get the following, which seems to indicate Debian has remediated the issue:
$ clang++ -march=native -dM -E - </dev/null | egrep -i '(sse|aes|rdrnd|rdseed|avx|bmi)' #define __AES__ 1 #define __AVX__ 1 #define __SSE2_MATH__ 1 #define __SSE2__ 1 #define __SSE3__ 1 #define __SSE4_1__ 1 #define __SSE4_2__ 1 #define __SSE_MATH__ 1 #define __SSE__ 1 #define __SSSE3__ 1 $ clang++ -v Debian clang version 3.5.2-2 (tags/RELEASE_352/final) (based on LLVM 3.5.2) Target: x86_64-pc-linux-gnu Thread model: posix $ dpkg -l clang-3.5 Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==============-============-============-================================= ii clang-3.5 1:3.5.2-2 amd64 C, C++ and Objective-C compiler ( -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1616729 Title: Clang 3.5 only advertises SSE2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-3.4/+bug/1616729/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
