From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 104111 invoked by alias); 23 Jun 2017 13:17:34 -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 104097 invoked by uid 89); 23 Jun 2017 13:17:34 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy= X-HELO: mail3-relais-sop.national.inria.fr Received: from mail3-relais-sop.national.inria.fr (HELO mail3-relais-sop.national.inria.fr) (192.134.164.104) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 23 Jun 2017 13:17:32 +0000 Received: from 91.70.140.77.rev.sfr.net (HELO stedding) ([77.140.70.91]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Jun 2017 15:17:30 +0200 Date: Fri, 23 Jun 2017 13:17:00 -0000 From: Marc Glisse Reply-To: gcc-patches@gcc.gnu.org To: Richard Biener cc: gcc-patches@gcc.gnu.org, ubizjak@gmail.com Subject: Re: [PATCH] Fix PR81175, make gather builtins pure In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-SW-Source: 2017-06/txt/msg01780.txt.bz2 On Fri, 23 Jun 2017, Richard Biener wrote: > The vectorizer is confused about the spurious VDEFs that are caused > by gather vectorization so the following avoids them by making the > builtins pure appropriately. > > Bootstrap / regtest pending on x86_64-unknown-linux-gnu, ok for > trunk and branch? > > Thanks, > Richard. > > 2017-06-23 Richard Biener > > PR target/81175 > * config/i386/i386.c (struct builtin_isa): Add pure_p member. > (def_builtin2): Initialize pure_p. > (ix86_add_new_builtins): Honor pure_p. > (def_builtin_pure): New function. If you svn update (or equivalent), you will notice that the above is already available ;-) -- Marc Glisse