Operating System - HP-UX
1753776 Members
7499 Online
108799 Solutions
New Discussion

DAportable and older architecture - what is the cost of using this

 
SOLVED
Go to solution
Steve Miller_3
New Member

DAportable and older architecture - what is the cost of using this

We have a C110 we would like to use as a development box. We notice that binaries copied from the N4000 to the C110 give an "incompatible hardware" error message unless linked with +DAportable.

In the scenario that we use the C110 to compile/link our objects for the N4000, will we pay a severe performance price if we use the DAportable option. It would seem that we won't be able to optimize the object code for the N4000 architecture. Is this backward compatibility safe or will we see our programs behaving strangely on the N4000 because of the portable option.

Steve
1 REPLY 1
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: DAportable and older architecture - what is the cost of using this

Hi Steve,

The +DAportable compiler directive does work well (of course, you are generating PA-RISC 1.1 code rather than 2.0 so that some of the enhanced instructions of the newer processors are not used. For the vast majority of program the slight loss in performance in insignificant. If you are doing some intense numerical ananlysis you might see a small performance degradation.

Regards, Clay
If it ain't broke, I can fix that.