On Tue, 30 Jul 2024, Jakub Jelinek wrote:

> On Tue, Jul 30, 2024 at 03:43:25PM +0300, Alexander Monakov wrote:
> > 
> > On Tue, 30 Jul 2024, Richard Biener wrote:
> > 
> > > > Oh, and please add a small comment why we don't use XFmode here.
> > > 
> > > Will do.
> > > 
> > >         /* Do not enable XFmode, there is padding in it and it suffers
> > >            from normalization upon load like SFmode and DFmode when
> > >            not using SSE.  */
> > 
> > Is it really true? I have no evidence of FLDT performing normalization
> > (as mentioned in PR 114659, if it did, there would be no way to spill/reload
> > x87 registers).
> > 
> > (the padding is not part of the 80-bit mode precision of XFmode, right?)
> 
> It is part of the mode (which has 12 or 16 byte size).
> Though, the condition in the caller of the target hook should already
> return false before calling this hook for the XFmode/XCmode modes exactly
> becayse the precision doesn't match size.

Yes, thanks, that's why I raised the question in parenthesis. The claim
about normalization still doesn't make sense to me.

Alexander

Reply via email to