Compiler Providing Idiom to Idiom Accelerator
First Claim
1. A method, in a compiler, for exposing programming idioms to a programming idiom accelerator, the method comprising:
- receiving a portion of high level language program code;
examining a series of instructions in the portion of high level language program code;
determining whether the series of instructions comprises a recognized programming idiom; and
responsive to a determination that the series of instructions comprises a recognized programming idiom, inserting into the series of instructions a hint instruction that exposes the recognized programming idiom to a programming idiom accelerator.
1 Assignment
0 Petitions
Accused Products
Abstract
A wake-and-go mechanism may be a programming idiom accelerator. As a processor fetches instructions, the programming idiom accelerator may look ahead to determine whether a programming idiom is coming up in the instruction stream. If the programming idiom accelerator recognizes a programming idiom, the programming idiom accelerator may perform an action to accelerate execution of the programming idiom. A compiler may recognize programming idioms and expose the programming idioms to the programming idiom accelerator within the resulting machine language instructions.
-
Citations
20 Claims
-
1. A method, in a compiler, for exposing programming idioms to a programming idiom accelerator, the method comprising:
-
receiving a portion of high level language program code; examining a series of instructions in the portion of high level language program code; determining whether the series of instructions comprises a recognized programming idiom; and responsive to a determination that the series of instructions comprises a recognized programming idiom, inserting into the series of instructions a hint instruction that exposes the recognized programming idiom to a programming idiom accelerator. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A data processing system, comprising:
-
a processor; and a memory coupled to the processor, the memory comprising instructions which, when executed by the processor, cause the processor to; receive a portion of high level language program code; examine a series of instructions in the portion of high level language program code; determine whether the series of instructions comprises a recognized programming idiom; and responsive to a determination that the series of instructions comprises a recognized programming idiom, insert into the series of instructions a hint instruction that exposes the recognized programming idiom to a programming idiom accelerator. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A computer program product comprising a computer useable medium having a computer readable program, wherein the computer readable program, when executed on a computing device, causes the computing device to:
-
receive a portion of high level language program code; examine a series of instructions in the portion of high level language program code; determine whether the series of instructions comprises a recognized programming idiom; and responsive to a determination that the series of instructions comprises a recognized programming idiom, insert into the series of instructions a hint instruction that exposes the recognized programming idiom to a programming idiom accelerator. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification