Module Name: src Committed By: isaki Date: Sat Dec 28 05:56:15 UTC 2024
Modified Files: src/sys/arch/m68k/fpe: fpu_emulate.c Log Message: m68k/fpe: Fix several FMOVEM FPctl emulation. - Fix the write order of FMOVEM FPctl,-(An). For example, "FMOVEM FPCR/FPSR,-(An)" instruction first decrements An by the total size (4*2 bytes), then writes FPCR and FPSR in this order. Therefore, it's differs from "FMOVEM FPCR,-(An); FMOVEM FPSR,-(An)" sequence. - Support multiple immediate case like "FMOVEM #imm/#imm,FPCR/FPIAR". - Mask writes to FPSR and FPCR registers correctly. - Support reglist=0 case too. It's not common case but makes code easier. To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 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.