From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16954 invoked by alias); 7 May 2014 15:55:14 -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 16882 invoked by uid 55); 7 May 2014 15:55:10 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/57623] BEXTR intrinsic has memory operands switched around (fails to compile code) Date: Wed, 07 May 2014 15:55: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.8.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW 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: 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: 2014-05/txt/msg00528.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57623 --- Comment #16 from Jakub Jelinek --- Author: jakub Date: Wed May 7 15:54:34 2014 New Revision: 210166 URL: http://gcc.gnu.org/viewcvs?rev=210166&root=gcc&view=rev Log: Backported from mainline 2013-06-27 Jakub Jelinek PR target/57623 * config/i386/i386.md (bmi2_bzhi_3): Swap AND arguments to match RTL canonicalization. Swap predicates and constraints of operand 1 and 2. * gcc.target/i386/bmi2-bzhi-1.c: New test. Added: branches/gcc-4_7-branch/gcc/testsuite/gcc.target/i386/bmi2-bzhi-1.c Modified: branches/gcc-4_7-branch/gcc/ChangeLog branches/gcc-4_7-branch/gcc/config/i386/i386.md branches/gcc-4_7-branch/gcc/testsuite/ChangeLog