From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30209 invoked by alias); 20 Sep 2012 15:53:14 -0000 Received: (qmail 30155 invoked by uid 55); 20 Sep 2012 15:52:50 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/54564] [4.8 Regression] Broken __builtin_ia32_vfmadds[sd]3 Date: Thu, 20 Sep 2012 15:53: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-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.7.3 X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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 X-SW-Source: 2012-09/txt/msg01593.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54564 --- Comment #11 from Jakub Jelinek 2012-09-20 15:52:49 UTC --- Author: jakub Date: Thu Sep 20 15:52:41 2012 New Revision: 191570 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=191570 Log: Backported from mainline 2012-09-14 Jakub Jelinek PR target/54564 * config/i386/sse.md (fmai_vmfmadd_): Use (match_dup 1) instead of (match_dup 0) as second argument to vec_merge. (*fmai_fmadd_, *fmai_fmsub_): Likewise. Remove third alternative. (*fmai_fnmadd_, *fmai_fnmsub_): Likewise. Negate operand 2 instead of operand 1, but put it as first argument of fma. * config/i386/fmaintrin.h (_mm_fnmadd_sd, _mm_fnmadd_ss, _mm_fnmsub_sd, _mm_fnmsub_ss): Negate the second argument instead of the first. Modified: branches/gcc-4_7-branch/gcc/ChangeLog branches/gcc-4_7-branch/gcc/config/i386/fmaintrin.h branches/gcc-4_7-branch/gcc/config/i386/sse.md