OSDN Git Service

* i386.c (ix86_expand_lround, ix86_expand_round): Update call of
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 6 Sep 2007 00:04:31 +0000 (00:04 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 6 Sep 2007 00:04:31 +0000 (00:04 +0000)
real_2expN.

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

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

index 66646ab..1130e21 100644 (file)
@@ -1,5 +1,10 @@
 2007-09-06  Jan Hubicka  <jh@suse.cz>
 
+       * i386.c (ix86_expand_lround, ix86_expand_round): Update call of
+       real_2expN.
+
+2007-09-06  Jan Hubicka  <jh@suse.cz>
+
        * opts.c (common_handle_option): Enable inlining functions for
        -fprofile-generate.
 
index dba72df..f6f80a0 100644 (file)
@@ -23144,7 +23144,7 @@ ix86_expand_lround (rtx op0, rtx op1)
 
   /* load nextafter (0.5, 0.0) */
   fmt = REAL_MODE_FORMAT (mode);
-  real_2expN (&half_minus_pred_half, -(fmt->p) - 1);
+  real_2expN (&half_minus_pred_half, -(fmt->p) - 1, mode);
   REAL_ARITHMETIC (pred_half, MINUS_EXPR, dconsthalf, half_minus_pred_half);
 
   /* adj = copysign (0.5, op1) */
@@ -23555,7 +23555,7 @@ ix86_expand_round (rtx operand0, rtx operand1)
 
   /* load nextafter (0.5, 0.0) */
   fmt = REAL_MODE_FORMAT (mode);
-  real_2expN (&half_minus_pred_half, -(fmt->p) - 1);
+  real_2expN (&half_minus_pred_half, -(fmt->p) - 1, mode);
   REAL_ARITHMETIC (pred_half, MINUS_EXPR, dconsthalf, half_minus_pred_half);
 
   /* xa = xa + 0.5 */