> On Sunday, May 26, 2019, 10:10:39 PM GMT+9, Laurent Vivier <laur...@vivier.eu> wrote: > On 26/05/2019 09:28, Lucien Murray-Pitts wrote: >> On CPU32 and the early 68000 and 68010 the ISP doesnt exist. >> These CPUs only have SSP/USP. >> [SNIP] >> The movec instruction when accessing these shadow registers >> in some configurations should issue a TRAP. This patch does not >> add this funcitonality to the helpers. >> >I think it's better to also update movec in the same patch.[LMP] Movec should >be undefined (coldfire manual) for registers it doesnt know. The MC680X0 >manual is less clear.Technically this could be just leaving the operation of >the instruction alone and allowing it to pass back MSP/ISP/USP as it currently >does. My thinking is this is less likely to break anything So I will only add a comment, to state that on 68000/10/CF/CPU32 it should be "undefined" >Could you also update the comment about sp in CPUM68KState structure definition? [LMP] Done >And, if possible, could you fix style problem reported by patchew. [LMP] Done
Re: [Qemu-devel] [PATCH] Incorrect Stack Pointer shadow register support on some m68k CPUs
Lucien Anti-Spam via Qemu-devel Sun, 26 May 2019 20:44:48 -0700
- [Qemu-devel] [PATCH] Incorrect Stack Po... Lucien Murray-Pitts via Qemu-devel
- Re: [Qemu-devel] [PATCH] Incorrect... no-reply
- Re: [Qemu-devel] [PATCH] Incorrect... Laurent Vivier
- Re: [Qemu-devel] [PATCH] Incor... Lucien Anti-Spam via Qemu-devel
- Re: [Qemu-devel] [PATCH] I... Laurent Vivier