HP Compilers for HP Integrity Servers (September 2011)

Contents
HP compilers for HP Integrity servers.............................................................................................4
Understanding HP compilers......................................................................................4
Optimizing for Integrity servers...................................................................................5
Predication.........................................................................................................5
Control speculation..............................................................................................7
Data speculation.................................................................................................8
Explicit parallelism...............................................................................................9
What’s new in HP compiler A.06.26........................................................................10
Understanding key features of the HP compilers..........................................................10
Standards compliance........................................................................................10
Compatibility....................................................................................................11
Extensive application availability.........................................................................11
Faster development and debug............................................................................12
Advanced low-level optimization..........................................................................12
Profile-based optimization...................................................................................13
Powerful high-level optimization...........................................................................15
Precise floating-point control................................................................................21
Extensive inline assembly....................................................................................23
Application tuning..................................................................................................23
Profiling............................................................................................................23
Include header files............................................................................................24
Scheduling for the processor...............................................................................24
Choosing the link mode......................................................................................25
Increasing the page size.....................................................................................25
Describing application characteristics...................................................................26
Tuning with profile-based optimization..................................................................28
Tuning across program modules...........................................................................28
Tuning floating-point numerical code....................................................................28
Allowing optimization flexibility...........................................................................30
Using inline assembly.........................................................................................31
Troubleshooting optimization problems.................................................................31
Additional Information............................................................................................33
References.............................................................................................................35
Index......................................................................................................................................37
Contents 3