Commit 8d1d0da5 by Uros Bizjak Committed by Uros Bizjak

* config/fpu-387.h (set_fpu): Add "=m" for stmxcsr.

From-SVN: r105369
parent b2ebf913
2005-20-13 Uros Bizjak <uros@kss-loka.si>
* config/fpu-387.h (set_fpu): Add "=m" for stmxcsr.
2005-10-12 Francois-Xavier Coudert <coudert@clipper.ens.fr>
* Makefile.am: Add fpu.c to the build process, and
......
......@@ -90,7 +90,7 @@ void set_fpu (void)
if (has_sse())
{
/* SSE */
asm volatile ("stmxcsr %0" : : "m" (cw_sse));
asm volatile ("stmxcsr %0" : : "=m" (cw_sse));
cw_sse &= 0xFFFF0000;
if (options.fpe & GFC_FPE_INVALID) cw_sse |= 1 << 7;
if (options.fpe & GFC_FPE_DENORMAL) cw_sse |= 1 << 8;
......
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