From: Ulrich Drepper Date: Fri, 11 Jul 1997 01:13:11 +0000 (+0000) Subject: Shift the exception mask in the right position. X-Git-Tag: glibc-2.16-ports-before-merge~3479 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=07ce00df82813cf2410f30f816a71aa497f688bf;p=thirdparty%2Fglibc.git Shift the exception mask in the right position. --- diff --git a/sysdeps/m68k/fpu/feholdexcpt.c b/sysdeps/m68k/fpu/feholdexcpt.c index 351fa8ae75f..d8e2d8a8a19 100644 --- a/sysdeps/m68k/fpu/feholdexcpt.c +++ b/sysdeps/m68k/fpu/feholdexcpt.c @@ -32,7 +32,7 @@ feholdexcept (fenv_t *envp) fpsr = envp->status_register & ~FE_ALL_EXCEPT; __asm__ __volatile__ ("fmove%.l %0,%/fpsr" : : "dm" (fpsr)); /* And set all exceptions to non-stop. */ - fpcr = envp->control_register & ~(FE_ALL_EXCEPT << 5); + fpcr = envp->control_register & ~(FE_ALL_EXCEPT << 6); __asm__ __volatile__ ("fmove%.l %0,%!" : : "dm" (fpcr)); return 1;