From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 56830 invoked by alias); 20 May 2016 09:30:36 -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 56658 invoked by uid 89); 20 May 2016 09:30:27 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-wm0-f47.google.com Received: from mail-wm0-f47.google.com (HELO mail-wm0-f47.google.com) (74.125.82.47) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Fri, 20 May 2016 09:30:10 +0000 Received: by mail-wm0-f47.google.com with SMTP id n129so263471012wmn.1 for ; Fri, 20 May 2016 02:30:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-transfer-encoding; bh=0jTA86fBqGtV7DxsTiYqgVnf8X+bnb1E9IC3JDlJTD8=; b=AyVymnqyMYdJkXut9eQ25r70JN0gLLN5ZLYvyQZJtZhopms4ScYJ6aINpb6aenqE3G x3lATWE1gnr+iH5Ir1UhdyEcDB27lzcjr2EYAWlF24lcZdwc6TNvx3F8x03nQwN+Q+7K Z5P6NXUX7cK28EYiTjBeTCUOXDXwA+jfmAFrSGud+qHruIiK30ChGZqRTjVs/UxbzOjf y8n/tXJyguYyiYbrWryAkHR8h9hjl4Ewe2Fnfq4B6ejHDwojFthzgTfu0m1O1gWPe2Dd WiEBtkRF1RO6c/HrmhgicX8yks0SA7sq1aX2qifxUS6Ieg1Xrhs9kKaDjD65jxTEad2q 570g== X-Gm-Message-State: AOPr4FUQlgtu5tSreUW5kvs6MzK5QOn+twPqd9G0Vvsm9D2UyGh0lUA3udE4OPAmZiRisTuCQHI5fqh8dkAVJg== MIME-Version: 1.0 X-Received: by 10.28.46.19 with SMTP id u19mr2525977wmu.98.1463736607816; Fri, 20 May 2016 02:30:07 -0700 (PDT) Received: by 10.194.87.34 with HTTP; Fri, 20 May 2016 02:30:07 -0700 (PDT) In-Reply-To: References: Date: Fri, 20 May 2016 09:30:00 -0000 Message-ID: Subject: Re: [PATCH] Fix PR tree-optimization/71179 From: Richard Biener To: Kugan Vivekanandarajah Cc: "gcc-patches@gcc.gnu.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2016-05/txt/msg01608.txt.bz2 On Fri, May 20, 2016 at 4:13 AM, Kugan Vivekanandarajah wrote: > Hi, > > We don=E2=80=99t allow vector type for integer. Likewise I am also disall= owing > the floating point vector type in transforming repeated addition to > multiplication. > > This can be relaxed. I will send a separate patch to allow integer and > floating point vectorization later. > > Bootstrapped and regression tested on x86-64-linux-gnu with no new regres= sions. > > Is this OK for trunk? Ok. Thanks, Richard. > Thanks, > Kugan > > gcc/testsuite/ChangeLog: > > 2016-05-20 Kugan Vivekanandarajah > > * gcc.dg/tree-ssa/pr71179.c: New test. > > gcc/ChangeLog: > > 2016-05-20 Kugan Vivekanandarajah > > * tree-ssa-reassoc.c (transform_add_to_multiply): Disallow float > VECTOR type.