target/m68k: Perform the semihosting test during translate
commitf161e723fdfddfc820c7f19eb6ac76ac6ba6d2a8
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 3 Oct 2023 22:15:24 +0000 (3 15:15 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 24 Apr 2024 22:46:00 +0000 (24 15:46 -0700)
tree325bee8ed13149a5d18f7787492a55faabbb47db
parent5fae5110eedba1110605c88d96cd4a5f057bfca2
target/m68k: Perform the semihosting test during translate

Replace EXCP_HALT_INSN by EXCP_SEMIHOSTING.  Perform the pre-
and post-insn tests during translate, leaving only the actual
semihosting operation for the exception.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/m68k/cpu.h
target/m68k/op_helper.c
target/m68k/translate.c