OSDN Git Service

2004-05-05 H.J. Lu <hongjiu.lu@intel.com>
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 May 2004 20:17:08 +0000 (20:17 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 May 2004 20:17:08 +0000 (20:17 +0000)
PR target/15290
* config/i386/i386.c (ix86_split_to_parts): Use real_to_target
instead of REAL_VALUE_TO_TARGET_LONG_DOUBLE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81537 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/i386/i386.c

index 558e3a4..975882b 100644 (file)
@@ -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
index 5a6832d..2890d04 100644 (file)
@@ -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]