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 C/HP-UX Programmer's Guide: Workstations and Servers > Chapter 4 Optimizing HP C Programs

Supporting Optimization Options

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

Table 4-2 “Other Supporting Optimizations ” shows optimization options that support the core optimization levels. These optimizations are performed only when specifically invoked. They are available at all optimization levels.

Table 4-2 Other Supporting Optimizations

Option

Description

Benefits

+ESfic

Replaces millicode calls with inline code.

Run-time code is faster because fast indirect calls are used instead of millicode calls.

+ESlit

Places string literals and constants defined with the ANSI C const type qualifier into read-only data storage.

Reduces memory requirements and improves run-time speed in multi-user applications. Can improve data-cache utilization.

+I, +P

Enables all profile-based optimizations. Uses execution profile data to identify the most frequently executed code paths. Repositions functions, basic blocks, and aids other optimizations according to these frequently executed paths.

Improves code locality and cache hit rates. Improves efficiency of other optimizations. Benefits most applications, especially large applications with multiple compilation units. May be used at any optimization level.

 

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