]> sourceware.org Git - glibc.git/commitdiff
Use int64_t in x86_64/fpu/math_private.h
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 19 Mar 2012 22:09:58 +0000 (15:09 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 19 Mar 2012 22:17:48 +0000 (15:17 -0700)
ChangeLog
sysdeps/x86_64/fpu/math_private.h

index f6b7c2bbed5790bb36d4b02358ceb3ac3934c143..295f499bf6335534977b96c12dfbcae3e5567e07 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
        (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
        (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
 
+2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
+       int64_t instead of long int.
+       (INSERT_WORDS64): Likwise.
+
 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
 
        * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
index 67c5f6a324e0fbc29ec27f3505d7ae4624579b26..63a699e8fcdabf1567cc1095c20c8a0a30d9ef57 100644 (file)
@@ -12,7 +12,7 @@
 /* Direct movement of float into integer register.  */
 #define EXTRACT_WORDS64(i, d)                                                \
   do {                                                                       \
-    long int i_;                                                             \
+    int64_t i_;                                                                      \
     asm (MOVD " %1, %0" : "=rm" (i_) : "x" ((double) (d)));                  \
     (i) = i_;                                                                \
   } while (0)
@@ -20,7 +20,7 @@
 /* And the reverse.  */
 #define INSERT_WORDS64(d, i) \
   do {                                                                       \
-    long int i_ = i;                                                         \
+    int64_t i_ = i;                                                          \
     double d__;                                                                      \
     asm (MOVD " %1, %0" : "=x" (d__) : "rm" (i_));                           \
     d = d__;                                                                 \
This page took 0.052184 seconds and 5 git commands to generate.