Module Name: src Committed By: isaki Date: Sat Dec 28 11:09:43 UTC 2024
Modified Files: src/sys/arch/m68k/fpe: fpu_emulate.c Log Message: m68k/fpe: Several bugfixes in FDBcc and FTRAPcc emulation. In fpu_emul_type1(), - If test_cc() returns >0, it's an error, that is an illegal instruction in this case. So it should just return without doing anything. By this fix, FTRAPcc with illegal cc now causes SIGILL correctly. - In result, branch can only be 0 or -1 after that. It makes code simple. By this cleanup, FDBcc with illegal cc now causes SIGILL correctly. - FTRAPcc must advance PC regardless of whether the condition is met. (although FTRAPcc does not work at this point by anothor problem) To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 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.