From: Hoff Hoffman <hoff-remove-this@hp.com>
Subject: Re: VAX floating-point instruction timing?
Date: Tue, 05 Sep 2006 17:32:20 -0400 [thread overview]
Message-ID: <44fdecd9@usenet01.boi.hp.com> (raw)
In-Reply-To: <Pine.LNX.4.61.0609052200410.24376@ask.diku.dk>
Peter "Firefly" Lund wrote:
> 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).
The VLSI-based VAX systems used microcode, too.
>> About all you can count on is that a NOP in the instruction cache
>> should be one cycle.
>
> On a microcoded machine? Not necessarily ;)
I'd have to check the architecture specs to see if that was a certainty, but
I'd tend to assume that some VAX systems used more than one cycle for a NOP. It
may well have been less than a cycle in some cases, depending on whether it was
compressed out of the instruction stream. (On VAX 9000?) NOP was also useful
for branch alignment, as unaligned branches were slower than aligned branches.
> (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.)
IIRC, it was a 188 bit microword on the VAX-11/780, and 80 on the VAX-11/750.
And not all cycles and not all ticks are necessarily the same length.
>> 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.
And various VAX families used different microarchitectures, and instruction
subsets can and did vary across the VAX family. In various cases, it was faster
to execute a series of discrete instructions than some of the more complex
instructions. CRC comes to mind here.
> They are also very useful for optimization purposes, particularly if the
> microarchitecture is simple.
I've never heard a VAX referred to as "simple," and a VAX microarchitecture
is not "simple.". (Dig around for any discussions of the WCS Writable Control
Store option if you want details of what one VAX looked like. The WCS allowed
user-written microcode for the VAX-11/780, and there were some folks that wanted
or needed that extra margin of performance enough to use WCS.)
I remember the "fun" that this tuning approach (and WCS, for that matter) led
to decades ago. (And back when computes where truly scarce.) Sure, you can
tune an instruction stream for one VAX model, but the effort could be wasted on
the next. The VAX-11/790 (officially released as the VAX 8600) had its own
coding oddities, for instance, and the subset VAX systems have their own
considerations -- most VAX systems had instruction oddities, and you'll find
occasional artifacts of a few of these lurking within present-day OpenVMS VAX
itself.
And then there's the old 700 microinstructions per programmer per year
benchmark... (Maybe from Bell Labs?)
> "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.
And you have to expect to toss all your careful profiling work out and start
over again either periodically -- there were several releases of microcode for
various VAX systems, and more than a few of the instruction tuners had to
re-tune -- or when you moved to a different VAX platform. (Or when the data was
aligned versus unaligned.)
The old black processor binders (black five-ring binders with a white grill
pattern) had the microcode listings for various of the VAX-11 series boxes. And
the WCS option had tools and such for one of the boxes.
BitSavers (<http://www.bitsavers.org/>) claims to have:
dec/vax/AA-H306B_780uprogToolsMar82.pdf VAX-11/780 Microprogramming Tools User's
Guide (Mar 1982)
next prev parent reply other threads:[~2006-09-05 21:32 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
2006-09-05 21:32 ` Hoff Hoffman [this message]
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