mbox series

[0/2] target/m68k: Enable halt insn for 68060

Message ID 20220430170225.326447-1-richard.henderson@linaro.org
Headers show
Series target/m68k: Enable halt insn for 68060 | expand

Message

Richard Henderson April 30, 2022, 5:02 p.m. UTC
While looking at semihosting, I noticed that 060 does have halt.

Then I was a bit surprised that it wasn't being disassembled and
thought trying to exactly match disassembly to cpu was a bit
frought with peril -- one also wants to know what the insn was
*supposed* to be when it raises SIGILL.


r~


Richard Henderson (2):
  target/m68k: Clear mach in m68k_cpu_disas_set_info
  target/m68k: Enable halt insn for 68060

 target/m68k/cpu.c       | 6 +-----
 target/m68k/translate.c | 1 +
 2 files changed, 2 insertions(+), 5 deletions(-)

Comments

Laurent Vivier May 26, 2022, 5:08 p.m. UTC | #1
Le 30/04/2022 à 19:02, Richard Henderson a écrit :
> While looking at semihosting, I noticed that 060 does have halt.
> 
> Then I was a bit surprised that it wasn't being disassembled and
> thought trying to exactly match disassembly to cpu was a bit
> frought with peril -- one also wants to know what the insn was
> *supposed* to be when it raises SIGILL.
> 
> 
> r~
> 
> 
> Richard Henderson (2):
>    target/m68k: Clear mach in m68k_cpu_disas_set_info
>    target/m68k: Enable halt insn for 68060
> 
>   target/m68k/cpu.c       | 6 +-----
>   target/m68k/translate.c | 1 +
>   2 files changed, 2 insertions(+), 5 deletions(-)
> 

Series applied to my m68k-for-7.1 branch

Thanks,
Laurent