Processing sibling calls
A brother and caller technology, applied in the processing field associated with brother call, can solve problems such as the validity limit of brother call
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0038] According to one or more aspects of the invention, there is provided a capability to facilitate the use of sibling calls. For example, optimizations are provided to efficiently use sibling calls and enhance the processing associated with them.
[0039] Sibling calls are more efficient than other function calls. Take the following child routine as an example:
[0040] child()
[0041] {
[0042] return sib(a+1);
[0043] {
[0044] In one example, without using sibling calls, the following processing occurs:
[0045] child:
[0046] (allocate stack frame)
[0047] ld r3,r2,a@got
[0048] addi r3,r3,1
[0049] bl sib
[0050] NOP
[0051] (free stack frame)
[0052] blr
[0053] For example, according to the Power architecture, ld is load (load), addi is add immediate (add immediate), bl is branch link (branch link), NOP is no operation (no operation), blr is branch to link register (branch to link register).
[0054] However, in one embodiment, if sibling ca...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


