Path: utzoo!attcan!uunet!cs.utexas.edu!usc!snorkelwacker!paperboy!meissner From: meissner@osf.org (Michael Meissner) Newsgroups: comp.arch Subject: Re: Inlining subroutines at link time Message-ID: Date: 5 Jul 90 15:50:28 GMT References: <1990Jul3.194348.21178@msuinfo.cl.msu.edu> <9804@pt.cs.cmu.edu> <1184@s8.Morgan.COM> Sender: news@OSF.ORG Organization: Open Software Foundation Lines: 20 In-reply-to: amull@Morgan.COM's message of 4 Jul 90 17:44:09 GMT In article <1184@s8.Morgan.COM> amull@Morgan.COM (Andrew P. Mullhaupt) writes: | The best known (or depending on your point of view most infamous) | case of inlining is when the Dhrystone benchmark is compiled with | some memory movement routines inline. Actually, the ANSI C standard explicitly allows this, since strcpy is a standard function. Also, it makes the benchmark compatible with the original ADA benchmark, since ADA has string support builtin. I would say that 'most infamous' in terms on inlining, and expansion is one of the early stone benchmarks, was completely inlined by the compiler (Perkin Elmer according to my source), and the compiler noticed there was no I/O, and completely eliminated the code. -- Michael Meissner email: meissner@osf.org phone: 617-621-8861 Open Software Foundation, 11 Cambridge Center, Cambridge, MA Do apple growers tell their kids money doesn't grow on bushes?