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: Make MIPS soft-fp preserve NaN payloads for NAN2008


On Wed, 11 Jan 2017, Maciej W. Rozycki wrote:

> > > In any case, the soft-fp change is relevant in the hard-float case as
> > > well, to make software TFmode behave consistently with hardware SFmode
> > > and DFmode regarding NaN payload preservation.
> 
>  Is mixing TFmode, DFmode and SFmode operations with the two latters 
> handled in hardware and the former deferred to soft-fp a supported 
> configuration?  Do we have any MIPS ABI which provides for using all these 

Yes.

> data types?  AFAIK all MIPS/Linux ABIs use DFmode for `long double' and 

n32 and n64 use TFmode (unconditionally; unlike on some architectures, 
there is no -mlong-double-64 option).  From GCC 4.9 onwards this uses 
soft-fp rather than fp-bit, with integration with hardware exceptions and 
rounding modes.

-- 
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]