OSDN Git Service

[ARM] vfp: fix leak of VFP_NAN_FLAG into FPSCR
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Tue, 25 Apr 2006 19:41:27 +0000 (20:41 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 25 Apr 2006 19:41:27 +0000 (20:41 +0100)
commit928bd1b4709045355fad8bf858904884c0a1e87f
tree1875af1016e3057fd25fa7441877f8a0b97cffbe
parentc7fd84424f919740880d989cb0459c332da96013
[ARM] vfp: fix leak of VFP_NAN_FLAG into FPSCR

The VFP code can leak VFP_NAN_FLAG into the FPSCR. It doesn't correspond
to any real FPSCR bit (and overlaps one of the exception flags).

Bug report from Daniel Jacobowitz

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/vfp/vfpdouble.c
arch/arm/vfp/vfpmodule.c
arch/arm/vfp/vfpsingle.c