Inspect Manual

Using Inspect on a TNS/R System
Inspect Manual429164-006
15-4
Executing Accelerated Programs
Some TNS program constructs require evaluation at execution time, and their behavior
in all cases cannot be predicted by the accelerator. For such constructs, such as a
SETP instruction, the accelerator generates code that checks if the conditions required
by the generated code are met. If so, execution of TNS/R instructions continues; if not,
execution transfers to the corresponding TNS instructions, which are executed until a
point is reached where the execution of TNS/R instructions can resume.
With programs that use user libraries, one component may be accelerated while the
other component is not. For example, you can call an accelerated user library from a
program that has not been accelerated. Similarly, it is possible to call a user library
that has not been accelerated from a program that has been accelerated.
Figure 15-1. TNS Program Execution on a TNS/R System
Millicode
TNS/R
Microprocessor
Accelerator
TNS
Code
TNS
Code
Accelerated
Code
TNS
Object File
TNS
Instructions
TNS/R
Instructions
Nonaccelerated
Execution
Accelerated
Object File
TNS/R
Instructions
Accelerated
Execution
VST1501.vsd