mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 03:10:05 +00:00
Use int64_t in x86_64/fpu/math_private.h
This commit is contained in:
parent
5df98260fe
commit
b4c35121c4
@ -11,6 +11,12 @@
|
||||
(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
|
||||
|
@ -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__; \
|
||||
|
Loading…
Reference in New Issue
Block a user