This is the mail archive of the gcc-patches@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]

Re: [ColdFire 20/63] Factor out soft-float library support


Jeffrey Law <law@redhat.com> writes:
> On Wed, 2007-01-10 at 11:17 +0000, Richard Sandiford wrote:
>> The soft-float makefile fragments are duplicated in several target files.
>> This patch moves them to a common file called t-floatlib.  It also
>> prevents the XFmode patterns from being used on ColdFire targets,
>> for which long double is now DFmode.
>> 
>> Richard
>> 
>> 
>> gcc/
>> 200x-xx-xx  Nathan Sidwell  <nathan@codesourcery.com>
>> 
>> 	* config.gcc (m68k-*-aout*, m68k-*-coff*, m68020-*-elf*, m68k-*-elf*)
>> 	(m68k-*-uclinux*, m68k-*-rtems*): Add t-floatlib to $tmake_file.
>> 	* config/m68k/t-floatlib: New file, extracting common code from...
>> 	* config/m68k/t-m68kbare, config/m68k/t-m68kelf,
>> 	* config/m68k/t-uclinux: Here.
>> 	* config/m68k/fpgnulib.c: Do not compile extendeed precision
>> 	routines on ColdFire targets.
> Is there any way to make this work if the size of a long double is
> configurable?  I'm not comfortable just changing the size of a
> long double -- I strongly suspet there's going to be some users
> who will want to continue to have the extended doubles.
>
> Assuming that's the case, then we can't simply assume that XFmode
> patterns aren't going to be used on coldfire, right?

Just so we're on the same page, the ColdFire FPU doesn't support
extended precision.  It's single and double precision only.
Thus there aren't any XFmode patterns that could be used for
ColdFire; everything would have to be handled with software
emulation.

As I said in my muddled reply earlier, I'm not aware that there
actually is an XFmode emulation library for ColdFire, but like
I say, that might be my ignorance.

Richard


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