From patchwork Tue Nov 6 18:58:58 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uros Bizjak X-Patchwork-Id: 197537 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 069E02C00A3 for ; Wed, 7 Nov 2012 05:59:10 +1100 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1352833151; h=Comment: DomainKey-Signature:Received:Received:Received:Received: MIME-Version:Received:Received:Date:Message-ID:Subject:From:To: Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:Sender:Delivered-To; bh=9Y2R4TE DGwNR8Gv3QsKjht6lnFA=; b=NI/qY6WHlBuofxlh0vNl5Pfo+gUUl6wUINcqMDG sLlE7A+bXIK3Rjlqndhmj44I5Xg24pyzDWaofqhtiosJ6nGScBoLPr+qJCbMz5aE DQ51JqvTVudLYVHl8zaXtwco3hm1q2SLB3RN6rT+VZ9axn6lgs53T9PoW65vcLQl ppDA= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:MIME-Version:Received:Received:Date:Message-ID:Subject:From:To:Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=E+evkX6HUz4a7LtgQ2n6URt2OnrdBiRDSa2Tw/UP7YfP/hdfO0q45NeJ8ofMFW RbMIT1i+JG2tWjxHCNc+/TiP95piMnFg4F3HrauxHCqR7LJLKNiLFhiOqiXmbNfy HdCSyrGZTZFRmzqqBPh8z/x06YzGhdZrxoCnu2q277tA0=; Received: (qmail 4744 invoked by alias); 6 Nov 2012 18:59:06 -0000 Received: (qmail 4736 invoked by uid 22791); 6 Nov 2012 18:59:06 -0000 X-SWARE-Spam-Status: No, hits=-4.1 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, KHOP_RCVD_TRUST, RCVD_IN_DNSWL_LOW, RCVD_IN_HOSTKARMA_YE, TW_AV, TW_VX, TW_ZJ X-Spam-Check-By: sourceware.org Received: from mail-pa0-f47.google.com (HELO mail-pa0-f47.google.com) (209.85.220.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 06 Nov 2012 18:58:59 +0000 Received: by mail-pa0-f47.google.com with SMTP id fa11so512899pad.20 for ; Tue, 06 Nov 2012 10:58:58 -0800 (PST) MIME-Version: 1.0 Received: by 10.66.80.66 with SMTP id p2mr4985914pax.84.1352228338515; Tue, 06 Nov 2012 10:58:58 -0800 (PST) Received: by 10.66.246.232 with HTTP; Tue, 6 Nov 2012 10:58:58 -0800 (PST) Date: Tue, 6 Nov 2012 19:58:58 +0100 Message-ID: Subject: [PATCH, i386]: Mark AVX maskstore memory operand as read-written From: Uros Bizjak To: gcc-patches@gcc.gnu.org Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Hello! We don't mark memory operand 0 of AVX maskstore insn as read-written. 2012-11-06 Uros Bizjak * config/i386/sse.md (_maskstore): Mark operand 0 as read and written by the instruction. Tested on x86_64-pc-linux-gnu, committed to mainline SVN, will be backported to 4.7 branch. Uros. Index: config/i386/sse.md =================================================================== --- config/i386/sse.md (revision 193243) +++ config/i386/sse.md (working copy) @@ -11067,7 +11067,7 @@ (set_attr "mode" "")]) (define_insn "_maskstore" - [(set (match_operand:V48_AVX2 0 "memory_operand" "=m") + [(set (match_operand:V48_AVX2 0 "memory_operand" "+m") (unspec:V48_AVX2 [(match_operand: 1 "register_operand" "x") (match_operand:V48_AVX2 2 "register_operand" "x")