This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[AVX2] PATCH: Adding support of AVX2 to driver


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.yukhin@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.yukhin@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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]