TNS/E Native Application Conversion Guide

Introduction to Native Mode
TNS/E Native Application Conversion Guide529659-003
1-2
Summary of Execution Modes
Summary of Execution Modes
A TNS process—a process that runs in TNS interpreted mode or TNS accelerated
mode—is initiated by running a TNS interpreted or accelerated object file.
A native process—a process that runs in native mode—is initiated by running a native
object file. Native object files consist entirely of Intel® Itanium® instructions. Native
processes do not maintain TNS architecture-specific constructs.
TNS/E systems support these execution modes:
Because of architectural differences between the execution modes, TNS interpreted
object code, accelerated object code, and native object code cannot be mixed in one
program file. A native program can contain only native object code.
Mode Characteristics of Mode
TNS interpreted
mode
Programs generated by TNS compilers.
Programs use TNS process and memory architecture.
Programs consist of TNS object code.
Programs consist of TNS instructions. Millicode routines implement
TNS instructions on Itanium processors.
TNS accelerated
mode
Programs generated by TNS compilers and processed by the Object
Code Accelerator (OCA).
Programs use TNS process and memory architecture.
Programs consist of TNS object code and accelerated object code.
Programs consist of TNS instructions and equivalent OCA-
generated Itanium instructions. Programs execute Itanium
instructions directly on Itanium processors. Programs transition to
TNS mode when OCA is unable to generate equivalent Itanium
instructions.
Native mode
Programs generated by native compilers.
Programs use native process and memory architecture.
Programs consist of native object code.
Programs consist of Itanium instructions which run directly on
Itanium processors.