Re: [PATCH, i386]: Implement PR 71246, Missing built-in functions for float128 NaNs

2016-06-15 Thread Uros Bizjak
On Tue, Jun 14, 2016 at 11:45 PM, Rainer Orth wrote: > Uros Bizjak writes: > >> testsuite/ChangeLog: >> >> 2016-06-12 Uros Bizjak >> >> PR target/71241 >> * testsuite/gcc.dg/torture/float128-nan.c: New test. >> >>

Re: [PATCH, i386]: Implement PR 71246, Missing built-in functions for float128 NaNs

2016-06-14 Thread Rainer Orth
Uros Bizjak writes: > testsuite/ChangeLog: > > 2016-06-12 Uros Bizjak > > PR target/71241 > * testsuite/gcc.dg/torture/float128-nan.c: New test. > > Bootstrapped and regression tested on x86_64-linux-gnu {,-m32}. The test FAILs on 64-bit

Re: [PATCH, i386]: Implement PR 71246, Missing built-in functions for float128 NaNs

2016-06-13 Thread Joseph Myers
On Mon, 13 Jun 2016, Richard Biener wrote: > Hmm, as we already have BUILT_IN_NAN[S] why not add NAN128 and NANS128 > variants in the middle-end as we already have NAND128 (for decimal float > 128)? The middle-end does not know anything about the target-specific __float128 type. Now, I'm

Re: [PATCH, i386]: Implement PR 71246, Missing built-in functions for float128 NaNs

2016-06-13 Thread Uros Bizjak
On Mon, Jun 13, 2016 at 10:01 AM, Richard Biener wrote: > On Fri, 10 Jun 2016, Uros Bizjak wrote: > >> Hello! >> >> Attached patch implements __builtin_nanq and __builtin_nansq >> __float128 functions. >> >> 2016-06-10 Uros Bizjak >> >> PR target/71241

Re: [PATCH, i386]: Implement PR 71246, Missing built-in functions for float128 NaNs

2016-06-13 Thread Richard Biener
On Fri, 10 Jun 2016, Uros Bizjak wrote: > Hello! > > Attached patch implements __builtin_nanq and __builtin_nansq > __float128 functions. > > 2016-06-10 Uros Bizjak > > PR target/71241 > * config/i386/i386.i386-builtin-types.def (CONST_STRING): > New primitive

Re: [PATCH, i386]: Implement PR 71246, Missing built-in functions for float128 NaNs

2016-06-12 Thread Uros Bizjak
On Sat, Jun 11, 2016 at 9:35 AM, Uros Bizjak wrote: > On Fri, Jun 10, 2016 at 11:55 PM, Joseph Myers > wrote: >> On Fri, 10 Jun 2016, Uros Bizjak wrote: >> >>> Joseph, does it look OK to you? Richi, I hope I got tree stuff >>> implemented correctly.

Re: [PATCH, i386]: Implement PR 71246, Missing built-in functions for float128 NaNs

2016-06-11 Thread Uros Bizjak
On Fri, Jun 10, 2016 at 11:55 PM, Joseph Myers wrote: > On Fri, 10 Jun 2016, Uros Bizjak wrote: > >> Joseph, does it look OK to you? Richi, I hope I got tree stuff >> implemented correctly. > > It's plausible, but really needs testcases (which could examine the >

Re: [PATCH, i386]: Implement PR 71246, Missing built-in functions for float128 NaNs

2016-06-10 Thread Joseph Myers
On Fri, 10 Jun 2016, Uros Bizjak wrote: > Joseph, does it look OK to you? Richi, I hope I got tree stuff > implemented correctly. It's plausible, but really needs testcases (which could examine the bit-patterns of __float128 objects initialized using these built-in functions, to make sure

[PATCH, i386]: Implement PR 71246, Missing built-in functions for float128 NaNs

2016-06-10 Thread Uros Bizjak
Hello! Attached patch implements __builtin_nanq and __builtin_nansq __float128 functions. 2016-06-10 Uros Bizjak PR target/71241 * config/i386/i386.i386-builtin-types.def (CONST_STRING): New primitive type. (FLOAT128_FTYPE_CONST_STRING): New function type.