AnsweredAssumed Answered

the -extra-precision switch

Question asked by bookevg on May 25, 2013
Latest reply on Jun 13, 2013 by MikeP

Do I understand right that the -extra-precision switch solved the problem (C/C++ Compiler Manual for SHARC® Processors, Revision 1.1, April 2013, the page 1-291):

The compiler will sometimes use the integer PASS instruction ("Rx= PASS Ry;") to copy a floating-point value from one register to another. This operation will result in a 40-bit value being truncated to a 32-bit value. It is not possible to predict whether the compiler will use this instruction—it depends on many factors, such as the code sequence being compiled and whether optimization has been enabled.

Outcomes