Article View: comp.arch
Article #20910Load/Branch ratio [was Re: 486 and 68040]
From: Tim Olson
Date: Thu, 27 Apr 1989 15:23
Date: Thu, 27 Apr 1989 15:23
57 lines
2435 bytes
2435 bytes
In article <18201@winchester.mips.COM> mash@mips.COM (John Mashey) writes:
| In article <3975@mipos3.intel.com> kds@blabla.UUCP (Ken Shoemaker) writes:
| >.... On the i486, on the other hand, you don't get load delay
| >slots, and you don't get deferred branches. You also get a two stage
| >instruction decode. This means that you can run the memory cycle one clock
| >earlier with respect to the execution stage in the pipeline than you can on
| >most risc machines because the execution stage is one clock later in the
| >pipeline. Thus no load delay slot. This also means that you take another
| >clock on branches taken, which is why a branch taken on the i486 requires
| >3 clocks, whereas on most risc machines it takes 2 clocks (the second
| >being the branch delay slot). We think that this is a good tradeoff, since
| >we need the extra clock to decode the instructions anyway....
|
| Yes, certainly a good tradeoff; loads are more frequent than branches.
Interesting -- what kind of numbers do you see? On the Am29000, we tend
to see just the opposite, although they are somewhat close:
--- compress (loads > branches) ---
0.36% Calls
12.51% Jumps
16.17% Loads
9.29% Stores
--- dhrystone 1.1 ---
2.84% Calls
13.97% Jumps
13.76% Loads
--- diff ---
0.34% Calls
17.50% Jumps
15.44% Loads
6.31% Stores
--- grep ---
1.13% Calls
15.07% Jumps
13.57% Loads
3.04% Stores
--- nroff ---
1.86% Calls
15.65% Jumps
10.73% Loads
3.73% Stores
--- 29k assembler ---
1.58% Calls
19.21% Jumps
10.95% Loads
6.14% Stores
-- Tim Olson
Advanced Micro Devices
(tim@amd.com)
Technical Details
Message-ID:
<25428@amdcad.AMD.COM>Path:
arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!amdcad!crackle!timReferences:
<17131@cup.portal.com> <12435@reed.UUCP> <3913@mipos3.intel.com> <17999@winchester.mips.COM> <3975@mipos3.intel.com> <18201@winchester.mips.COM>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!amdcad!crackle!tim From: tim@crackle.amd.com (Tim Olson) Newsgroups: comp.arch Subject: Load/Branch ratio [was Re: 486 and 68040] Message-ID: <25428@amdcad.AMD.COM> Date: 27 Apr 89 15:23:31 GMT References: <17131@cup.portal.com> <12435@reed.UUCP> <3913@mipos3.intel.com> <17999@winchester.mips.COM> <3975@mipos3.intel.com> <18201@winchester.mips.COM> Sender: news@amdcad.AMD.COM Reply-To: tim@amd.com (Tim Olson) Organization: Advanced Micro Devices, Inc. Sunnyvale CA Lines: 57