[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [netbsd-4] src/sys/arch/m68k/fpe
Module Name: src
Committed By: bouyer
Date: Sat Jan 31 21:51:21 UTC 2009
src/sys/arch/m68k/fpe [netbsd-4]: fpu_emulate.c
Pull up following revision(s) (requested by tsutsui in ticket #1268):
sys/arch/m68k/fpe/fpu_emulate.c: revision 1.28
In fpu_emul_arith(), check lower 7 bits in word1 rather than only 6 bits
to check 040/060 FP instructions, and don't call fpu_implode() and
fpu_upd_fpsr() if no vaild emulated result is set otherwise these
functions cause NULL pointer dereference.
Fixes panics triggered by 040/060's FDADD instruction
(which has the same lower 6 bits with fscale instruction)
on 020/030 machines (even with 68881/68882) running kernels
with options FPU_EMULATE.
Problem reported by John Carr on port-sun3.
Should be pulled up to netbsd-4-0, netbsd-4 and netbsd-5.
XXX: m68k 4.0 packages binaries on ftp have this FDADD instruction.
To generate a diff of this commit:
cvs rdiff -r22.214.171.124 -r126.96.36.199 src/sys/arch/m68k/fpe/fpu_emulate.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Main Index |
Thread Index |