Message ID | b5c6ce83-4ed6-277e-2cbf-8523d6e65fff@linux.vnet.ibm.com |
---|---|
State | New |
Headers | show |
diff --git a/sysdeps/s390/fpu/fetestexceptflag.c b/sysdeps/s390/fpu/fetestexceptflag.c index b7e64ab..d5646c5 100644 --- a/sysdeps/s390/fpu/fetestexceptflag.c +++ b/sysdeps/s390/fpu/fetestexceptflag.c @@ -22,6 +22,9 @@ int fetestexceptflag (const fexcept_t *flagp, int excepts) { + /* As *flagp is obtained by an earlier call of fegetexceptflag the bits 0-5 + of dxc-byte are either zero or correspond to the flag-bits. + Evaluate flags and last dxc-exception-code. */ return (((*flagp >> FPC_FLAGS_SHIFT) | (*flagp >> FPC_DXC_SHIFT)) & excepts