>>>>> Ralf Baechle writes:
Ralf> Looking at the fcr31 bug I found some other bug which probably isn't
Ralf> what you observe but is a bug anyway - fpu_control_t was a 16-bit type
Ralf> but should be a 32-bit type. Patch below.
Thanks, I've commited it.
Ralf> Is _FPU_IEEE used at all and is it's definition right?
It's nowhere used - but each architecture has it. The value looks fine.
Ralf> I asked more people to run your test program. The result is that glibc
Ralf> 2.0.6 (both shared and static tried) and 2.2 print ``0 0'' while glibc
Ralf> 2.0.7 prints a non-zero value.
OK, I'll investigate the kernels and glibc I'm running a bit more.
SuSE Labs email@example.com