Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: "Peter \"Firefly\" Lund" <firefly@diku.dk>
Subject: Re: VAX floating-point instruction timing?
Date: Tue, 5 Sep 2006 22:15:59 +0200	[thread overview]
Message-ID: <Pine.LNX.4.61.0609052200410.24376@ask.diku.dk> (raw)
In-Reply-To: <KDPz7Ar4DQUR@eisner.encompasserve.org>

On Tue, 5 Sep 2006, Bob Koehler wrote:

>   DEC never published counts for any of the VAX instructions.  A trivial

I have the cycle counts for the VLSI VAXen's integer instructions (except 
for mul/div in most cases).  Depending on the chip, they might or might 
not include the time it takes to decode the operand specifiers and fetch 
the operands.

>   program will demonstrate how much it depends on instruction cache hits,
>   data cache hits, interupts (some of the more complex instructions can be
>   interupted partially executed), page faults (can cause all or part of an
>   instruction to be re-executed), software implemented subsets, FPA options,
>   and in many cases data.

I find it hard not to read this as "you are stupid or naive, kid, let me 
tell you how it works".

I hope that was not the intent :)

>   About all you can count on is that a NOP in the instruction cache
>   should be one cycle.

On a microcoded machine?  Not necessarily ;)

(Yes, it was one cycle on the VLSI VAXen -- was it on VAX 11/780, too?  I 
know next to nothing about its cycle times, unfortunately.)

>   Cycle counts are about as usefull as Marketing Instructions Per
>   Second, which have the same and a few more issues.

They are very useful if you are trying to understand the various 
microarchitectures used.

They are also very useful for optimization purposes, particularly if the 
microarchitecture is simple.  "Pairing"/multiple issue rules (Pentium, 
68060, Alpha 21064, Alpha 21164) make it harder.  Out-of-order execution 
makes it almost impossible -- but cycle counts and issue rates are still 
very useful hints, you just need to profile more carefully.

-Peter


  reply	other threads:[~2006-09-05 20:15 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-02  5:18 VAX floating-point instruction timing? Peter "Firefly" Lund
2006-09-05 12:50 ` Bob Koehler
2006-09-05 20:15   ` Peter "Firefly" Lund [this message]
2006-09-05 21:32     ` Hoff Hoffman
2006-09-06  3:19       ` Peter "Firefly" Lund
2006-09-06 12:14         ` Bart Z. Lederman
2006-09-06 12:27           ` Peter "Firefly" Lund
2006-09-06 13:09           ` Peter "Firefly" Lund
2006-09-06 14:56         ` Hoff Hoffman
2006-09-06 21:32           ` Peter "Firefly" Lund
2006-09-07  3:16             ` Hoff Hoffman
2006-09-07 16:32               ` Peter "Firefly" Lund
2006-09-07 18:19                 ` Hoff Hoffman
2006-09-08  2:10                   ` Peter "Firefly" Lund
2006-09-08 16:21                     ` Hoff Hoffman
2006-09-07 21:10               ` Bob Koehler
2006-09-08 11:07                 ` Bob Willard
2006-09-08 19:45                   ` Alan Adams
2006-09-08 21:41                     ` Bob Koehler
2006-09-09  6:10                 ` prep
2006-09-09 20:28                   ` Don North
2006-09-12 13:34                   ` Bob Koehler
2006-09-06 23:01       ` Peter "Firefly" Lund
2006-09-06 17:50   ` prep
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