This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/54741] GCC 4.4, 4.5, 4.6 4.7 (probably 4.8) Generates un-usable code on AVX supported CPUs (FreeBSD)
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 02 Oct 2012 09:59:39 +0000
- Subject: [Bug target/54741] GCC 4.4, 4.5, 4.6 4.7 (probably 4.8) Generates un-usable code on AVX supported CPUs (FreeBSD)
- Auto-submitted: auto-generated
- References: <bug-54741-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54741
--- Comment #10 from Uros Bizjak <ubizjak at gmail dot com> 2012-10-02 09:59:39 UTC ---
(In reply to comment #7)
> Created attachment 28312 [details]
> A patch with fixed ChangeLog
The patch looks OK, but please introduce some #defines:
#define XCR_XFEATURE_ENABLED_MASK 0x0
#define XSTATE_FP 0x1
#define XSTATE_SSE 0x2
#define XSTATE_YMM 0x4
(Please see testsuite/gcc.target/i386/avx-os-support.h)