Path: utzoo!mnetor!uunet!pcrat!rick From: rick@pcrat.UUCP (Rick Richardson) Newsgroups: comp.arch Subject: Re: Dhrystone 2.0 Message-ID: <501@pcrat.UUCP> Date: 10 Mar 88 13:11:21 GMT References: <492@pcrat.UUCP> <20745@amdcad.AMD.COM> Reply-To: rick@pcrat.UUCP (Rick Richardson) Organization: PC Research, Inc., Tinton Falls, NJ Lines: 21 Keywords: benchmark, inlining In article <20745@amdcad.AMD.COM> tim@amdcad.UUCP (Tim Olson) writes: >I have a question about the following statement in the dry2 sources: >o No procedure merging >Does this included library routines as well (strcpy, for example)? The >reason I ask is that ANSI conforming C compilers are allowed to "know" >the names of specific library routines, and generate inline code for >them if it is beneficial. Are library calls counted as part of the >Dhrystone function call distribution? Offhand, I'd say inlining strcpy is legal, since the original Ada Dhrystone uses the built in string capability of the language, whereas C has no such feature. However, it would be prudent to ask for Reinhold's answer. His mail path is: uunet!mcvax!unido!estevax!weicker -- Rick Richardson, President, PC Research, Inc. (201) 542-3734 (voice, nights) OR (201) 834-1378 (voice, days) uunet!pcrat!rick (UUCP) rick%pcrat.uucp@uunet.uu.net (INTERNET)