mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-29 09:34:50 +08:00
* config/fpu-387.h (set_fpu): Add "=m" for stmxcsr.
From-SVN: r105369
This commit is contained in:
parent
b2ebf9137c
commit
8d1d0da541
@ -1,3 +1,7 @@
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user