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: Powerpc64 long double support


On Wed, Mar 10, 2004 at 01:23:36AM -0500, David Edelsohn wrote:
> 	The PowerPC changes are okay with me.
> 
> 	Other ports, such as Mips, use the IBM extended format, why not
> just add dconstm0 to standard list in real.h instead of creating a special
> function for rs6000 port?

I did consider doing that.  Note that using rs6000_dfmode_m0 costs just
one function call, whereas dconstm0 needs to be converted to double via
const_double_from_real_value, lookup_const_double, htab_find_slot.  I
thought I'd be pushing my luck to ask for a dfmode_m0_rtx in
emit-rtl.c.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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