From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 97566 invoked by alias); 7 Sep 2015 15:53:18 -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 97496 invoked by uid 48); 7 Sep 2015 15:53:10 -0000 From: "afomin.mailbox at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/67480] AVX512 bitwise logic operations pattern is incorrect Date: Mon, 07 Sep 2015 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-Version: 6.0 X-Bugzilla-Keywords: assemble-failure, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: afomin.mailbox at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: 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: 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: 2015-09/txt/msg00526.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67480 --- Comment #2 from Alexander Fomin --- Created attachment 36304 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36304&action=edit Proposed fix Proposed fix. Splitting instruction pattern into two patterns, namely: (a) any logic instructions, S/D modes, masking is supported; (b) any logic instructions, Q/H modes, masking is not supported; fixes the problem.