Hi,
I added checking of AVX2 support to driver-i386.c.
Also I added entries to doc/extend.texi and a couple of tests to work with AVX2.

ChangeLog.avx2 entry:
2011-06-21  Yukhin Kirill  <kirill.yuk...@intel.com>

        * gcc/config/i386/driver-i386.c (host_detect_local_cpu): Define
        and set has_avx2.
        * gcc/doc/invoke.texi: Document -mavx2 and -mno-avx2.

tesuite/ChangeLog.avx2 entry:
2011-06-20  Yukhin Kirill  <kirill.yuk...@intel.com>

        * gcc.target/i386/funcspec-5.c: Add avx2 and no-avx2 targets.
        * gcc.target/i386/funcspec-6.c: Likewise.
        * gcc.target/i386/sse-12.c: Likewise.


Going to commit to avx2 branch.

Thanks, K

Attachment: avx2.drv.gcc.patch
Description: Binary data

Reply via email to