HPlogo HP C++ Version A.10.40 Release Notes: HP 9000 Computers > Chapter 1 New and Changed Features

Version A.10.22 Features

» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Index

New and changed features in this HP C++ version A.10.22 are listed below. They apply to HP-UX 10.x operating systems.

  • New +DA designations for PA-RISC 2.0 model and processor numbers­­­­--to generate code for the PA-RISC 2.0 systems. The +DAportable option generates code compatible across PA-RISC 1.1 and 2.0 workstations and servers.

    Default architecture object code generation is now determined automatically for all systems as that of the machine on which you compile.

  • New +DS designations for PA-RISC 2.0 model and processor numbers--to perform instruction scheduling tuned for PA-RISC 2.0 systems.

    Default instruction scheduling is now determined automatically for all systems as that of the machine on which you compile.

  • New or changed optimization options to enhance performance:

    • +Odataprefetch -- to generate data prefetch instructions for data structures referenced within innermost loops.

    • +Oentrysched -- changing to make save and restore operations more efficient.

    • +Ofailsafe -- to enable fail-safe optimization by default.

      When a compilation fails at the current optimization level, +Ofailsafe will automatically restart the compilation at a lower level of optimization.

    • +Ofltacc -- changing to provide better performance for PA-RISC 2.0 targets.

    • +Oinlinebudget--to perform aggressive inlining.

    • +Oloopunroll -- to enable loop unrolling.

    • +Ostaticprediction -- to enable static branch prediction.

  • New option -l:library -- to support the ld feature.

  • New option -ptR -- to prevent re-instantiation of templates when compiling and linking from multiple directories and using the same repository, and to prevent out-of-date errors on secondary repositories.

  • New +ESfic option -- to replace millicode calls with inline code for fast indirect calls.

  • New +help option -- to invoke online help for the HP C+ compiler and linker and libraries.

  • New -ext option -- to enable extensions to HP C++ functionality. At this time the extension included is 64-bit integer data type (long long) support for HP C++ applications that need to use large integers, such as large file systems databases.

  • New option +dup_static_removal -- to reduce the size of executables and to enhance performance by removing duplicate inline member functions that were dropped out of line because they were too complex or too large.

    The default, +nodup_static_removal, does not remove duplicate static member functions. Look up this option in the C++ Online Programmers Guide for an example of when to use the default.

  • New default elimination of duplicate symbolic debug information -- to reduce the size of object files and executables and to enhance performance. To prevent the elimination of duplicate symbolic debug information, use the option +Xd. This option may be needed if you have pxdb or xdb problems.

  • New Explicit Template Instantiation feature -- to substantially reduce the amount of time required to compile libraries for which large numbers of templates are instantiated.

  • Updated HP C++ Troubleshooting Notes -- to include new information in sections on "Explicit Template Instantiation," "Directed and Automatic Instantiation to Generate Needed Templates," and "Directed Template Instantiation."

  • To reduce code size, inline functions are no longer included in debug information. If you want to debug inline functions, use the +d compiler option.

© 1998 Hewlett-Packard Development Company, L.P.