Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: Seasons Greetings from a new platform :-) (fwd)
@ 1997-12-16 16:56 Bill Broadley
  0 siblings, 0 replies; 8+ messages in thread
From: Bill Broadley @ 1997-12-16 16:56 UTC (permalink / raw)


>Normally speculative execution refers to the ability to simultaneously 
>execute both the fall-through and the else path, and then to select the 
>right one (discarding the other ) when the truth value of the test is 
>known.

Many many cpu's execute speculatively (P6, PII, R10k, Ultrasparc, Alpha
264, PA-8000, etc).

Executing BOTH paths after a branch is very rare.  Branch prediction is
common, following both isn't.  Much research, chip real-estate etc goes
into branch prediction, following both is just too resource intensive.

Keep in mind that a branch usually comes up every 5-7 instructions,
and more aggressive cpu's can speculatively execute up to 4 of
them I believe.   Keeping track of 16 states would be much harder
then 4.

I don't think any current superscalar risc follows both paths
of a branch, I welcome corrections though.

BTW I don't know of an if statement in asm language either.  Just
branch/jump in various flavors.

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: Seasons Greetings from a new platform :-) (fwd)
@ 1997-12-17 14:55 Przemek Klosowski
  0 siblings, 0 replies; 8+ messages in thread
From: Przemek Klosowski @ 1997-12-17 14:55 UTC (permalink / raw)


Many many cpu's execute speculatively (P6, PII, R10k, Ultrasparc, Alpha
   264, PA-8000, etc).

	...

   BTW I don't know of an if statement in asm language either.  Just
   branch/jump in various flavors.

Actually, no if statements per se, but conditional moves are becoming more and
more popular (I believe that ARM was the first mass-produced CPU using it, and now
Intel's IA64 is heavily based on them). This is what I meant by executing 'both'
paths of code simultaneously---I apologize for imprecise wording.

The newsgroup comp.arch has a lot of rather informed discussion of such issues.

	p

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 8+ messages in thread
[parent not found: <199712161656.IAA20004@avalon.webannex.com>]
* Re: Seasons Greetings from a new platform :-) (fwd)
@ 1997-12-15 16:37 Bill Broadley
  0 siblings, 0 replies; 8+ messages in thread
From: Bill Broadley @ 1997-12-15 16:37 UTC (permalink / raw)


> 	   "The 21264 is a four-way out-of-order-issue microprocessor
> 	    that performs dynamic scheduling, register renaming, and
> 	    speculative execution."
> >>>>>>>>>>>>^^^^^^^^^^^^^^^^^^^^^^
> 
> I've heard of `speculative execution' in the stock market, but
> ... what is this in a microprocessor?

It means the 21264 will execute instructions that is doesn't KNOW
will need to be executed.  It's just assuming previous guess on
which way a branch will go is right.   This helps prevent the
latency associated with waiting for calculations that branches
depend on to finish.

Hopefully your right and execution continues (you speculated correctly),
but sometimes you don't and all the speculative instructions after
the point you guessed wrong are thrown away, machine state restored,
and resumed in the correct direction.

--
Bill Broadley           Bill@math.ucdavis.edu               UCD Math Sys-Admin
Linux is great.         http://math.ucdavis.edu/~bill                   PGP-ok

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: Seasons Greetings from a new platform :-) (fwd)
@ 1997-12-12 23:40 Bill Broadley
  1997-12-14 14:05 ` bert hubert
  0 siblings, 1 reply; 8+ messages in thread
From: Bill Broadley @ 1997-12-12 23:40 UTC (permalink / raw)


>Well, *I* thought it was interesting regardless of its "bogosity"... ;-}

It is interesting.

>The reason I thought so, was because on *all* previous Alpha CPUs, the
>BogoMIPS was *very* closely related to the MHz at which the processor was
>running, no matter which CPU (EV4/LCA4/EV45/LCA45/EV5/EV56/PCA56).

>	"The 21264 is a four-way out-of-order-issue microprocessor
>	 that performs dynamic scheduling, register renaming, and
>	 speculative execution."
>
>So, its, uh, probably because of one (or more) of those things... ;-}

A good sign, not a great sign.  This means a 21264 can get a similiar
work done per clock as a Pentium-MMX chip that has none of the
above. (gets 2 bogomips per mhz).

Not that I'm not sure that better benchmarks will not show greater
performance...

I humbly offer my servious to benchmark the hell out of any 264
I can get access to ;-)

--
Bill Broadley           Bill@math.ucdavis.edu               UCD Math Sys-Admin
Linux is great.         http://math.ucdavis.edu/~bill                   PGP-ok

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~1997-12-17 14:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-12-16 16:56 Seasons Greetings from a new platform :-) (fwd) Bill Broadley
  -- strict thread matches above, loose matches on Subject: below --
1997-12-17 14:55 Przemek Klosowski
     [not found] <199712161656.IAA20004@avalon.webannex.com>
1997-12-16 23:27 ` Tom Linden
1997-12-17  2:14 ` Jon Bernard
1997-12-17  9:20 ` Richard Henderson
1997-12-15 16:37 Bill Broadley
1997-12-12 23:40 Bill Broadley
1997-12-14 14:05 ` bert hubert

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