Article View: comp.arch
Article #1818Re: delayed branch (in 88k GCC)
From: Andrew Klossner
Date: Fri, 11 Aug 1989 19:26
Date: Fri, 11 Aug 1989 19:26
14 lines
1155 bytes
1155 bytes
Dave Lord (lord@se-sd.NCR.COM) writes:
"I've looked at code generated by three different compilers for
the 88K (GreenHills, GNU, & LPI) and I don't believe any of
them EVER put a useful instruction in the delayed branch slot."
The GNU-88k compiler as developed at Data General does a pretty good
job of filling branch delay slots, if you remember to include the -O
(optimize) option. In a random sample of one big file (malloc.c), I
found that 37 out of 82 branches did useful work in the delay slot
(i.e., the "opcode.n" form of the branch was emitted).
-=- Andrew Klossner (uunet!tektronix!frip.WV.TEK!andrew) [UUCP]
(andrew%frip.wv.tek.com@relay.cs.net) [ARPA]
Technical Details
Message-ID:
<4203@orca.WV.TEK.COM>Path:
arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!zephyr.ens.tek.com!orca!frip!andrewReferences:
<2246@taux01.UUCP> <1996@se-sd.NCR.COM>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!zephyr.ens.tek.com!orca!frip!andrew From: andrew@frip.WV.TEK.COM (Andrew Klossner) Newsgroups: comp.arch Subject: Re: delayed branch (in 88k GCC) Message-ID: <4203@orca.WV.TEK.COM> Date: 11 Aug 89 19:26:55 GMT References: <2246@taux01.UUCP> <1996@se-sd.NCR.COM> Sender: nobody@orca.WV.TEK.COM Organization: Tektronix, Wilsonville, Oregon Lines: 14