Method and apparatus for easy insertion of assembler code for optimization
Abstract
Small assembly code routines are inlined with source code (10) prior to optimization processing in a compiler (12) in a data processing system (100). Each assembly code routine is presented to the compiler (12) in the form of a template (18) having instructions and operands. Whenever a call to the template (18) is detected by the compiler (12), the instructions and operands of the template (18) are examined by the compiler (12) to determine whether all instructions and operands in the template are recognizable by the compiler (12) for optimization processing. If so, the assembly code template (18) is virtualized by transforming physical registers to virtual registers, and the intermediate code form of the template (18) is combined with the intermediate code form of the source code (10). This combined code is then subjected to optimization procedures in the compiler (12), and the result is used to generate the assembly code (14). The assembly code from any template (18) not eligible for early inlining is later inlined with the assembly code generated by the compiler (12) after the optimization processing.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 0 · Forward citations: 13.
Claims (0)
No claim text indexed for this record.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (13 of 13 total)
References Cited — Backward Prior Art (0)
No backward patent references recorded.
Non-Patent Literature (3)
- D. SHEAR: "HLL Compilers and DSP run-time libraries make DSP-system programming easy" EDN - ELECTRONIC DESIGN NEWS, vol. 33, no. 13, 23 June 1988, NEWTON, MA, US, pages 69-76, XP000105779
- R. B. GROVE ET AL: "GEM Optimizing Compilers for Alpha AXP Systems" COMCON SPRING '93 - DIGEST OF PAPERS, 22 - 26 February 1993, SAN FRANCISCO, CA, US, pages 465-473, XP000379081
- R. E. KOLE: "OPTIMIZING COMPILER EXPLOITS DSP FEATURES" HIGH PERFORMANCE SYSTEMS, vol. 11, no. 2, February 1990, MANHASSET, NY, US, pages 40-45, XP000096460