You guys are forgetting about the stack-boundry crap some idiot added
to GCC to optimize floating point ops, which gets stuffed in there even
if there are no floating point ops.
I really wish someone would rip it out. It is SOOO fraggin annoying.
-Matt
cc -S -O -fomit-frame-pointer -mpreferred-stack-boundary=2 x.c
printasint:
pushl 4(%esp)
pushl $.LC0
call printf
addl $8,%esp
ret
cc -S -fomit-frame-pointer -mpreferred-stack-boundary=2 x.c
printasint:
movl 4(%esp),%eax
pushl %eax
pushl $.LC0
call printf
addl $8,%esp
.L2:
ret
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
- function calls/rets in assembly Steve Roome
- RE: function calls/rets in assembly John Baldwin
- Re: function calls/rets in assembly David O'Brien
- Re: function calls/rets in assembly John Baldwin
- Re: function calls/rets in assembly Leo Bicknell
- Re: function calls/rets in assembly John Baldwin
- Re: function calls/rets in assembly Leo Bicknell
- Re: function calls/rets in assembly Dan Nelson
- Re: function calls/rets in assembly Matt Dillon
- Re: function calls/rets in assembly John Baldwin
- Re: function calls/rets in assembly Valentin Nechayev
- Re: function calls/rets in assembly Peter Pentchev
- Re: function calls/rets in assembly David O'Brien
- Re: function calls/rets in assembly Valentin Nechayev
- Re: function calls/rets in assembly David O'Brien
- Re: function calls/rets in assembly Valentin Nechayev
- Re: function calls/rets in assembly Terry Lambert
- Re: function calls/rets in assembly John Baldwin
- Re: function calls/rets in assembly Terry Lambert

