Download PGI Compiler Reference Manual
Transcript
Generic PGI Compiler Options The following table lists and briefly describes the options alphabetically and includes a field showing the category. For more details about the options as they relate to these categories, refer to “–M Options by Category” on page 113. Table 2.7. –M Options Summary 32 pgflag Description Category allocatable=95|03 Controls whether to use Fortran 95 or Fortran 2003 Fortran Language semantics in allocatable array assignments. anno Annotate the assembly code with source code. Miscellaneous [no]autoinline C/C++ when a function is declared with the inline keyword, inline it at –O2 and . Inlining [no]asmkeyword Specifies whether the compiler allows the asm keyword in C/C++ source files (pgcc and pgcpp only). C/C++ Language [no]backslash Determines how the backslash character is treated in quoted strings (pgf77, pgf95, pgfortran only). Fortran Language [no]bounds Specifies whether array bounds checking is enabled Miscellaneous or disabled. --[no_]builtin Do/don’t compile with math subroutine builtin Optimization support, which causes selected math library routines to be inlined (pgcc and pgcpp only). byteswapio Swap byte-order (big-endian to little-endian or vice Miscellaneous versa) during I/O of Fortran unformatted data. cache_align Where possible, align data objects of size greater Optimization than or equal to 16 bytes on cache-line boundaries. chkfpstk Check for internal consistency of the x87 FP stack in the prologue of a function and after returning from a function or subroutine call (–tp px/p5/p6/ piii targets only). Miscellaneous chkptr Check for NULL pointers (pgf95, pgfortran only). Miscellaneous chkstk Check the stack for available space upon entry to Miscellaneous and before the start of a parallel region. Useful when many private variables are declared. concur Enable auto-concurrentization of loops. Multiple processors or cores will be used to execute parallelizable loops. Optimization cpp Run the PGI cpp-like preprocessor without performing subsequent compilation steps. Miscellaneous cray Force Cray Fortran (CF77) compatibility (pgf77, pgf95, pgfortran only). Optimization