Xref: utzoo comp.sys.sgi:871 comp.lang.lisp:1600 Path: utzoo!attcan!uunet!lll-winken!xanth!ames!sgi!jmb@patton.SGI.COM From: jmb@patton.SGI.COM (Jim Barton) Newsgroups: comp.sys.sgi,comp.lang.lisp Subject: Re: Kyoto Common Lisp on SGI Summary: Assembly? AAACK! Keywords: KCL, SGI, Iris, Porting Message-ID: <29503@sgi.SGI.COM> Date: 28 Mar 89 17:35:46 GMT References: <818@mv06.ecf.toronto.edu> Sender: daemon@sgi.SGI.COM Organization: Silicon Graphics, Inc., Mountain View, CA Lines: 29 In article <818@mv06.ecf.toronto.edu>, soosaar@ecf.toronto.edu (Robert Soosaar) writes: > We are porting Kyoto Common Lisp to our Silicon Graphics > workstations (Personal Iris and 3000 series) and have come > across a few problems. ... > > On the Personal Iris: > A few of the functions are written with in-line assembly > code. These functions (in earith.c and bitop.c) have to > be converted into assembler code for the MIPS processor. > ... > Rob Soosaar Might I suggest you just write the same code in C, and let the MIPS optimizer turn it into fast assembly. I haven't hand coded assembly for a 4D for speed purposes for years. The last time I did, I spent hours getting at as fast as possible. Then I wrote the same function in C, compiled & optmized it, and found out that the generated code had one less instruction than I had. Why beat your brains out? -- Jim Barton Silicon Graphics Computer Systems "UNIX: Live Free Or Die!" jmb@sgi.sgi.com, sgi!jmb@decwrl.dec.com, ...{decwrl,sun}!sgi!jmb "I used to be disgusted, now I'm just amused." - Elvis Costello, 'Red Shoes' --