I tested latest patches on Rpi Fedora 32 (aarch64) and I confirm it now pass
all mpfr tests on this platform.Many thanks.
C.
Le : 16 juillet 2020 à 02:13 (GMT +02:00)
De : "Vincent Lefevre"
À : "tinycc-devel@nongnu.org"
Objet : Re: [Tinycc-devel] aa
Alright thanks, I get its purpose now.
Thanks for taking the time to explain.
On Wed, Jul 15, 2020 at 9:41 AM Michael Matz wrote:
> Hello,
>
> On Tue, 14 Jul 2020, UnknownGamer40464 wrote:
>
> > I see. I had assumed it was for unix compatibility but I guess not.
> >
> > Is it supposed to show u
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 rep
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
The TCC manual just says about the __TINYC__ macro:
* '__TINYC__' is a predefined macro to indicate that you use TCC.
But it actually contains the version, computed with
sprintf(buffer, "%d", a*1 + b*100 + c);
This should be documented (this is not obvious without reading the
source si
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", d
Hello,
On Wed, 15 Jul 2020, Christian JULLIEN wrote:
I think that float.h should be modified accordingly, is it Ok?
Yes, as the aarch64 backend indeed uses the IEEE float128 for long double.
(what are the risc-v values)
Same as on aarch64.
Ciao,
Michael.
___
Hello,
On Tue, 14 Jul 2020, UnknownGamer40464 wrote:
I see. I had assumed it was for unix compatibility but I guess not.
Is it supposed to show up in the win32 tcclib.h file then?
tcclib.h is a small convenience header that exists merely to show how a
minimal installation on unix-like syste