diff options
author | Jakub Jelinek <jakub@redhat.com> | 2006-11-10 20:52:00 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2006-11-10 20:52:00 +0000 |
commit | 53a451c64a34f4602b9479aaa8effe149e150a54 (patch) | |
tree | 767d1ef7ddc089f82c81d728dd51ad3279a670fb /sysdeps/i386 | |
parent | 8ee382621852ed3c7e5ff17609e69cdfc1ba5c9f (diff) |
Updated to fedora-glibc-20061110T2049cvs/fedora-glibc-2_5_90-6
Diffstat (limited to 'sysdeps/i386')
-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 8e7a867ec6..28547d44b8 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__ |