User`s guide
Compiler Directives and Assertions [C]
The compiler tests for case n first, and all other cases after that. n
must be an integer constant, in any radix. It may not be an integer
expression, nor may it be a member of an enumeration.
#pragma mta expect (predicate)
This directive can appear before any executable statement and
suggests that the compiler should optimize code near that point. This
suggestion is based on the assumption that the predicate typically
evaluates to true. This directive is deprecated and should not be used.
#pragma mta expect parallel
Deprecated form of expect parallel context directive that
follows.
#pragma mta expect parallel context
This directive is inserted immediately before a function declaration.
It tells the compiler that the following function is expected to
be called in a highly parallel context. In this case, the compiler
reduces the total number of instructions issued by the function rather
than the serial execution time. By default, the compiler assumes
that a function is called in a serial context unless the function is
marked with the expect parallel context directive or the
-parcontext flag was used on the compiler command line. This
directive affects the next function only.
#pragma mta expect serial context
This directive is inserted immediately before a function declaration.
It tells the compiler that the following function is expected to be
called in a serial context. In this case, the compiler reduces the serial
execution time for the function. By default, the compiler assumes
that a function is in a serial context unless the -parcontext
flag was used on the compiler command line or the function is
marked with the expect parallel context directive in
the code. The expect serial context directive overrides
the -parcontext compiler flag for the function immediately
following the directive. This directive affects the next function only.
S–2479–20 131