This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libgcc/66382] POWER8 Vector optimized implementation of __float128 (IEEE754 128-bit Binary Floating Point)


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66382

--- Comment #4 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
On Mon, 14 Mar 2016, dan.parrot at mail dot com wrote:

> However, I am still unable to get gcc to compile a very simple program 
> when passed the -msoft-float option. Here is the program (test.c)

For 32-bit, -msoft-float is a distinct ABI from -mhard-float, and requires 
its own copies of libgcc, libc, etc.; you can't just build and run a 
soft-float program on a hard-float system without building all those 
separate libraries and arranging for the program to find them at link time 
and run time.

For 64-bit, -msoft-float is not supported, and hard-float is always 
available.  (__float128 might use software or hardware floating point - 
software before POWER9, hardware with POWER9 - but that's controlled by 
other options.)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]