Re: Suffix for __float128 FP constants

2007-06-25 Thread H. J. Lu
On Mon, Jun 18, 2007 at 02:08:15PM -0700, H. J. Lu wrote: > On Mon, Jun 18, 2007 at 11:10:43AM -0700, Steve Ellcey wrote: > > > BTW: IA64 has the same issues with two FP types (long double XFmode and > > > "longer double" TFmode). How is this solved for IA64? > > > > > > Uros. > > > > This is di

Re: Suffix for __float128 FP constants

2007-06-18 Thread H. J. Lu
On Mon, Jun 18, 2007 at 02:33:07PM -0700, Steve Ellcey wrote: > > We need a standard for __float128. Otherwise, a program using > > __float128 may generate different results with different > > compilers on different platforms. > > > > BTW, I had a __float128 patch for glibc. Because there is no >

Re: Suffix for __float128 FP constants

2007-06-18 Thread Steve Ellcey
> We need a standard for __float128. Otherwise, a program using > __float128 may generate different results with different > compilers on different platforms. > > BTW, I had a __float128 patch for glibc. Because there is no > __float128 standard, it wasn't accepted. > > > H.J. The HP compiler h

Re: Suffix for __float128 FP constants

2007-06-18 Thread H. J. Lu
On Mon, Jun 18, 2007 at 11:10:43AM -0700, Steve Ellcey wrote: > > BTW: IA64 has the same issues with two FP types (long double XFmode and > > "longer double" TFmode). How is this solved for IA64? > > > > Uros. > > This is different on IA64 HP-UX and IA64 Linux. On HP-UX, 128 bits is > the stand

Re: Suffix for __float128 FP constants

2007-06-18 Thread Steve Ellcey
> BTW: IA64 has the same issues with two FP types (long double XFmode and > "longer double" TFmode). How is this solved for IA64? > > Uros. This is different on IA64 HP-UX and IA64 Linux. On HP-UX, 128 bits is the standard long double and 80 bits is __float80. We use the 'W' suffix for a __flo

Re: Suffix for __float128 FP constants

2007-06-18 Thread H. J. Lu
On Mon, Jun 18, 2007 at 07:25:06PM +0200, Uros Bizjak wrote: > H. J. Lu wrote: > > >>>I was trying to load a full 128 bit constant into __float128 variable, > >>>but > >>>with "L" suffix, I was able to load only XFmode constant. Is there a > >>>special > >>>suffix for __float128 available in gcc

Re: Suffix for __float128 FP constants

2007-06-18 Thread Uros Bizjak
H. J. Lu wrote: I was trying to load a full 128 bit constant into __float128 variable, but with "L" suffix, I was able to load only XFmode constant. Is there a special suffix for __float128 available in gcc? No; since the x86-64 ABI is what defines the __float128 name, you could ask the

Re: Suffix for __float128 FP constants

2007-06-18 Thread H. J. Lu
On Sun, Jun 17, 2007 at 09:06:36PM +, Joseph S. Myers wrote: > On Sun, 17 Jun 2007, Uros Bizjak wrote: > > > I was trying to load a full 128 bit constant into __float128 variable, but > > with "L" suffix, I was able to load only XFmode constant. Is there a special > > suffix for __float128 ava

Re: Suffix for __float128 FP constants

2007-06-17 Thread Joseph S. Myers
On Sun, 17 Jun 2007, Uros Bizjak wrote: > I was trying to load a full 128 bit constant into __float128 variable, but > with "L" suffix, I was able to load only XFmode constant. Is there a special > suffix for __float128 available in gcc? No; since the x86-64 ABI is what defines the __float128 nam