From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27577 invoked by alias); 13 Jan 2014 18:26:28 -0000 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 Received: (qmail 27567 invoked by uid 89); 13 Jan 2014 18:26:27 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-yh0-f41.google.com Received: from mail-yh0-f41.google.com (HELO mail-yh0-f41.google.com) (209.85.213.41) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Mon, 13 Jan 2014 18:26:26 +0000 Received: by mail-yh0-f41.google.com with SMTP id i57so1113482yha.0 for ; Mon, 13 Jan 2014 10:26:23 -0800 (PST) X-Received: by 10.236.209.168 with SMTP id s28mr4846082yho.82.1389637583547; Mon, 13 Jan 2014 10:26:23 -0800 (PST) Received: from msticlxl57.ims.intel.com ([192.55.54.42]) by mx.google.com with ESMTPSA id c44sm28940211yho.20.2014.01.13.10.26.20 for (version=TLSv1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 13 Jan 2014 10:26:22 -0800 (PST) Date: Mon, 13 Jan 2014 18:26:00 -0000 From: Kirill Yukhin To: Jakub Jelinek Cc: Uros Bizjak , Richard Biener , "gcc-patches@gcc.gnu.org" Subject: Re: Patch ping Message-ID: <20140113182613.GD24431@msticlxl57.ims.intel.com> References: <20140113080711.GS892@tucnak.redhat.com> <20140113083501.GT892@tucnak.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140113083501.GT892@tucnak.redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes X-SW-Source: 2014-01/txt/msg00742.txt.bz2 Hello, On 13 Jan 09:35, Jakub Jelinek wrote: > On Mon, Jan 13, 2014 at 09:15:14AM +0100, Uros Bizjak wrote: > > On Mon, Jan 13, 2014 at 9:07 AM, Jakub Jelinek wrote: > > Kirill, is it possible for you to test the patch in the simulator? Do > > we have a testcase in gcc's testsuite that can be used to check this > > patch? > > E.g. gcc.target/i386/avx2-gather* and avx512f-gather*. This tests are for built-in generation. The issue is connected to auto code gen. It seems to be working, we have for hss2a.fppized.f: .L402: vmovdqu64 (%rdi,%rax), %zmm1 kmovw %k1, %k3 kmovw %k1, %k2 kmovw %k1, %k4 kmovw %k1, %k5 addl $1, %esi vpgatherdd npwrx.4971-4(,%zmm1,4), %zmm0{%k3} vpgatherdd (%r10,%zmm1,4), %zmm2{%k2} vpmulld %zmm3, %zmm0, %zmm0 vpaddd %zmm7, %zmm0, %zmm0 vmovdqu32 %zmm0, (%r11,%rax) vpgatherdd npwry.4973-4(,%zmm1,4), %zmm0{%k4} vpmulld %zmm3, %zmm0, %zmm0 vpaddd %zmm6, %zmm0, %zmm0 vmovdqu32 %zmm0, (%r9,%rax) vpgatherdd npwrz.4975-4(,%zmm1,4), %zmm0{%k5} vpmulld %zmm3, %zmm0, %zmm0 vpaddd %zmm5, %zmm0, %zmm0 vmovdqu32 %zmm0, (%r14,%rax) vpaddd %zmm2, %zmm4, %zmm0 vmovdqa64 %zmm0, (%r15,%rax) addq $64, %rax cmpl %esi, %edx ja .L402 So, I vote that patch is working. -- Thanks, K