Re: [PATCH v2 06/15] target/m68k: Fix address argument for EXCP_CHK

2021-12-03 Thread Laurent Vivier
Le 03/12/2021 à 15:29, Richard Henderson a écrit : On 12/3/21 6:27 AM, Laurent Vivier wrote: Le 02/12/2021 à 21:48, Richard Henderson a écrit : According to the M68040 Users Manual, section 8.4.3, Six word stack frame (format 2), CHK, CHK2 (and others) are supposed to record the next insn in

Re: [PATCH v2 06/15] target/m68k: Fix address argument for EXCP_CHK

2021-12-03 Thread Richard Henderson
On 12/3/21 6:27 AM, Laurent Vivier wrote: Le 02/12/2021 à 21:48, Richard Henderson a écrit : According to the M68040 Users Manual, section 8.4.3, Six word stack frame (format 2), CHK, CHK2 (and others) are supposed to record the next insn in PC and the address of the trapping instruction in

Re: [PATCH v2 06/15] target/m68k: Fix address argument for EXCP_CHK

2021-12-03 Thread Laurent Vivier
Le 02/12/2021 à 21:48, Richard Henderson a écrit : According to the M68040 Users Manual, section 8.4.3, Six word stack frame (format 2), CHK, CHK2 (and others) are supposed to record the next insn in PC and the address of the trapping instruction in ADDRESS. Create a raise_exception_format2

[PATCH v2 06/15] target/m68k: Fix address argument for EXCP_CHK

2021-12-02 Thread Richard Henderson
According to the M68040 Users Manual, section 8.4.3, Six word stack frame (format 2), CHK, CHK2 (and others) are supposed to record the next insn in PC and the address of the trapping instruction in ADDRESS. Create a raise_exception_format2 function to centralize recording of the trapping pc in