From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 98959 invoked by alias); 16 Jun 2017 15:14:56 -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 98881 invoked by uid 89); 16 Jun 2017 15:14:55 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=Hx-languages-length:276, H*r:ip*192.168.1.11 X-Spam-User: qpsmtpd, 2 recipients X-HELO: nef2.ens.fr Received: from nef2.ens.fr (HELO nef2.ens.fr) (129.199.96.40) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 16 Jun 2017 15:14:53 +0000 Received: from mailhost.lps.ens.fr (tournesol.lps.ens.fr [129.199.120.1]) by nef2.ens.fr (8.13.6/1.01.28121999) with ESMTP id v5GFEsbX067497 ; Fri, 16 Jun 2017 17:14:55 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mailhost.lps.ens.fr (Postfix) with ESMTP id BAA3F12A; Fri, 16 Jun 2017 17:14:54 +0200 (CEST) Received: from mailhost.lps.ens.fr ([127.0.0.1]) by localhost (tournesol.lps.ens.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id V2Po0CxL-AuZ; Fri, 16 Jun 2017 17:14:54 +0200 (CEST) Received: from [192.168.1.11] (log78-1-82-242-47-10.fbx.proxad.net [82.242.47.10]) by mailhost.lps.ens.fr (Postfix) with ESMTPSA id 8814A11B; Fri, 16 Jun 2017 17:14:54 +0200 (CEST) From: =?utf-8?Q?Dominique_d=27Humi=C3=A8res?= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: [patch, libfortran] Speed up cshift for dim > 1 Message-Id: Date: Fri, 16 Jun 2017 15:14:00 -0000 Cc: gfortran , gcc-patches To: Thomas Koenig X-SW-Source: 2017-06/txt/msg01206.txt.bz2 Hi Thomas, Your patch works as advertised! For the record, the following CSHIFT is sti= ll 4 times slower than the DO loop td(:,:) =3D cshift(array=3Dt(:,:), shift=3Dvect(:), dim=3D1) Thanks for working on this issue. Dominique