Compilation of application code in a data processing apparatus
Abstract
The present invention relates to a data processing apparatus and method for compiling application code. The data processing apparatus comprises a processor, and a compiler for compiling application code to generate instructions for execution by the processor. Furthermore, a non-invasive trace unit is coupled to the processor for generating, from input signals received from the processor, trace signals indicative of the instructions being executed by the processor. The compiler is then arranged to control the compilation of the application code dependent on the trace signals. The non-invasive nature of the trace unit enables it to generate trace signals that can be used to produce profiling information for use by the compiler without altering the behaviour of the code being executed by the processor, and accordingly provides a significantly improved technique for obtaining profiling information for use in feedback driven optimization compilation techniques.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 13 · Forward citations: 25.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A data processing apparatus, said apparatus comprising: a processor for executing instructions, said processor providing input signals; a non-invasive trace unit for generating, from said input signals received from the processor, trace signals indicative of the instructions being executed by the processor; and a compiler for compiling application code to generate said instructions for execution by the processor; the compiler controlling the compilation of the application code in dependence on the trace signals.
- Claim 2Depends on #1
A data processing apparatus as claimed in claim 1 , wherein the non-invasive trace unit and the processor are provided on the same chip.
- Claim 3Depends on #2
A data processing apparatus as claimed in claim 2 , wherein the non-invasive trace unit is an embedded trace macrocell.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 25 total)
References Cited — Backward Prior Art (13)
Non-Patent Literature (4)
- Cong et al, "Technology mapping and architecture evaluation for K/m macrocell based FPGAs", ACM Trans. for Design Automation on Electronic System, vol. 10, No. 1, pp. 3-23, 2005.
- Fink et al, "Design implementaion and evaluation of adaptive recompilation with on stack repalcement", IEEE, pp. 241-252, 2003.
- Helms et al, "Event monitoring in a system on a chip", IEEE, pp. 233-237, 1999.
- Tolmach et al, "Debuggable concurency extensions for standard ML", ACM pp. 120-131, 1991.