You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PowerPC predominantly uses IBM long double. It seems this part is missing in gcc_long_double.hpp and a few headers which define __128bitdd for compilers (GCC on PPC uses the same type which IBM uses on AIX, not IEEE long double).
Is it so, and then these should be fixed, or am I looking in a wrong place?
The text was updated successfully, but these errors were encountered:
@barracuda156 thanks for calling this out. This is untested code as we do not have PowerPC platforms to test on, and the long double support is causing some grief in supporting it across all the different compilers and platforms.
Any guidance how to get a PowerPC setup so that we can fix this?
@barracuda156 thanks for calling this out. This is untested code as we do not have PowerPC platforms to test on, and the long double support is causing some grief in supporting it across all the different compilers and platforms.
Any guidance how to get a PowerPC setup so that we can fix this?
Linux might support both kinds of long double, GCC has switches for them: https://gcc.gnu.org/onlinedocs/gcc/RS_002f6000-and-PowerPC-Options.html
But AFAIK, most if not all Big endian systems will use IBM long double (composed of two doubles). It should be identical across AIX, macOS PPC and whatever BSD and Linux use Big endian.
GCC should have it documented reasonably well inside /gcc/config/rs6000. IBM and Motorola manuals for PowerPC cpus had decent documentation too.
PowerPC predominantly uses IBM long double. It seems this part is missing in
gcc_long_double.hpp
and a few headers which define__128bitdd
for compilers (GCC on PPC uses the same type which IBM uses on AIX, not IEEE long double).Is it so, and then these should be fixed, or am I looking in a wrong place?
The text was updated successfully, but these errors were encountered: