diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2004-05-05 20:17:08 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2004-05-05 13:17:08 -0700 |
commit | 9953b5e1f7490ccb4fd9bf6af8b9ce3a7a735869 (patch) | |
tree | 8ecffb61ae0700b067cedec8f6f6dd5159c367ef | |
parent | e3c287c9f3141a97a75ea54ca9d99d940765d831 (diff) | |
download | gcc-9953b5e1f7490ccb4fd9bf6af8b9ce3a7a735869.zip gcc-9953b5e1f7490ccb4fd9bf6af8b9ce3a7a735869.tar.gz gcc-9953b5e1f7490ccb4fd9bf6af8b9ce3a7a735869.tar.bz2 |
re PR target/15290 (__float128 failed to pass to function properly)
2004-05-05 H.J. Lu <hongjiu.lu@intel.com>
PR target/15290
* config/i386/i386.c (ix86_split_to_parts): Use real_to_target
instead of REAL_VALUE_TO_TARGET_LONG_DOUBLE.
From-SVN: r81537
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/i386/i386.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 558e3a4..975882b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-05-05 H.J. Lu <hongjiu.lu@intel.com> + + PR target/15290 + * config/i386/i386.c (ix86_split_to_parts): Use real_to_target + instead of REAL_VALUE_TO_TARGET_LONG_DOUBLE. + 2004-05-05 Mike Stump <mrs@apple.com> * config/darwin-c.c (add_framework): Copy the directory name as it diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 5a6832d..2890d04 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -10636,7 +10636,7 @@ ix86_split_to_parts (rtx operand, rtx *parts, enum machine_mode mode) long l[3]; REAL_VALUE_FROM_CONST_DOUBLE (r, operand); - REAL_VALUE_TO_TARGET_LONG_DOUBLE (r, l); + real_to_target (l, &r, mode); /* Do not use shift by 32 to avoid warning on 32bit systems. */ if (HOST_BITS_PER_WIDE_INT >= 64) parts[0] |