Path: 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 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