Mon, Aug 27, 2001 at 08:11:12, stephen_roome wrote about "Re: function calls/rets in
assembly":
> One final question... (which may be a gcc question, sorry if it is..)
>
> why do we have some people proposing the use of "leave". When from the
> docs I've read, leave takes longer than a mov and return ?
To optimize for some higher than i386, use -mcpu=<version>
With -mcpu=i486 and higher, gcc writes
movl %ebp,%esp
popl %ebp
Also consider -march= option.
/netch
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message