🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #12603

Re: A68k and Manx AS

#12603
From: Charlie Gibbs
Date: Wed, 03 May 1989 20:23
32 lines
1892 bytes
In article <6755@cbmvax.UUCP> jesup@cbmvax.UUCP (Randell Jesup) writes:

>        Do you convert BSR to BSR.S?  JSR to BSR(.S) might be useful when
>you plan to link with SMALLCODE, also.

     A68k converts suitable backward references for BSR to BSR.S, as
well as Bcc and BRA (it's too stupid to tell them apart :-).  I agree
about the JSR->BSR conversion.  I haven't done anything about SMALLCODE
yet because I CAN'T FIND ANY DOCUMENTATION!  If anyone knows anything
about SMALLCODE, SMALLDATA, hunk_drelocXX, etc. could you PLEASE either
give me the information or tell me where to find it!

>        ADD.L   #<16 bit number>,An should be converted to ADD.W. Ditto
>for SUB, etc.

     Yup.  I'll file that one under the "wild optimizations" heading
in my "to do" file.  Maybe I could go all the way to ADDQ, etc.

>        Forward optimization is REAL nice....

     It's also REAL ugly.  But Bruce Dawson has given me suggestions
as to how I might do it for Bcc/BRA/BSR without completely rewriting
everything or taking another pass through the source code, so I may
have something Real Soon Now.  Other forward optimizations will have
to wait until I either get another viable suggestion or an inspiration
from out of the blue.

>Randell Jesup, Commodore Engineering {uunet|rutgers|allegra}!cbmvax!jesup

Charlie_Gibbs@mindlink.UUCP
"The terms 'undefined' and 'unspecified' have been given definitions."
        -- revision to the IEEE 1003.1 POSIX Standard
Technical Details
Message-ID: <227@mindlink.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!bionet!ig!ames!sun-barr!apple!rutgers!att!alberta!ubc-cs!van-bc!rsoft!mindlink!a218

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!bionet!ig!ames!sun-barr!apple!rutgers!att!alberta!ubc-cs!van-bc!rsoft!mindlink!a218
From: a218@mindlink.UUCP (Charlie Gibbs)
Newsgroups: comp.sys.amiga.tech
Subject: Re: A68k and Manx AS
Message-ID: <227@mindlink.UUCP>
Date: 3 May 89 20:23:39 GMT
Organization: MIND LINK! - British Columbia, Canada
Lines: 32