r192003 - in /branches/gcc-4_7-branch/gcc: Chan...
hjl@gcc.gnu.org
hjl@gcc.gnu.org
Tue Oct 2 20:25:00 GMT 2012
Author: hjl
Date: Tue Oct 2 20:25:04 2012
New Revision: 192003
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192003
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, AVX2, FMA, FMA4 and XOP if
SSE and YMM states aren't supported.
Modified:
branches/gcc-4_7-branch/gcc/ChangeLog
branches/gcc-4_7-branch/gcc/config/i386/driver-i386.c
More information about the Gcc-cvs
mailing list