A Dynamic Loading Method Based on dsp
A dynamic loading and file technology, applied in the computer field, can solve the problems that the efficiency of the GCC compiler cannot be compared with that of the CCS compiler, cannot take into account the running efficiency of the dynamic loading technology program, and does not support the dynamic loading technology, etc., to optimize the function call jump Transfer process, debugging and maintenance are convenient, and the effect of ensuring operating efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0057] The technical solution of the present invention will be described in detail below in conjunction with the accompanying drawings.
[0058] DSP C6X series processors use B14 to save the data segment start address of each module, and all access to global data in the program uses "B14+offset" addressing. Each loadable module has its own data, so when the program instruction flow switches between modules (such as: when a function is called across modules), the value of B14 needs to be saved and switched, otherwise it will cause data access errors.
[0059]The CCS compiler generates save and set B14 instructions for most functions (functions not defined using static) that can be called by external modules. In order to improve the efficiency of code execution, CCS compiler will not generate instructions for saving and setting B14 if it finds that the function does not use global variables or call functions other than the original file. The CCS compiler thinks that calling the...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


