Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: mschmit@ix.netcom.com (Mike Schmit)
Subject: Re: DEC 5000/133 vs Pentium
Date: 1995/05/16	[thread overview]
Message-ID: <3pan2q$9sl@ixnews3.ix.netcom.com> (raw)
In-Reply-To: 3p8tvb$gsc@onramp.arc.nasa.gov

In <3p8tvb$gsc@onramp.arc.nasa.gov> lamaster@viking.arc.nasa.gov (Hugh LaMaster)
writes: 
>
>Apologies for following up my own post.  Since
>nobody posted to explain why I am being so naive,
>I thought I should ask the same question again:
>
>In article <3om9kl$mjt@onramp.arc.nasa.gov>, 
>lamaster@viking.arc.nasa.gov (Hugh LaMaster) writes:
>
>|> Why not just run some codes which show big performance 
>|> differences between the Pentium and 486 code, profile the
>|> code on each architecture and compiler, find some 
>|> likely-looking lines of code, and look at what differences
>|> there are in the generated code.  Given the announced
>|> capabilities of the Pentium, these ought to be things
>|> like how to pack 128-bit chunks of instructions so that
>|> they execute in the minimum number of cycles.  Obvious
>|> optimizations might be trying to pack combinations of
>|> address-generating, loads/stores, and FPU instructions.
>|> If you pack them the same way as the Pentium-optimized
>|> compiler does, you ought to get the same benefit.
>|> 
>|> Anybody (who hasn't read the NDA) tried this and come up
>|> with anything useful?  I'm being naive, no doubt, but
>|> this kind of thing has been puzzled out before (I won't
>|> even call it reverse-engineering; more like imitate
>|> success and see what happens...)
>
>Still wondering if anybody out there playing around
>with gcc or whatever [no NDA information please!] has 
>been able to play around with optimization and get a 
>decent Pentium boost over code optimized for a 486.

>If so, what is the magic?
 ^^^^^^^^^^^^^^^^^^^^^^^^

No magic, most likely. There are 2 simple things that a
Pentium-aware compiler can do that will show a significant
improvement over a 386/486 type compiler. The first is to
re-arrange instructions so that pipeline pairing occurs,
according to the Pentium pairing rules. The second thing
is to eliminate AGI delays (address generation interlocks).
The 486 has these too, but only the previous instruction
can cause one. On the Pentium it is possible for an 
instruction to cause an AGI 3 instructions away. 

Even mild application of these techniques can provide a good
performance boost.

Mike Schmit

-------------------------------------------------------------------
mschmit@ix.netcom.com           author:
408-244-6826                    Pentium Processor Programming Tools
800-765-8086                    ISBN: 0-12-627230-1
-------------------------------------------------------------------





      parent reply	other threads:[~1995-05-16  4:00 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-04-14  4:00 DEC 5000/133 vs Pentium Alexandre Vorobiev
1995-04-14  4:00 ` Hiroshi Murakami
1995-04-18  4:00   ` Ron Natalie
1995-04-19  4:00   ` Craig A. Johnston
1995-04-19  4:00 ` Michael L. VanLoon
1995-04-19  4:00   ` Jeffrey Reilly
1995-04-21  4:00     ` Nate Williams
1995-04-19  4:00   ` Peter Mardahl
1995-04-19  4:00     ` Hugh LaMaster
1995-04-21  4:00   ` Jussi Eloranta
1995-04-24  4:00     ` Frank Yue
1995-04-21  4:00 ` Arne Elofsson
1995-04-23  4:00   ` Lawson English
1995-04-22  4:00 ` Michael L. VanLoon
1995-04-24  4:00   ` Jeffrey Reilly
1995-04-22  4:00 ` Michael L. VanLoon
1995-04-23  4:00   ` Bill Schneller
1995-04-23  4:00     ` Lawson English
1995-04-24  4:00   ` Peter Mardahl
1995-04-24  4:00     ` Lawson English
1995-04-25  4:00       ` Peter Mardahl
1995-04-24  4:00     ` Dan Pop
1995-04-25  4:00   ` Geva R.
1995-04-26  4:00   ` leinberger
1995-04-24  4:00 ` Price of Alpha " Arne Elofsson
1995-04-24  4:00   ` Ronnie Heath
1995-04-25  4:00     ` Bill Broadley
1995-04-27  4:00     ` Eric Thomas
1995-04-25  4:00   ` Michael L. VanLoon
1995-04-25  4:00   ` BobSun
1995-04-25  4:00 ` Arne Elofsson
1995-04-25  4:00 ` DEC 5000/133 " Arne Elofsson
1995-05-05  4:00   ` Thor Lancelot Simon
1995-05-05  4:00     ` Peter Mardahl
1995-05-08  4:00       ` Carl J. Appellof
1995-05-08  4:00         ` Peter Mardahl
1995-05-10  4:00           ` Geva R.
1995-05-09  4:00         ` Jon Reeves
1995-04-27  4:00 ` Price of Alpha " Arne Elofsson
1995-04-30  4:00 ` DEC 5000/133 " Paul Repacholi
1995-05-03  4:00   ` Evan Leibovitch
1995-05-04  4:00     ` Peter Mardahl
1995-05-08  4:00   ` Hugh LaMaster
1995-05-16  4:00     ` Hugh LaMaster
1995-05-16  4:00       ` Hugh LaMaster
1995-05-17  4:00         ` Edmond Underwood
1995-05-17  4:00           ` Frank Yue
1995-05-17  4:00           ` Mike Schmit
1995-05-17  4:00             ` Edmond Underwood
1995-05-19  4:00               ` Mike Schmit
1995-05-16  4:00       ` Mike Schmit [this message]
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