From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 1592 invoked from network); 24 Mar 1999 05:21:33 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 24 Mar 1999 05:21:33 -0000 Received: from paralleldata.com (smtp.paralleldata.com [38.153.145.2]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id AAA30872 for ; Wed, 24 Mar 1999 00:08:28 -0500 Received: by paralleldata.com from localhost (router,SLMail V2.5); Tue, 23 Mar 1999 23:11:36 -0600 Received: by paralleldata.com from paralleldata.com (209.196.65.174::mail daemon; unverified,SLMail V2.5); Tue, 23 Mar 1999 23:11:35 -0600 Sender: "Wsb" Message-ID: <36F872A5.20006D2@paralleldata.com> Date: Tue, 23 Mar 1999 23:05:41 -0600 From: "Wes Bauske" Organization: Parallel Data Systems X-Mailer: Mozilla 4.07 [en] (X11; I; Linux 2.0.36 i686) MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: loop unrolling [Re: XP1000 and Linux] References: <278EEF4F1348D211940600A0C95BCF7F1F01AC@yellow-fin.alpha-processor.com> <36F5D151.58FA7D47@paralleldata.com> <19990322012259.A22287@twiddle.net> <36F67A84.945C68B@paralleldata.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Wes Bauske wrote: > > Richard Henderson wrote: > > > > On Sun, Mar 21, 1999 at 11:12:49PM -0600, Wes Bauske wrote: > > > I do have a comment about how gcc unrolls loops.... > > > > If you had to force unrolling with -funroll-all-loops, > > it means gcc got confused about the loop latch. Which > > entirely explains any losage you see in the unrolling. > > > > There have been some bug fixes related to latch detection > > recently -- some of them stupid. If you're not currently > > using egcs cvs, give it a shot and see if it does better. > > > Now that I have egcs1.1.2 building correctly, I'm back looking at stream_d and loop unrolling issues. I grabbed the 'egcs' tree from anonymous cvs and built it. When I try to do -funroll-loops, it still does nothing to the streams C code. So, the current cvs code, as of this afternoon, still doesn't recognize the stream_d loops as needing to be unrolled. If you use -funroll-all-loops, the code looks the same as egcs1.1.2. Wes