Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Greg Lindahl <lindahl@cs.virginia.edu>
To: axp-list@redhat.com
Subject: Re: XP1000 and Linux
Date: Mon, 22 Mar 1999 09:38:25 -0500 (EST)	[thread overview]
Message-ID: <199903221438.JAA07994@adder.cs.Virginia.EDU> (raw)
In-Reply-To: <36F6024B.1C25B31C@paralleldata.com> from "Wes Bauske" at Mar 22, 99 02:41:47 am

> 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.

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.

-- g


  reply	other threads:[~1999-03-22 14:50 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 [this message]
1999-03-22 17:03         ` Wes Bauske
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