Re: [RFC v11 28/55] target/arm: refactor exception and cpu code

2021-03-25 Thread Claudio Fontana
On 3/25/21 7:43 PM, Richard Henderson wrote: > On 3/25/21 5:59 AM, Claudio Fontana wrote: >>> Isn't tcg/tcg-* redundant? >> >> I considered that, and at some point I had "cpu.c" for x86 too. After >> working on it for a while, I noticed how >> it got really confusing in practice to have files call

Re: [RFC v11 28/55] target/arm: refactor exception and cpu code

2021-03-25 Thread Richard Henderson
On 3/25/21 5:59 AM, Claudio Fontana wrote: Isn't tcg/tcg-* redundant? I considered that, and at some point I had "cpu.c" for x86 too. After working on it for a while, I noticed how it got really confusing in practice to have files called just "cpu.c" when working on them, just too many files

Re: [RFC v11 28/55] target/arm: refactor exception and cpu code

2021-03-25 Thread Claudio Fontana
On 3/24/21 11:29 PM, Richard Henderson wrote: > On 3/23/21 9:46 AM, Claudio Fontana wrote: >> move exception code out of tcg/ >> as we need part of it for KVM too. >> >> put the exception code into separate cpu modules as appropriate, >> including: >> >> cpu-sysemu.c >> tcg/tcg-cpu.c >> tcg/sysemu/

Re: [RFC v11 28/55] target/arm: refactor exception and cpu code

2021-03-24 Thread Richard Henderson
On 3/23/21 9:46 AM, Claudio Fontana wrote: move exception code out of tcg/ as we need part of it for KVM too. put the exception code into separate cpu modules as appropriate, including: cpu-sysemu.c tcg/tcg-cpu.c tcg/sysemu/tcg-cpu.c to avoid naming confusion with the existing cpu_tcg.c, conta

[RFC v11 28/55] target/arm: refactor exception and cpu code

2021-03-23 Thread Claudio Fontana
move exception code out of tcg/ as we need part of it for KVM too. put the exception code into separate cpu modules as appropriate, including: cpu-sysemu.c tcg/tcg-cpu.c tcg/sysemu/tcg-cpu.c to avoid naming confusion with the existing cpu_tcg.c, containg cpu models definitions for 32bit TCG-only