Re: [Tinycc-devel] aarch64: subnormal double to long double conversion bug

2020-07-16 Thread Christian JULLIEN
inycc-devel] aarch64: subnormal double to long double conversion bug On 2020-07-15 23:15:59 +0200, Michael Matz wrote: Hello, On Wed, 15 Jul 2020, Vincent Lefevre wrote: With TCC mob on aarch64, the double to long double conversion is buggy on subnormal values. This makes a MPFR t

Re: [Tinycc-devel] aarch64: subnormal double to long double conversion bug

2020-07-15 Thread Vincent Lefevre
On 2020-07-15 23:15:59 +0200, Michael Matz wrote: > Hello, > > On Wed, 15 Jul 2020, Vincent Lefevre wrote: > > > With TCC mob on aarch64, the double to long double conversion > > is buggy on subnormal values. This makes a MPFR test fail > > (reported by Christian Jullien). > > Thanks for the

Re: [Tinycc-devel] aarch64: subnormal double to long double conversion bug

2020-07-15 Thread Michael Matz
Hello, On Wed, 15 Jul 2020, Vincent Lefevre wrote: With TCC mob on aarch64, the double to long double conversion is buggy on subnormal values. This makes a MPFR test fail (reported by Christian Jullien). Thanks for the report, it was indeed unhandled in the support routines. I fixed this in

[Tinycc-devel] aarch64: subnormal double to long double conversion bug

2020-07-15 Thread Vincent Lefevre
With TCC mob on aarch64, the double to long double conversion is buggy on subnormal values. This makes a MPFR test fail (reported by Christian Jullien). Testcase: #include int main (void) { volatile double d = 0x0.88p-1022; /* subnormal */ printf ("d = %a\n", d); printf ("d = %.40g\n",