summary refs log tree commit diff
path: root/sysdeps/m68k/fpu/fegetenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/m68k/fpu/fegetenv.c')
-rw-r--r--sysdeps/m68k/fpu/fegetenv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/m68k/fpu/fegetenv.c b/sysdeps/m68k/fpu/fegetenv.c
index 59f743aecf..b437b7ef8a 100644
--- a/sysdeps/m68k/fpu/fegetenv.c
+++ b/sysdeps/m68k/fpu/fegetenv.c
@@ -23,5 +23,5 @@
 void
 fegetenv (fenv_t *envp)
 {
-  __asm__ ("fmovem%.l %/fpcr/%/fpsr,%0" : "=m" (*envp));
+  __asm__ ("fmovem%.l %/fpcr/%/fpsr/%/fpiar,%0" : "=m" (*envp));
 }