This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Suggestion for function attributes on x86 architecture


<<Doesn't help much.  Consider a function that needs registers saving (maybe
it calls another function).  If you make that work, consider a function
that needs some stack allocating.  How much do you allocate?  If you leave
out the prologue and epilogue code you open up such a can of worms that
about the only thing you should allow inside the body of a function is an
asm statement that takes no arguments and sets no values.
>>

Yes, that sounds about right, basically this makes sense only if you are
taking over 100% repsonsibility for *all* the code in a function.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]