Compiler adapted in graphics processing unit and non-transitory computer-readable medium
Abstract
A compiler includes a front-end module, an optimization module, and a back-end module. The front-end module pre-processes a source code to generate an intermediate code. The optimization module optimizes the intermediate code. The back-end module translates the optimized intermediate code to generate a machine code. Optimization includes translating a branch instruction in the intermediate code into performing the following operations: establishing a post dominator tree for the branch instruction to find an immediate post dominator of the branch instruction as a reconverge point of a first path and a second path of the branch instruction; inserting a specific instruction at the front end of the reconverge point, so as to jumping to execute the instructions of the second path on the condition that once the specific instruction on the first path is executed.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 22 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A compiling method for compiling an application program executed by a graphics processing unit to generate a machine code corresponding to the application program for execution by a plurality of stream multiprocessors of the graphics processing unit, wherein the compiling method comprises steps: performing a pre-processing on a source code corresponding to the application program to generate an intermediate code; performing an optimization processing on the intermediate code; and performing a translation processing on the optimized intermediate code to generate the machine code; wherein the op
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (22)
Non-Patent Literature (5)
- Bhatt et al, “Extension of Context Free Grammar for Intermediate Code and Peephole Optimization Rule parsers”, IEEE, pp. 162-164 (Year: 2015).
- Davidson et al, “Code Selection through Object Code Optimization”, ACM, pp. 505-526 (Year: 1984).
- Dejean et al, “A Definition Optimization Technique Used in Code Translation Algorithm”, ACM, pp. 94-105 (Year: 1989).
- Dolby et al, “An Automatic Object Inlining Optimization and its Evaluation”, ACM, pp. 345-357 (Year: 2000).
- Mennie et al, “Information Flow Certification Using an Intermediate Code Program Representation”, IEEE, pp. 594-607 (Year: 1981).