alpha: fix conversion from denormal float to double
authorIvan Kokshaysky <ink@jurassic.park.msu.ru>
Thu, 17 Jan 2008 23:21:13 +0000 (15:21 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 17 Jan 2008 23:38:59 +0000 (15:38 -0800)
commit6b2d2cec1081a979e0efd6a1e9559e5a01a3c10e
treecf54841ec279d46c7535f096ded597808f690589
parentf63dcda197bd71c6565c2121bf70e3d371539f90
alpha: fix conversion from denormal float to double

The trap handler does properly update the fraction,
but not the exponent...

Thanks to Paolo Bonzini for the bug report and the testcase.

Signed-off-by: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Paolo Bonzini <bonzini@gnu.org>
Cc: Richard Henderson <rth@twiddle.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/alpha/math-emu/math.c