Re: PowerPC long double

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/07/2012 03:55 PM, Ian Lance Taylor wrote:
On Fri, Sep 7, 2012 at 12:08 PM, Ira Hill<ijh3@xxxxxxx>  wrote:
Now I also can enable the "-mlong-double-128" flag which appears to give me
quad precision, but that produces binaries with undefined symbols on my
target (_q_mul, _q_add, etc..) and will not run.
I'm not certain, but I think you need to use the -mno-xl-compat option.

Ian

Thanks for the reply! Unfortunately, -mno-xl-compat still produces the _q_mul symbols.
"powerpc-wrs-vxworks-objdump -t PPC603gnu/testGCC.o | grep _q"
00000000         *UND*  00000000 _q_flt
00000000         *UND*  00000000 _q_fge
00000000         *UND*  00000000 _q_fgt
00000000         *UND*  00000000 _q_fle
00000000         *UND*  00000000 _q_div
00000000         *UND*  00000000 _q_mul

I've found another thread where a user was able to express long double as two doubles (__LBL_MANT_DIG__106) on PowerPC-linux: http://gcc.gnu.org/ml/gcc-help/2011-05/msg00200.html. I'm not sure why I'm not able to do the same (is it VxWorks specific?). Ultimately, I need higher precision for one of our robotic algorithms.

Thanks,
Ira


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux