Vax C90-EL SERIES Service Manual Page 77

  • Download
  • Add to my manuals
  • Print
  • Page
    / 216
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 76
#pragma Directives [3]
3.5.9 ident Directive
The ident directive directs the compiler to store the string indicated by text
into the object (.o) file. This can be used to place a source identification string
into an object file.
The format of this directive is as follows:
#pragma _CRI ident "text"
3.6 Instantiation Directives
The Cray Standard C++ compiler recognizes three instantiation directives.
Instantiation directives can be used to control the instantiation of specific
template entities or sets of template entities. The following directives are
described in detail in Section 6.4, page 114:
#pragma _CRI instantiate
#pragma _CRI do_not_instantiate
#pragma _CRI can_instantiate
The #pragma _CRI instantiate directive causes a specified entity to
be instantiated.
The #pragma _CRI do_not_instantiate directive suppresses the
instantiation of a specified entity. It is typically used to suppress the
instantiation of an entity for which a specific definition is supplied.
The #pragma _CRI can_instantiate directive indicates that a specified
entity can be instantiated in the current compilation, but need not be. It is
used in conjunction with automatic instantiation to indicate potential sites for
instantiation if the template entity is deemed to be required by the compiler.
See Chapter 6, page 109 for more information on template instantiation.
3.7 Vectorization Directives
Because vector operations cannot be expressed directly in Cray Standard C/C++,
the compilers must be capable of vectorization, which means transforming scalar
operations into equivalent vector operations. The candidates for vectorization
are operations in loops and assignments of structures. For more information,
see Optimizing Application Code on UNICOS Systems.
S217936 57
Page view 76
1 2 ... 72 73 74 75 76 77 78 79 80 81 82 ... 215 216

Comments to this Manuals

No comments