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: RESUBMIT: PowerPC -- support single-precision FPU


On Thu, 2 Oct 2008, Michael Eager wrote:

> Janis Johnson wrote:
> > On Thu, 2008-10-02 at 11:59 -0700, Michael Eager wrote:
> > 
> > > Other tests have explicit checks for TFmode, which are missing.
> > > This would probably be better:
> > 
> > Decimal float modes SDmode, DDmode, and TDmode also use
> > floating point registers.
> 
> Perhaps we need a macro which tests for 32-bit modes (SFmode
> and SDmode), 64-bit modes (DFmode and DDmode), and a third
> for 128-bit modes (TFmode and TDmode).

Then you have TFmode in the TARGET_IEEEQUAD case, passed by reference - 
but I believe that case is long bit-rotten, with lots of TFmode references 
that don't try to check for TARGET_IEEEQUAD, and could safely be removed.

-- 
Joseph S. Myers
joseph@codesourcery.com


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