Re: libgcc-arch.ver details

2010-03-30 Thread Paulo J. Matos
On Tue, Mar 30, 2010 at 9:33 AM, Paulo J. Matos wrote: > > I have been slowly hammering on this issue to get it to work but the > compiler is still generating a call to floatunsihf and it fails to > link. Now, I am confused as to whether what needs to be done is > hand-code this function for my pa

Re: libgcc-arch.ver details

2010-03-30 Thread Paulo J. Matos
On Mon, Mar 22, 2010 at 5:48 PM, Ian Lance Taylor wrote: > "Paulo J. Matos" writes: > >> After looking into the arm code I am quite confused since even though >> it uses HF (at least I found references to it in gcc4.5, but not in >> gcc4.3 or gcc4.4), I can't see how it's importing floatunsihf. I

Re: libgcc-arch.ver details

2010-03-22 Thread Paulo J. Matos
On Mon, Mar 22, 2010 at 5:48 PM, Ian Lance Taylor wrote: > > See, e.g., LIB2FUNCS_STATIC_EXTRA in config/arm/t-bpabi, and > config/arm/fp16.c, and the calls to set_conv_libfunc in > arm_init_libfuncs in config/arm/arm.c. > > Ian > Thanks for the refs once again Ian, that's extremelly helpful. Ch

Re: libgcc-arch.ver details

2010-03-22 Thread Ian Lance Taylor
"Paulo J. Matos" writes: > After looking into the arm code I am quite confused since even though > it uses HF (at least I found references to it in gcc4.5, but not in > gcc4.3 or gcc4.4), I can't see how it's importing floatunsihf. In > fact, I can't find any reference to a function called floatu

Re: libgcc-arch.ver details

2010-03-22 Thread Paulo J. Matos
On Thu, Mar 18, 2010 at 5:10 PM, Ian Lance Taylor wrote: > > Unlikely.  The question here is whether your target uses HFmode.  If > it does, you have to arrange to provide the HFmode libgcc functions. > That does not happen automatically.  HFmode is a 16-bit floating point > mode; currently the on

Re: libgcc-arch.ver details

2010-03-22 Thread Paulo J. Matos
On Thu, Mar 18, 2010 at 5:10 PM, Ian Lance Taylor wrote: > > Unlikely.  The question here is whether your target uses HFmode.  If > it does, you have to arrange to provide the HFmode libgcc functions. > That does not happen automatically.  HFmode is a 16-bit floating point > mode; currently the on

Re: libgcc-arch.ver details

2010-03-18 Thread Ian Lance Taylor
"Paulo J. Matos" writes: > On Thu, Mar 18, 2010 at 6:51 AM, Andrew Pinski wrote: >> On Wed, Mar 17, 2010 at 11:38 PM, Paulo J. Matos wrote: >> >> >> I cannot remember when half >> float support came in though, I thought it was only added on the trunk >> or did you backport that support too. >>

Re: libgcc-arch.ver details

2010-03-18 Thread Paulo J. Matos
On Wed, Mar 17, 2010 at 3:35 PM, Paulo J. Matos wrote: > So, let me see if I got this write. This is not meant as a spam mail but I can't help myself to correct this horrible mistake. Obviously I meant "right", instead of "write". :) [Having this error spread across multiple mailing list archives

Re: libgcc-arch.ver details

2010-03-18 Thread Paulo J. Matos
On Thu, Mar 18, 2010 at 6:51 AM, Andrew Pinski wrote: > On Wed, Mar 17, 2010 at 11:38 PM, Paulo J. Matos wrote: > > > I cannot remember when half > float support came in though, I thought it was only added on the trunk > or did you backport that support too. > Thanks for the tips. However, I did

Re: libgcc-arch.ver details

2010-03-17 Thread Andrew Pinski
On Wed, Mar 17, 2010 at 11:38 PM, Paulo J. Matos wrote: > Gcc 4.3.4 is generating a call to floatunsihf, which not only I can't > find in libgcc but it also doesn't show in the internal docs. > My guess is that this name is generated automatically and reveals some > mistake in my md file. Is that

Re: libgcc-arch.ver details

2010-03-17 Thread Paulo J. Matos
On Thu, Mar 18, 2010 at 12:34 AM, Ian Lance Taylor wrote: > "Paulo J. Matos" writes: > Thank you for the help regarding usage of libgcc. >> - For floating point emulation, how does gcc know that the arch needs >> floating point emulation or not? Does it depend on the insns that are >> defined i

Re: libgcc-arch.ver details

2010-03-17 Thread Ian Lance Taylor
"Paulo J. Matos" writes: > I am quite confused with libgcc-.ver details. I can't find any > documentation on this file except by looking at the files that already > exist. > > So, let me see if I got this write. The file > config//libgcc-.ver tells gcc to build libgcc so that it > export the symb

libgcc-arch.ver details

2010-03-17 Thread Paulo J. Matos
Hi, I am quite confused with libgcc-.ver details. I can't find any documentation on this file except by looking at the files that already exist. So, let me see if I got this write. The file config//libgcc-.ver tells gcc to build libgcc so that it export the symbols listed there (under a specific