Path: utzoo!mnetor!uunet!husc6!purdue!gatech!amdcad!tim From: tim@amdcad.AMD.COM (Tim Olson) Newsgroups: comp.arch Subject: Re: Dhrystone 2.0 Message-ID: <20745@amdcad.AMD.COM> Date: 9 Mar 88 21:27:54 GMT References: <492@pcrat.UUCP> Reply-To: tim@amdcad.UUCP (Tim Olson) Organization: Advanced Micro Devices Lines: 20 Keywords: benchmark, inlining I have a question about the following statement in the dry2 sources: o No procedure merging Although Dhrystone contains some very short procedures where execution would benefit from procedure merging (inlining, macro expansion of procedures), procedure merging is not to be used. The reason is that the percentage of procedure and function calls is part of the "Dhrystone distribution" of statements contained in [1]. 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? -- Tim Olson Advanced Micro Devices (tim@amdcad.amd.com)