qemu/target/ppc/translate
Nicholas Piggin 8defe9da08 target/ppc: Fix facility interrupt checks for VSX
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 <rathc@linux.ibm.com>
Cc: qemu-stable@nongnu.org
Debugged-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Fixes: aa0f34ec3f ("target/ppc: implement vrlq")
Fixes: 7419dc5b2b ("target/ppc: Move VSX vector storage access insns to decodetree.")
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
2025-03-21 13:54:35 +10:00
..
bhrb-impl.c.inc target/ppc: Add clrbhrb and mfbhrbe instructions 2024-05-24 09:33:32 +10:00
branch-impl.c.inc target/ppc: Add recording of taken branches to BHRB 2024-05-24 09:33:06 +10:00
dfp-impl.c.inc tcg: Rename cpu_env to tcg_env 2023-10-03 08:01:02 -07:00
fixedpoint-impl.c.inc target/ppc: Move logical fixed-point instructions to decodetree. 2024-05-24 08:57:50 +10:00
fp-impl.c.inc target/ppc: Move floating-point arithmetic instructions to decodetree. 2024-05-24 08:57:50 +10:00
fp-ops.c.inc target/ppc: Move floating-point arithmetic instructions to decodetree. 2024-05-24 08:57:50 +10:00
misc-impl.c.inc target/ppc: Implement attn instruction on BookS 64-bit processors 2024-05-24 09:34:38 +10:00
processor-ctrl-impl.c.inc target/ppc: add SMT support to msgsnd broadcast 2024-05-24 09:34:41 +10:00
spe-impl.c.inc tcg: Rename cpu_env to tcg_env 2023-10-03 08:01:02 -07:00
spe-ops.c.inc meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
storage-ctrl-impl.c.inc target/ppc: Fix broadcast tlbie synchronisation 2024-05-24 08:57:50 +10:00
vmx-impl.c.inc target/ppc: Fix facility interrupt checks for VSX 2025-03-21 13:54:35 +10:00
vmx-ops.c.inc target/ppc: Move VMX integer add/sub saturate insns to decodetree. 2024-07-26 09:51:33 +10:00
vsx-impl.c.inc target/ppc: Fix facility interrupt checks for VSX 2025-03-21 13:54:35 +10:00
vsx-ops.c.inc target/ppc: Move VSX fp compare insns to decodetree. 2024-07-26 09:51:33 +10:00