This is the mail archive of the gcc-bugs@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]

[Bug target/54741] GCC 4.4, 4.5, 4.6 4.7 (probably 4.8) Generates un-usable code on AVX supported CPUs (FreeBSD)


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54741

--- Comment #14 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> 2012-10-02 20:25:13 UTC ---
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


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