Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!oberon!polyslo!cquenel From: cquenel@polyslo.CalPoly.EDU (56 more school days) Newsgroups: comp.arch Subject: Re: i860 Dhrystones Keywords: Ghreenstones Message-ID: <9610@polyslo.CalPoly.EDU> Date: 18 Mar 89 23:16:51 GMT Reply-To: cquenel@polyslo.CalPoly.EDU (56 more school days) Organization: Blue Blaze Irregulars Lines: 25 References: In article <6326@cbmvax.UUCP> jesup@cbmvax.UUCP (Randell Jesup) writes: > Actually, I think the statement "Greenhills C" was the giveaway. We use Greenhills C here at Commodore for Amiga OS work, and got bitten recently >because the compiler was set up with the "dhrystone" optimizer turned on, >without our knowing it. This causes mis-aligned strcpy()s to bus-fault on >68000, since it (a) assumes string sources AND destinations are ALWAYS word- >aligned, and (b) inlines strcpy, even though in general greenhills doesn't >do inlining. Ghreenstones -- The benchmark number corresponding to Dhrystones 1.1 run through a "dhrystone" optimizing Greenhills compiler. Known to be 2 to 3 times higher than it should be. --chris (I didn't write this. You can't sue me, I don't have any money! P.S. Greenhills deserves it.) -- @---@ ------------------------------------------------------------------ @---@ \. ./ | Chris Quenelle (The First Lab Rat) cquenel@polyslo.calpoly.edu | \. ./ \ / | Better Red than dead ! | \ / ==o== ------------------------------------------------------------------ ==o==