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 bei
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.
대표청구항▼
1. A computer program product for facilitating processing in a computing environment, said computer program product comprising: a computer readable storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising: det
1. A computer program product for facilitating processing in a computing environment, said computer program product comprising: a computer readable storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising: determining whether a routine potentially calls one or more external sibling routines, the determining comprising: analyzing code searching for a function call in which no further processing of results of a called function is performed by a caller of the called function; anddetermining, based on locating the function call, whether the function call is known to be a local sibling call, and based on locating the function call and determining the function call is not known to be a local sibling call, the routine is determined to potentially call one or more external sibling routines; andmarking the routine as an external sibling caller, based on determining that the routine potentially calls one or more external sibling routines. 2. The computer program product of claim 1, wherein the marking includes adding a pseudo-instruction to the routine, the pseudo-instruction to indicate to a linker executing on a processor of the computing environment that the routine potentially calls one or more external sibling routines. 3. The computer program product of claim 2, wherein the method further comprises based on the pseudo-instruction, setting a marker in a symbol table indicating that the routine potentially calls one or more external sibling routines. 4. The computer program product of claim 2, wherein the method further comprises based on the pseudo-instruction, providing a relocation entry associated with the routine to indicate the routine potentially calls one or more external sibling routines. 5. The computer program product of claim 1, wherein the marking includes adding a marker to a symbol data structure of the routine, the marker to indicate that the routine potentially calls one or more external sibling routines. 6. The computer program product of claim 1, wherein the marking includes providing a relocation entry associated with the routine to indicate that the routine potentially calls one or more external sibling routines. 7. The computer program product of claim 1, wherein the method further comprises: determining, by a linker executing on a processor of the computing environment, that the routine is marked as the external sibling caller; andproviding, based on determining the routine is marked as the external sibling caller, context to be used based on an external sibling routine called by the routine returning to a caller of the routine. 8. The computer program product of claim 7, wherein the context includes information to restore a global offset table. 9. The computer program product of claim 1, wherein the routine is in one module and called by a calling routine in the one module. 10. The computer program product of claim 1, wherein the routine is in one module and called by a calling routine in another module. 11. The computer program product of claim 1, wherein the determining and the marking are performed by a compiler. 12. A computer system for facilitating processing in a computing environment, said computer system comprising: a memory; anda processor in communication with the memory, wherein the computer system is configured to perform a method, said method comprising: determining whether a routine potentially calls one or more external sibling routines, the determining comprising: analyzing code searching for a function call in which no further processing of results of a called function is performed by a caller of the called function; anddetermining, based on locating the function call, whether the function call is known to be a local sibling call, and based on locating the function call and determining the function call is not known to be a local sibling call, the routine is determined to potentially call one or more external sibling routines; andmarking the routine as an external sibling caller, based on determining that the routine potentially calls one or more external sibling routines. 13. The computer system of claim 12, wherein the marking includes adding a pseudo-instruction to the routine, the pseudo-instruction to indicate to a linker executing on a processor of the computing environment that the routine potentially calls one or more external sibling routines. 14. The computer system of claim 13, wherein the method further comprises based on the pseudo-instruction, setting a marker in a symbol table indicating that the routine potentially calls one or more external sibling routines. 15. The computer system of claim 13, wherein the method further comprises based on the pseudo-instruction, providing a relocation entry associated with the routine to indicate the routine potentially calls one or more external sibling routines. 16. The computer system of claim 12, wherein the method further comprises: determining, by a linker executing on a processor of the computing environment, that the routine is marked as the external sibling caller; andproviding, based on determining the routine is marked as the external sibling caller, context to be used based on an external sibling routine called by the routine returning to a caller of the routine. 17. The computer system of claim 16, wherein the context includes information to restore a global offset table. 18. The computer system of claim 12, wherein the marking includes adding a marker to a symbol data structure of the routine, the marker to indicate that the routine potentially calls one or more external sibling routines. 19. The computer system of claim 12, wherein the marking includes providing a relocation entry associated with the routine to indicate that the routine potentially calls one or more external sibling routines. 20. The computer system of claim 12, wherein the determining and the marking are performed by a compiler.
연구과제 타임라인
LOADING...
LOADING...
LOADING...
LOADING...
LOADING...
이 특허에 인용된 특허 (16)
Mizuse Harumi (Tokyo JPX) Kawata Kazuhide (Tokyo JPX), Assembler system for determining when to compile source code modules.
Odnert Daryl (Boulder Creek CA) Santhanam Vatsa (Sunnyvale CA), Method and apparatus for compiling computer programs with interprocedural register allocation.
Odnert Daryl (Boulder Creek CA) Santhanam Vatsa (Sunnyvale CA), Method and apparatus for compiling computer programs with interproceduural register allocation.
Outhred, Geoffrey; Han, Eric K; Grealish, Kevin D. J.; Brown, Mathilde C.; Gustin, Reid B; Mensching, Rob; Nielsen, Steven T, Model and system state synchronization.
Frances Cohen ; Marc Abraham Bombet ; Robert Dennis Lusinsky ; Timothy Andrew Lewis ; Marc Shane Sandusky, Software development system that presents a logical view of project components, facilitates their selection, and signals missing links prior to compilation.
※ AI-Helper는 부적절한 답변을 할 수 있습니다.