Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Wes Bauske" <wsb@paralleldata.com>
To: axp-list@redhat.com
Subject: Re: XP1000 and Linux
Date: Mon, 22 Mar 1999 11:03:21 -0600	[thread overview]
Message-ID: <36F677D9.52FF8544@paralleldata.com> (raw)
In-Reply-To: 199903221438.JAA07994@adder.cs.Virginia.EDU

Greg Lindahl wrote:
> 
> > Looks like it uses conditionals to decide when to do wh64.
> 
> It has to. You don't know the alignment of the variables at the start
> of the loop, so you'd have to test and have a leader and trailer
> instead of just a trailer. But if you were writing multiple variables,
> undoubtedly they'd have different alignment. So the easiest trick is
> to use 1 conditional for each wh64. I don't know if the 21264's branch
> prediction is good enough to avoid a bubble for a branch which is
> taken 1/8 of the time, but avoiding extra main memory traffic is a
> huge win.
> 

One would assume so if their compiler uses that style of
code.

> We could easily figure out a bit of code that has an if() and one
> asm() statement that allows us to do this by hand in egcs-compiled
> codes. In order for egcs to generate this automatically, it would have
> to know that the loop was big enough to make it worthwhile, and also
> that the array in question was not read-before-written in the loop.
> 

Figuring out whether the data is read should be easier
for simple cases. The harder cases require the compiler to
runtime check for array overlap to decide when to use the
wh64 opcode. So, then it starts to become clear why they
chose the method they did. Their style would allow use of wh64
on any non-overlapped sections of the array.

Need to see about cvs access to the latest egcs for the
unroll loop stuff Richard mentioned.


Wes


  reply	other threads:[~1999-03-22 17:18 UTC|newest]

Thread overview: 61+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-22  0:21 XP1000 and Linux Stig Telfer
1999-03-22  0:55 ` Greg Lindahl
1999-03-22  2:10 ` Richard Henderson
1999-03-22  5:12 ` Wes Bauske
1999-03-22  5:51   ` Wes Bauske
1999-03-22  8:41     ` Wes Bauske
1999-03-22 14:38       ` Greg Lindahl
1999-03-22 17:03         ` Wes Bauske [this message]
1999-03-22 19:11           ` Keystroke loggers Aaron
1999-03-22  9:22   ` loop unrolling [Re: XP1000 and Linux] Richard Henderson
1999-03-22 17:14     ` Wes Bauske
1999-03-23  2:43       ` Richard Henderson
1999-03-23  4:57         ` Wes Bauske
1999-03-22 11:58           ` Newbie Needs Milo Help SteveCraft
1999-03-23 18:39             ` Ron Farrer
1999-03-23  7:05           ` ev6 tlb consistency Richard Henderson
1999-03-23 18:22             ` Wes Bauske
1999-03-23 19:38               ` Jay.Estabrook
1999-03-23  8:56         ` loop unrolling [Re: XP1000 and Linux] Harvey J. Stein
1999-03-24  5:05       ` Wes Bauske
  -- strict thread matches above, loose matches on Subject: below --
1999-03-20  8:27 XP1000 and Linux Thomas Leitner
1999-03-20  9:00 ` Wes Bauske
1999-03-20 10:40   ` Thomas Leitner
1999-03-21  0:42     ` Wes Bauske
1999-03-21  3:25       ` Wes Bauske
1999-03-21 19:40       ` Greg Lindahl
1999-03-21 20:43         ` Wes Bauske
1999-03-21 21:07           ` Greg Lindahl
1999-03-22  3:03             ` Wes Bauske
1999-03-22  3:18               ` Greg Lindahl
1999-03-24  0:57         ` Bill Broadley
1999-03-24  1:12           ` Greg Lindahl
1999-03-24  1:26             ` Bill Broadley
1999-03-24  3:13               ` Greg Lindahl
1999-03-24  4:19             ` Maurice Hilarius
1999-03-24  5:02               ` Jay.Estabrook
1999-03-24 15:49                 ` Greg Lindahl
1999-03-24 18:16                   ` Wes Bauske
1999-03-18 18:26 John Jemiolo
1999-03-18 20:06 ` Wes Bauske
1999-03-18 23:16 ` Wes Bauske
1999-03-18 16:05 Hoover, Tony
1999-03-18 17:18 ` Wes Bauske
1999-03-18  7:00 Wes Bauske
1999-03-18  7:48 ` Bill Broadley
1999-03-18 16:58   ` Wes Bauske
1999-03-18 17:18     ` Greg Lindahl
1999-03-18 20:01       ` Wes Bauske
1999-03-18 20:58         ` Greg Lindahl
1999-03-18 21:30           ` Wes Bauske
1999-03-19 20:34       ` Maurice Hilarius
1999-03-19 21:03         ` Greg Lindahl
1999-03-19 23:35           ` Wes Bauske
1999-03-20  5:37           ` Bill Roman
1999-03-24  3:27           ` Maurice Hilarius
1999-03-18 10:17 ` Matti Aarnio
1999-03-18 14:35 ` Greg Lindahl
1999-03-18 17:29 ` Jay.Estabrook
1999-03-24  2:20   ` Maurice Hilarius
1999-03-24 17:56     ` Oleg Gusev
1999-03-24 20:09       ` Maurice Hilarius
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox