This is the mail archive of the gcc-help@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: Convention about jump ?


Andrew Haley wrote:
Antoine Eiche wrote:

I would like to know if it exists a convention about the assembly generation of jump statement.
More precisely, I would like to know if it's possible to find a jump which jumps to another function (the address of the jump is not an address which belongs of the current function) . I think we can write this kind of jump in assembly. But, does Gcc product this kind of jump ?

Yes, for sibcalls.
A sibcall is used when we don't need the result of a function call (tail recursion for instance) . Is it right ?
If it, does a sibcall branch to another instruction than the first of a function ?


I have search documentation about that, but I've not found interesting paper.
Have you got some links ?

What's the problem?
It 's not really a problem, it's more for information.

Thanks,
Antoine


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