This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: FLOATING POINT LIBRARY
- From: Ian Lance Taylor <iant at google dot com>
- To: sumanth <sumanth dot gundapneni at redpinesignals dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Mon, 06 Jul 2009 08:58:16 -0700
- Subject: Re: FLOATING POINT LIBRARY
- References: <4A4D9B53.40601@redpinesignals.com>
sumanth <sumanth.gundapneni@redpinesignals.com> writes:
> Size of double in architecture is 32bit wide which means float
> and double are same.
> The problem here is how can I tell a softfloat library in libgcc
> to compile libraries for double of 32-bit wide.
You shouldn't have to. gcc invokes its internal functions based only on
the size of the floating point value, not the type. If you build the
SFmode libraries, they will be used for both float and double.
Ian