Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP Pascal/HP-UX Release Notes: HP 9000 Series Systems > Chapter 1 New and Changed Features

+DS Command-Line Option

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

+DSmodel

Performs instruction scheduling tuned for a particular implementation of the PA-RISC architecture.

Object code with scheduling tuned for a particular model will execute on other HP 9000 systems, although possibly less efficiently.

If you do not specify this option, the default instruction scheduling is for the system you are compiling on.

If you plan to run your program on both PA-RISC 1.1 and 2.0 systems, use the +DS2.0 designation.

Examples:

+DS720

Performs instruction scheduling tuned for one implementation of PA-RISC 1.1.

+DS745

Performs instruction scheduling for another implementation of PA-RISC 1.1.

+DSPA8000

Performs instruction scheduling for systems based on the PA-RISC 8000 processor.

For more information:

The model Parameter

model can be either a model number of an HP 9000 system (such as 725, 890, or G40), PA-RISC architecture designation 1.1 or 2.0, or one of the PA-RISC processor names such as PA7000, PA7100, PA7100LC, or PA8000. See the file /opt/langtools/lib/sched.models for model numbers and processor names.

Using +DS to Specify Instruction Scheduling

Instruction scheduling is different on different implementations of PA-RISC architectures. You can improve performance on a particular model or processor of the HP 9000 by requesting that the compiler use instruction scheduling tuned to that particular model or processor. Using scheduling for one model or processor does not prevent your program from executing on another model or processor.

By default, the compiler performs scheduling tuned for the system on which you are compiling. Use the +DS option to change this default behavior and to specify instruction scheduling tuned to a particular implementation of PA-RISC. For example, to specify instruction scheduling for the model 867, use +DS867. To specify instruction scheduling for the PA-RISC 8000 processor, use +DSPA8000. See the file /opt/langtools/lib/sched.models for model numbers and processor names.

When you use the +DS option depends on your particular circumstances.

  • If you plan to run your program on the same system where you are compiling, you don't need to use the +DS option. The compiler generates code tuned for your system.

  • If you plan to run your program on one particular model of the HP 9000 and that model is different from the one where you compile your program, use +DSmodel with either the model number of the target system or the processor name of the target system.

    For example, if you are compiling on a system with a PA7100 processor and your program will run on a system with a PA7100LC processor, you can use +DSPA7100LC. This will give you the best performance on the PA7100LC system.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1994 Hewlett-Packard Development Company, L.P.