This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: IEEE 754 Compliance
- From: dewar at gnat dot com (Robert Dewar)
- To: dvenkat at noida dot hcltech dot com, gcc at gcc dot gnu dot org
- Date: Wed, 18 Sep 2002 06:57:20 -0400 (EDT)
- Subject: Re: IEEE 754 Compliance
<<I do think, that h8 being a 16 bit microprocessor or microcontroller, would
slow down any program considerably if it uses double with 64 bits, requiring
many memory accesses. But somehow, shouldn't GCC move towards, fixed sizes
for data types (except the pointer sizes, of course), such as Java does. And
maybe, release an advisory that GCC may slow down for certain data types on
certain machines. There is always a float to do the same job of a double in
H8. I don't say, the present GCC violates any C Standards, its just that,
wouldn't fixed sizes go a long way in making programs more portable.
>>
It is far more important that GCC obey the ABI on each machine. The ABI
specifies the length and format of the vaious floating-point types.