From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21940 invoked by alias); 6 Nov 2012 22:18:26 -0000 Received: (qmail 21931 invoked by uid 22791); 6 Nov 2012 22:18:25 -0000 X-SWARE-Spam-Status: No, hits=-6.5 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_SPAMHAUS_DROP,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 06 Nov 2012 22:18:17 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qA6MIGe4007218 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 6 Nov 2012 17:18:16 -0500 Received: from zalov.redhat.com (vpn1-7-86.ams2.redhat.com [10.36.7.86]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id qA6MIFtW002642 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 6 Nov 2012 17:18:16 -0500 Received: from zalov.cz (localhost [127.0.0.1]) by zalov.redhat.com (8.14.5/8.14.5) with ESMTP id qA6MIEll030373; Tue, 6 Nov 2012 23:18:14 +0100 Received: (from jakub@localhost) by zalov.cz (8.14.5/8.14.5/Submit) id qA6MIETO030372; Tue, 6 Nov 2012 23:18:14 +0100 Date: Tue, 06 Nov 2012 22:18:00 -0000 From: Jakub Jelinek To: "H.J. Lu" Cc: Kirill Yukhin , Uros Bizjak , Vladimir Yakovlev , gcc-patches@gcc.gnu.org Subject: Re: [PATCH] Vzeroupper placement/47440 Message-ID: <20121106221813.GZ1881@tucnak.redhat.com> Reply-To: Jakub Jelinek References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2012-11/txt/msg00584.txt.bz2 On Tue, Nov 06, 2012 at 02:11:50PM -0800, H.J. Lu wrote: > On Tue, Nov 6, 2012 at 2:30 AM, Kirill Yukhin wrote: > > Hello, > >> OK for mainline SVN, please commit. > > Checked into GCC trunk: http://gcc.gnu.org/ml/gcc-cvs/2012-11/msg00176.html > > > > Thanks, K > > This caused: > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55224 Not only that, it also broke --enable-checking=yes,rtl bootstrap. SET_DEST isn't valid on CALL, but XEXP (call, 0) is a MEM anyway and the code looks for reg, so I think looking for CALL was just a mistake. This fixes the bootstrap, ok for trunk? 2012-11-06 Jakub Jelinek * config/i386/i386.c (ix86_avx_u128_mode_after): Don't look for reg in CALL operand. --- gcc/config/i386/i386.c.jj 2012-11-06 18:10:22.000000000 +0100 +++ gcc/config/i386/i386.c 2012-11-06 20:15:09.068912242 +0100 @@ -15084,9 +15084,9 @@ ix86_avx_u128_mode_after (int mode, rtx /* Check for CALL instruction. */ if (CALL_P (insn)) { - if (GET_CODE (pat) == SET || GET_CODE (pat) == CALL) + if (GET_CODE (pat) == SET) reg = SET_DEST (pat); - else if (GET_CODE (pat) == PARALLEL) + else if (GET_CODE (pat) == PARALLEL) for (i = XVECLEN (pat, 0) - 1; i >= 0; i--) { rtx x = XVECEXP (pat, 0, i); Jakub