This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r192004 - in /branches/gcc-4_6-branch/gcc: Chan...
- From: hjl at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 02 Oct 2012 20:31:41 -0000
- Subject: r192004 - in /branches/gcc-4_6-branch/gcc: Chan...
Author: hjl
Date: Tue Oct 2 20:31:40 2012
New Revision: 192004
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192004
Log:
Check SSE and YMM state support for -march=native
Backported from mainline
PR target/54741
* config/i386/driver-i386.c (XCR_XFEATURE_ENABLED_MASK): New.
(XSTATE_FP): Likewise.
(XSTATE_SSE): Likewise.
(XSTATE_YMM): Likewise.
(host_detect_local_cpu): Disable AVX, FMA, FMA4 and XOP if SSE
and YMM states aren't supported.
Modified:
branches/gcc-4_6-branch/gcc/ChangeLog
branches/gcc-4_6-branch/gcc/config/i386/driver-i386.c