Message ID | CAFULd4Y2jmiHfBh=U-cdH7Eihm7661AP_yMw4hc0w3XFzJV6ZA@mail.gmail.com |
---|---|
State | New |
Headers | show |
Series | [i386] : Use fnstcw instead of fstcw to set x87 precision in crtprec.c | expand |
Index: config/i386/crtprec.c =================================================================== --- config/i386/crtprec.c (revision 264643) +++ config/i386/crtprec.c (working copy) @@ -39,7 +39,7 @@ set_precision (void) { unsigned short int cwd; - asm volatile ("fstcw\t%0" : "=m" (cwd)); + asm volatile ("fnstcw\t%0" : "=m" (cwd)); cwd &= ~X87CW_PCMASK; cwd |= X87CW;