Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!world!iecc!compilers-sender From: ressler@cs.cornell.edu (Gene Ressler) Newsgroups: comp.compilers Subject: Re: the Evil Effects of Inlining Keywords: optimize, architecture Message-ID: <1991May3.052009.14386@cs.cornell.edu> Date: 3 May 91 05:20:09 GMT References: <7524@ecs.soton.ac.uk> <1991May1.035622.25021@daffy.cs.wisc.edu> <1991May2.180508.17100@rice.edu> Sender: compilers-sender@iecc.cambridge.ma.us Reply-To: ressler@cs.cornell.edu (Gene Ressler) Organization: Cornell Univ. CS Dept, Ithaca NY 14853 Lines: 12 Approved: compilers@iecc.cambridge.ma.us These are very good points. My own experiments: Recently did an event-driven simulator in C. Ran gcc -finline-functions -O on the inner loop module and got about 12% improvement over plain -O on both SPARCstation and MIPS. About the same with c89 -Q -O vs c89 -O on an RS6000 320. In Lucid Common Lisp code for image processing, however, I've gotten 50% on a SPARC. But you'd expect that with the heavy weight of Common Lisp's function calls. Gene Ressler -- Send compilers articles to compilers@iecc.cambridge.ma.us or {ima | spdcc | world}!iecc!compilers. Meta-mail to compilers-request.