[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] uint64_t/int64_t => double broken on ARM
From: |
Daniel Glöckner |
Subject: |
Re: [Tinycc-devel] uint64_t/int64_t => double broken on ARM |
Date: |
Wed, 29 Jan 2014 01:27:58 +0100 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Tue, Jan 28, 2014 at 06:51:53AM +0100, Christian Jullien wrote:
> Playing with clock_gettime and uint64_t/int64_t on RPi (ARM), I discovered
> uint64_t => double conversion bug :
>
> NOTE: tcc is compiled using --with-libgcc
The problem is that the EABI functions provided by libgcc still expect
and return doubles in integer registers, even on hardfloat systems.
This also affects casts in the other direction.
Daniel