🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #6182

Re: Clever programming tricks wanted

#6182
From: Colin Plumb
Date: Sun, 15 Jan 1989 22:41
17 lines
1178 bytes
seanf@scolex.UUCP (Sean Fagan) wrote:
> Yes, this is the "SuperOptimiser."  I believe the author had gotten to work
> on 8086's and 6800's (not 68000's, but 00's).

No, 68000s.  In fact, the timings the thing used were for 68020s.
The 8086 version didn't have a hand-tuned intner loop, and was a lot
slower, so most of the examples were for 68000s.

> BTW, the code it generated assumed you didn't care about which registers you
> trashed.

True, but just trashing registers arbitrarily takes cycles, and so the
optimiser wonn't trash many more than necessary.  The rest can easily
be diddled by hand or a post-pass to allocate non-conflicting values to
the same register.
-- 
	-Colin (uunet!microsof!w-colinp)
Technical Details
Message-ID: <273@microsoft.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!attcan!uunet!lll-winken!lll-lcc!ames!mailrus!cornell!uw-beaver!microsoft!w-colinp
References: <4061@hubcap.UUCP> <47380@yale-celray.yale.UUCP> <2074@scolex>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!attcan!uunet!lll-winken!lll-lcc!ames!mailrus!cornell!uw-beaver!microsoft!w-colinp
From: w-colinp@microsoft.UUCP (Colin Plumb)
Newsgroups: comp.lang.misc
Subject: Re: Clever programming tricks wanted
Message-ID: <273@microsoft.UUCP>
Date: 15 Jan 89 22:41:24 GMT
References: <4061@hubcap.UUCP> <47380@yale-celray.yale.UUCP> <2074@scolex>
Reply-To: w-colinp@microsoft.uucp (Colin Plumb)
Organization: very little
Lines: 17