From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20047 invoked by alias); 12 Oct 2011 20:24:15 -0000 Received: (qmail 20039 invoked by uid 22791); 12 Oct 2011 20:24:15 -0000 X-SWARE-Spam-Status: No, hits=-6.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,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; Wed, 12 Oct 2011 20:24:01 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p9CKO0ZA013088 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 12 Oct 2011 16:24:00 -0400 Received: from anchor.twiddle.net (vpn-237-55.phx2.redhat.com [10.3.237.55]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p9CKNxv3003400; Wed, 12 Oct 2011 16:24:00 -0400 Message-ID: <4E95F75F.3080900@redhat.com> Date: Wed, 12 Oct 2011 20:57:00 -0000 From: Richard Henderson User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20110927 Thunderbird/7.0 MIME-Version: 1.0 To: Jakub Jelinek CC: Uros Bizjak , gcc-patches@gcc.gnu.org Subject: Re: [PATCH] Slightly fix up vgather* patterns (take 2) References: <20111008154322.GQ19412@tyan-ft48-01.lab.bos.redhat.com> <4E9359F5.5030609@redhat.com> <20111012182547.GF2210@tyan-ft48-01.lab.bos.redhat.com> In-Reply-To: <20111012182547.GF2210@tyan-ft48-01.lab.bos.redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: 2011-10/txt/msg01030.txt.bz2 On 10/12/2011 11:25 AM, Jakub Jelinek wrote: > * config/i386/sse.md (avx2_gathersi, > avx2_gatherdi, avx2_gatherdi256): Add clobber of > match_scratch, change memory_operand to register_operand, > add (mem:BLK (scratch)) use. > (*avx2_gathersi, *avx2_gatherdi, > *avx2_gatherdi256): Add clobber of match_scratch, > add earlyclobber to the output operand and match_scratch, > add (mem:BLK (scratch)) use, change the other mem to match_operand. > Use %p6 instead of %c6 in the pattern. > * config/i386/i386.c (ix86_expand_builtin): Adjust for > operand 2 being a Pmode register_operand instead of memory_operand. Ok. It looks like these 4 patterns could be macro-ized some more. But that can wait for a follow-up. r~