diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2025-03-20 21:39:59 +1000 |
---|---|---|
committer | Nicholas Piggin <npiggin@gmail.com> | 2025-03-21 13:54:35 +1000 |
commit | 8defe9da08135d03e054f20cb8fea4389be96e18 (patch) | |
tree | 802b3a6a0ba7da37099c99a94bfba2c57562e199 /hw/core/nmi.c | |
parent | 1490d0bcdfcb78b4503cae42353d3dd50f4e9d96 (diff) | |
download | qemu-8defe9da08135d03e054f20cb8fea4389be96e18.zip qemu-8defe9da08135d03e054f20cb8fea4389be96e18.tar.gz qemu-8defe9da08135d03e054f20cb8fea4389be96e18.tar.bz2 |
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: aa0f34ec3fc7 ("target/ppc: implement vrlq")
Fixes: 7419dc5b2b5b ("target/ppc: Move VSX vector storage access insns to decodetree.")
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Diffstat (limited to 'hw/core/nmi.c')
0 files changed, 0 insertions, 0 deletions