Current implementation always allocates the parameter save area conservatively for fastcc functions. There is no reason to allocate the parameter save area for fastcc function if all the parameters can be passed via registers.
This patch reduces the stack frame usage for:
- stage2 bootstrap by 4%
- gcc by 7%
- perlbench and povray by 2%
SPEC2006 performance run shows no performance changes.