From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 41899 invoked by alias); 11 Jan 2016 23:02:04 -0000 Mailing-List: contact fortran-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: fortran-owner@gcc.gnu.org Received: (qmail 41883 invoked by uid 89); 11 Jan 2016 23:02:03 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.1 required=5.0 tests=BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=Hx-languages-length:682, MATMUL, sk:check_c, HTo:U*toon X-HELO: cc-smtpout2.netcologne.de Received: from cc-smtpout2.netcologne.de (HELO cc-smtpout2.netcologne.de) (89.1.8.212) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 11 Jan 2016 23:02:02 +0000 Received: from cc-smtpin2.netcologne.de (cc-smtpin2.netcologne.de [89.1.8.202]) by cc-smtpout2.netcologne.de (Postfix) with ESMTP id 725DA12485; Tue, 12 Jan 2016 00:01:57 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cc-smtpin2.netcologne.de (Postfix) with ESMTP id 6F32611DD8; Tue, 12 Jan 2016 00:01:57 +0100 (CET) Received: from [84.44.208.104] (helo=cc-smtpin2.netcologne.de) by localhost with ESMTP (eXpurgate 4.0.9) (envelope-from ) id 56943465-0b77-7f0000012729-7f000001cb28-1 for ; Tue, 12 Jan 2016 00:01:57 +0100 Received: from [192.168.178.20] (xdsl-84-44-208-104.netcologne.de [84.44.208.104]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by cc-smtpin2.netcologne.de (Postfix) with ESMTPSA; Tue, 12 Jan 2016 00:01:56 +0100 (CET) Subject: Re: [patch, fortran] Fix PR 69154, inline matmul with WHERE To: Toon Moene , fortran@gcc.gnu.org References: <5692469F.8090906@netcologne.de> <56942582.7000307@moene.org> From: Thomas Koenig Message-ID: <56943463.3080703@netcologne.de> Date: Mon, 11 Jan 2016 23:02:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <56942582.7000307@moene.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2016-01/txt/msg00036.txt.bz2 Hi Toon, > Am I correct in assuming that your inlining of MATMUL only treats the > form MATMUL(A, B) and not MATMUL(A, TRANSPOSE(B)) ? > > Our code has about half of one and half of the other ... This is, currently, correct, as Steve pointed out. I have been doing some work on extending this to TRANSPOSE, but have gotten sidetracked by other things in real life... Basically, it would mean extending check_conjg_variable to look for uneven numbers of TRANSPOSE as well, and then change the DO loops and scalarization accordingly. This is the subject of PR 66904. Too late for 6.1, unfortunatly. Regards Thomas