Chapter 2 C and C++ Source-Level Optimizations 29
Software Optimization Guide for AMD64 Processors
25112 Rev. 3.06 September 2005
2.12 Use of Function Prototypes
Optimization
In general, use prototypes for all functions.
Application
This optimization applies to:
• 32-bit software
• 64-bit software
Rationale
Prototypes can convey additional information to the compiler that might enable more aggressive
optimizations.