Commit 0a76bba4 by Uros Bizjak Committed by Uros Bizjak

crtprec.c (set_precision): Use fnstcw instead of fstcw.

	* config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.

From-SVN: r264649
parent 2202b162
2018-09-26 Uros Bizjak <ubizjak@gmail.com>
* config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
2018-09-21 Alexandre Oliva <oliva@adacore.com>
* config/vxcache.c: New file. Provide __clear_cache, based on
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment