The patch titled alpha: fix conversion from denormal float to double has been added to the -mm tree. Its filename is alpha-fix-conversion-from-denormal-float-to-double.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: alpha: fix conversion from denormal float to double From: Ivan Kokshaysky <ink@xxxxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxx> Cc: Paolo Bonzini <bonzini@xxxxxxx> Cc: Richard Henderson <rth@xxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/alpha/math-emu/math.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN arch/alpha/math-emu/math.c~alpha-fix-conversion-from-denormal-float-to-double arch/alpha/math-emu/math.c --- a/arch/alpha/math-emu/math.c~alpha-fix-conversion-from-denormal-float-to-double +++ a/arch/alpha/math-emu/math.c @@ -225,7 +225,7 @@ alpha_fp_emul (unsigned long pc) FP_UNPACK_SP(SB, &vb); DR_c = DB_c; DR_s = DB_s; - DR_e = DB_e; + DR_e = DB_e + (1024 - 128); DR_f = SB_f << (52 - 23); goto pack_d; } _ Patches currently in -mm which might be from ink@xxxxxxxxxxxxxxxxxxxx are origin.patch alpha-fix-conversion-from-denormal-float-to-double.patch iommu-sg-merging-alpha-make-pci_iommu-respect-the-segment-size-limits.patch arch-alpha-removed-duplicate-includes.patch alpha-atomic_add_return-should-return-int.patch alpha-kill-deprecated-virt_to_bus.patch alpha-doesnt-use-socketcall.patch agp-alpha-nopage.patch alpha-fix-warning-by-fixing-flush_tlb_kernel_range.patch alpha-parisc-removing-config-variable-debug_rwlock.patch get-rid-of-nr_open-and-introduce-a-sysctl_nr_open.patch get-rid-of-nr_open-and-introduce-a-sysctl_nr_open-fix.patch calibrate_delay-must-be-__cpuinit.patch sanitize-the-type-of-struct-useru_ar0.patch add-cmpxchg64-and-cmpxchg64_local-to-alpha.patch make-sure-nobodys-leaking-resources.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html