Re: [PATCH 1/2] target/m68k: Clear mach in m68k_cpu_disas_set_info

2022-05-18 Thread Laurent Vivier
Le 30/04/2022 à 19:02, Richard Henderson a écrit : Zero selects all cpu features in disas/m68k.c, which is really what we want -- not limited to 68040. Signed-off-by: Richard Henderson --- target/m68k/cpu.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/target/m68k/

Re: [PATCH 1/2] target/m68k: Clear mach in m68k_cpu_disas_set_info

2022-05-17 Thread Richard Henderson
On 5/17/22 07:06, Laurent Vivier wrote: Le 30/04/2022 à 19:02, Richard Henderson a écrit : Zero selects all cpu features in disas/m68k.c, which is really what we want -- not limited to 68040. But what happens when an instruction has to be decoded differently between 680x0 and coldfire? for

Re: [PATCH 1/2] target/m68k: Clear mach in m68k_cpu_disas_set_info

2022-05-17 Thread Laurent Vivier
Le 30/04/2022 à 19:02, Richard Henderson a écrit : Zero selects all cpu features in disas/m68k.c, which is really what we want -- not limited to 68040. But what happens when an instruction has to be decoded differently between 680x0 and coldfire? for instance in disas/m68k.c, we have: {"addi

[PATCH 1/2] target/m68k: Clear mach in m68k_cpu_disas_set_info

2022-04-30 Thread Richard Henderson
Zero selects all cpu features in disas/m68k.c, which is really what we want -- not limited to 68040. Signed-off-by: Richard Henderson --- target/m68k/cpu.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/target/m68k/cpu.c b/target/m68k/cpu.c index c7aeb7da9c..5671067923