On 3/20/25 04:59, Nicholas Piggin wrote:
Facility interrupt checks in general should come after the ISA version
check, because the facility interrupt and facility type themselves are
ISA dependent and should not appear on CPUs where the instruction does
not exist at all.

This resolves a QEMU crash booting NetBSD/macppc due to

   qemu: fatal: Raised an exception without defined vector 94

Resolves:https://gitlab.com/qemu-project/qemu/-/issues/2741
Cc: Chinmay Rath<ra...@linux.ibm.com>
Debugged-by: Richard Henderson<richard.hender...@linaro.org>
Fixes: aa0f34ec3fc7 ("target/ppc: implement vrlq")
Fixes: 7419dc5b2b5b ("target/ppc: Move VSX vector storage access insns to 
decodetree.")
Signed-off-by: Nicholas Piggin<npig...@gmail.com>
---
  target/ppc/translate/vmx-impl.c.inc |  2 +-
  target/ppc/translate/vsx-impl.c.inc | 20 ++++++++++----------
  2 files changed, 11 insertions(+), 11 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to