1997 · 90 citations · 13 references
ComputingComputer EngineeringComputer ScienceCompilersComputer ArchitectureExperimental PerformanceCpu SchedulingInstruction SchedulingInstruction Set ArchitectureRegister AllocationInliningInstruction Cache BehaviorMicroarchitectural OptimizationPerformance DegradationProcessor Architecture
Existing research understates the benefits that can be obtained from inlining and cloning, especially when guided by profile information. Our implementation of inlining and cloning yields excellent results on average and very rarely lowers performance. We believe our good results can be explained by a number of factors: inlining at the intermediate-code level removes most technical restrictions on what can be inlined; the ability to inline across files and incorporate profile information enables us to choose better inline candidates; a high-quality back end can exploit the scheduling and register allocation opportunities presented by larger subroutines; an aggressive processor architecture benefits from more predictable branch behavior; and a large instruction cache mitigates the impact of code expansion. We describe the often dramatic impact of our inlining and cloning on performance: for example, the implementations of our inlining and cloning algorithms in the HP-UX 10.20 compilers boost SPECint95 performance on a PA8000-based workstation by a factor of 1.32.
13
Profile guided code positioning
Karl Pettis, Robert C. Hansen, Jack W. Davidson · ACM SIGPLAN Notices · 2004 · 393 citations
Profile guided code positioning
Karl Pettis, Robert C. Hansen · 1990 · 293 citations · Full text
Profile‐guided automatic inline expansion for C programs
Pohua P. Chang, Scott Mahlke, William Y. Chen et al. · Software Practice and Experience · 1992 · 163 citations
Advanced performance features of the 64-bit PA-8000
David Hunt · 2002 · 125 citations