Compiling device, computer-readable recording medium on which a compiling program is recorded and a compiling method
0 Assignments
0 Petitions
Accused Products
Abstract
Formal parameters which are to use registers are replaced with variables generated inside a compiler. Then, if a variable allocated to a register has a live range (lifetime) that includes an inline assembly subroutine, the variable is allocated a register that differs from the registers updated during the inline assembly subroutine.
19 Citations
27 Claims
-
1-12. -12. (Cancelled)
-
13. A compiling device that translates a program including an assembler statement section into an object instruction sequence, the compiling device comprising:
-
a variable detecting means for detecting a variable whose live range overlaps the assembler statement section; and
a resource allocating means for allocating a resource different from a resource to be used in the assembler statement section to the variable whose live range overlaps the assembler statement section. - View Dependent Claims (14, 15, 16, 17)
-
-
18. A compiling device that translates a program including an assembler statement section into an object instruction sequence, the compiling device comprising:
-
a variable detecting unit which detects a variable whose live range overlaps the assembler statement section; and
a resource allocating unit for allocating a resource different from a resource to be used in the assembler statement section to the variable whose live range overlaps the assembler statement section. - View Dependent Claims (19, 20, 21, 22)
-
-
23. A compiling method that translates a program including an assembler statement section into an object instruction sequence, the compiling method comprising the steps of:
-
a detecting step for detecting a variable whose live range overlaps the assembler statement section; and
an allocating step for allocating a resource different from a resource to be used in the assembler statement section to the variable whose live range overlaps the assembler statement section. - View Dependent Claims (24, 25, 26, 27)
-
Specification