This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
real.h: REAL_VALUE_TO_TARGET_DOUBLE
- From: "Omar Torres" <gcc dot omar at gmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 2 Oct 2008 17:39:02 -0500
- Subject: real.h: REAL_VALUE_TO_TARGET_DOUBLE
Hi All,
Shouldn't this macro:
#define REAL_VALUE_TO_TARGET_DOUBLE(IN, OUT) \
real_to_target (OUT, &(IN), mode_for_size (64, MODE_FLOAT, 0))
be using DOUBLE_TYPE_SIZE instead of the hard coded '64'? Am I missing
something here?
In the target I am currently working, DOUBLE_TYPE_SIZE is defined as
32-bit, so the hard-coded '64' is causing trouble. I am planning on
doing this change on my local source tree, but wanted to discuss with
the community to see if there is some implementations details somewhere
that I need to consider as well.
Best regards,
-Omar