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: [PATCHv2, rs6000] Add minimum __float128 built-in support required for glibc


On Thu, Jun 23, 2016 at 07:33:34PM -0500, Bill Schmidt wrote:
> > For posterity:
> > 
> > Use   vspltisw A,N ; vsrw B,A,A ; vslo D,B,A   to create in D:
> > N=-16  ffff_0000_0000_0000_0000_0000_0000_0000  (ieee128 -Inf)
> > N=-17  7fff_0000_0000_0000_0000_0000_0000_0000  (ieee128 +Inf)
> 
> For the latter, it was N=-15 IIRC?  Anyway -17 is an illegal value for vspltisw.

Yes, of course.  Three insns is too much asm to do correctly!  :-)


Segher


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