diff options
author | Ulrich Drepper <drepper@redhat.com> | 2006-11-10 20:55:22 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2006-11-10 20:55:22 +0000 |
commit | e1b370832c8ad9262a533d2760942a7aeba0f748 (patch) | |
tree | a2a59cbc650fb2697e8533195596af9ce0167ce6 /sysdeps/i386/fpu | |
parent | 5c2af1344575c64affe0dcbd3bef28e6470045c4 (diff) | |
download | glibc-e1b370832c8ad9262a533d2760942a7aeba0f748.zip glibc-e1b370832c8ad9262a533d2760942a7aeba0f748.tar.gz glibc-e1b370832c8ad9262a533d2760942a7aeba0f748.tar.bz2 |
[BZ #3465]
* sunrpc/clnt_raw.c: Minimal message improvements.
* sunrpc/pm_getmaps.c: Likewise.
* nis/nss_nisplus/nisplus-publickey.c: Likewise.
* nis/nis_print_group_entry.c: Likewise.
* locale/programs/repertoire.c: Likewise.
* locale/programs/charmap.c: Likewise.
* malloc/memusage.sh: Likewise.
* elf/dl-deps.c: Likewise.
* locale/programs/ld-collate.c: Likewise.
* libio/vswprintf.c: Likewise.
* malloc/memusagestat.c: Likewise.
* sunrpc/auth_unix.c: Likewise.
* sunrpc/rpc_main.c: Likewise.
* nscd/cache.c: Likewise.
* locale/programs/repertoire.c: Unify output messages.
* locale/programs/charmap.c: Likewise.
* locale/programs/ld-ctype.c: Likewise.
* locale/programs/ld-monetary.c: Likewise.
* locale/programs/ld-numeric.c: Likewise.
* locale/programs/ld-time.c: Likewise.
* elf/ldconfig.c: Likewise.
* nscd/selinux.c: Likewise.
* elf/cache.c: Likewise.
Patch mostly by Benno Schulenberg <bensberg@justemail.net>.
Diffstat (limited to 'sysdeps/i386/fpu')
-rw-r--r-- | sysdeps/i386/fpu/bits/mathinline.h | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/sysdeps/i386/fpu/bits/mathinline.h b/sysdeps/i386/fpu/bits/mathinline.h index 8e7a867..28547d4 100644 --- a/sysdeps/i386/fpu/bits/mathinline.h +++ b/sysdeps/i386/fpu/bits/mathinline.h @@ -532,16 +532,17 @@ __inline_mathcodeNP (floor, __x, \ register int __ignore; \ unsigned short int __cw; \ unsigned short int __cwtmp; \ - __asm __volatile ("fnstcw %4\n\t" \ - "movzwl %4, %1\n\t" \ + __asm __volatile ("fnstcw %3\n\t" \ + "movzwl %3, %1\n\t" \ "andl $0xf3ff, %1\n\t" \ "orl $0x0400, %1\n\t" /* rounding down */ \ - "movw %1, %3\n\t" \ - "fldcw %3\n\t" \ + "movw %w1, %2\n\t" \ + "fldcw %2\n\t" \ "frndint\n\t" \ - "fldcw %4" \ - : "=t" (__value), "=&q" (__ignore) \ - : "0" (__x), "m" (__cwtmp), "m" (__cw)); \ + "fldcw %3" \ + : "=t" (__value), "=&q" (__ignore), "=m" (__cwtmp), \ + "=m" (__cw) \ + : "0" (__x)); \ return __value) __inline_mathcodeNP (ceil, __x, \ @@ -549,16 +550,17 @@ __inline_mathcodeNP (ceil, __x, \ register int __ignore; \ unsigned short int __cw; \ unsigned short int __cwtmp; \ - __asm __volatile ("fnstcw %4\n\t" \ - "movzwl %4, %1\n\t" \ + __asm __volatile ("fnstcw %3\n\t" \ + "movzwl %3, %1\n\t" \ "andl $0xf3ff, %1\n\t" \ "orl $0x0800, %1\n\t" /* rounding up */ \ - "movw %1, %3\n\t" \ - "fldcw %3\n\t" \ + "movw %w1, %2\n\t" \ + "fldcw %2\n\t" \ "frndint\n\t" \ - "fldcw %4" \ - : "=t" (__value), "=&q" (__ignore) \ - : "0" (__x), "m" (__cwtmp), "m" (__cw)); \ + "fldcw %3" \ + : "=t" (__value), "=&q" (__ignore), "=m" (__cwtmp), \ + "=m" (__cw) \ + : "0" (__x)); \ return __value) #ifdef __FAST_MATH__ |