Re: Enable libgcc floating point emulation routines

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

 



On Wed, Oct 21, 2020 at 1:27 PM William Tambe via Gcc-help <
gcc-help@xxxxxxxxxxx> wrote:

> For a specific platform, what is the proper way to enable the floating
> point emulation routines described at ?
>
> https://gcc.gnu.org/onlinedocs/gccint/Soft-float-library-routines.html#Soft-float-library-routines


In libgcc/config.host, add one of the t-softfp* files to tmake_file for
your host.  There are a number of choices, depending on exactly which modes
you need support for, and exactly which modes are implemented in hardware.
E.g. a target with no FP hardware and no 128-bit long double needs only
soft-float sf and df.  A target with FP hardware that supports 32-bit float
only, and supports 128-bit long double, needs soft-float df and tf.  Etc.
See the various target independent and target dependent t-softfp files and
pick one that matches your situation.

Jim



[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