qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Incorrect Stack Pointer shadow register support


From: Lucien Anti-Spam
Subject: Re: [Qemu-devel] [PATCH] Incorrect Stack Pointer shadow register support on some m68k CPUs
Date: Mon, 27 May 2019 03:43:40 +0000 (UTC)

 
   > On Sunday, May 26, 2019, 10:10:39 PM GMT+9, Laurent Vivier 
<address@hidden> 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

  

reply via email to

[Prev in Thread] Current Thread [Next in Thread]