Some small optimization issues with gcc 4.0 20050418
Sebastian Biallas
sb@biallas.net
Mon Apr 25 22:28:00 GMT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
James E Wilson wrote:
> Sebastian Biallas wrote:
>
>> You don't need to reserve a stack slot for the return address on x86.
>> The stack slot will be allocated implicitly by the "call" instruction.
>
> OK, then this must be a similar issue to the register saves in the
> prologue. There is confusion between calculating the frame size, and
> calculating the amount to subtract from the stack pointer. These are
> not the same on x86 because some values are being pushed on the stack.
It's already fixed in the mainline, so we can ignore the stack issue.
Sebastian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQEVAwUBQm1UDf81M8QtvOSJAQK1nggAg4E1602S2x3BGnwBJDvn2/HbkanpWMH5
MMfKdqicpG5v2MlsXrqGTMMJbVueBY0d63KM0QdykPBg05kERlTGlj0FHwFuEnVS
X/akXDPKItDrlqnJzAKzV94zHxZlc+MQbMEY4eGpz1bIHl6rzLNrjsKF7+KmYSfG
wNEsDz5N3j2fs3AFcfnUwwlZsswQQwuFyOqmMq0CRbZnpBtuIlnPxs351M4Kdmd8
4Suh/7SvrNFy4ynFFs9S/JqAdqoXhZEx3pl7qZA7yYYfiODyvY9z5lNmhGBtxfJY
vu6w4zph8rdCgVQyNxTgtqPiuKCfXSUWVpDTqcSn7MRhyoUO96epLw==
=OBpd
-----END PGP SIGNATURE-----
More information about the Gcc
mailing list