Unlock instant, AI-driven research and patent intelligence for your innovation.

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

Active Publication Date: 2019-08-16
INT BUSINESS MASCH CORP
View PDF39 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in many environments today, the effectiveness of sibling calls is limited to making sibling calls only to local callees

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Processing sibling calls
  • Processing sibling calls
  • Processing sibling calls

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

Optimizations are provided for sibling calls. A sibling caller is marked to indicate that it may call a sibling routine or that it may call an external sibling routine. Based on the marking, certain processing is performed to facilitate use of sibling calls, particularly when the sibling routine being called is external to the caller.

Description

technical field [0001] One or more aspects relate generally to processing within a computing environment, and in particular to processing associated with sibling calls. Background technique [0002] Sibling calls (also called sibcalls) are calls to routines, such as functions or subroutines, that are performed at the end of the calling routine. When a caller makes a sibling call, the caller does not expect the called routine to return to the caller. The calling routine and the called routine can be the same routine. When this happens, the call is called a tailcall. The term "sibling call" and its derivatives as used herein includes tail call and its derivatives. [0003] Detecting and implementing sibling calls provides an opportunity to improve code performance. However, in many environments today, the effectiveness of sibling calls is limited to making sibling calls only to local callees. When a sibling caller (sibcaller) (ie, a function calling its sibling routine) h...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/41G06F9/448
CPCG06F9/449G06F8/41G06F9/4484G06F9/44521
Inventor M.K.格施温德
Owner INT BUSINESS MASCH CORP