From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19076 invoked by alias); 27 Aug 2013 03:43:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 19035 invoked by uid 48); 27 Aug 2013 03:43:47 -0000 From: "shadow at umbrox dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/57927] -march=core-avx2 different than -march=native on INTEL Haswell (i7-4700K) Date: Tue, 27 Aug 2013 03:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: shadow at umbrox dot de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-08/txt/msg01343.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57927 Christian Widmer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |shadow at umbrox dot de --- Comment #4 from Christian Widmer --- Created attachment 30703 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30703&action=edit Patch to add Ivy Bridge/Haswell detection Here is a short patch adding Ivy Bridge and Haswell detection. Because Ivy Bridge does not support AVX2 it differs a bit from the suggestion above.