qemu/target/hppa
Helge Deller b1ff64ba4e target/hppa: Copy instruction code into fr1 on FPU assist fault
The hardware stores the instruction code in the lower bits of the FP
exception register #1 on FP assist traps.
This fixes the FP exception handler on Linux, as the Linux kernel uses
the value to decide on the correct signal which should be pushed into
userspace (see decode_fpu() in Linux kernel).

Signed-off-by: Helge Deller <deller@gmx.de>
(cherry picked from commit 923976dfe3)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2025-05-25 13:14:52 +03:00
..
cpu-param.h license: Update deprecated SPDX tag LGPL-2.0+ to LGPL-2.0-or-later 2024-09-20 10:11:59 +03:00
cpu-qom.h target: Move ArchCPUClass definition to 'cpu.h' 2023-11-07 13:08:48 +01:00
cpu.c target/hppa: Implement TCGCPUOps.tlb_fill_align 2024-10-13 11:27:05 -07:00
cpu.h target/hppa: Implement TCGCPUOps.tlb_fill_align 2024-10-13 11:27:05 -07:00
fpu_helper.c target/hppa: Explicitly set 2-NaN propagation rule 2024-11-05 10:09:54 +00:00
gdbstub.c linux-user/hppa: Force all code addresses to PRIV_USER 2024-05-15 10:03:44 +02:00
helper.c target/hppa: Fix PSW V-bit packaging in cpu_hppa_get for hppa64 2024-09-03 22:08:22 +02:00
helper.h target/hppa: Adjust priv for B,GATE at runtime 2024-05-15 10:03:45 +02:00
insns.decode target/hppa: Add diag instructions to set/restore shadow registers 2024-03-29 08:14:56 -10:00
int_helper.c target/hppa: Copy instruction code into fr1 on FPU assist fault 2025-05-25 13:14:52 +03:00
Kconfig meson: Introduce target-specific Kconfig 2021-07-09 18:21:34 +02:00
machine.c target/hppa: Constify VMState in machine.c 2023-12-29 11:17:30 +11:00
mem_helper.c target/hppa: Implement TCGCPUOps.tlb_fill_align 2024-10-13 11:27:05 -07:00
meson.build meson: Rename target_softmmu_arch -> target_system_arch 2023-10-07 19:03:07 +02:00
op_helper.c target/hppa: Add MemOp argument to hppa_get_physical_address 2024-10-13 11:27:05 -07:00
sys_helper.c target/hppa: Log cpu state on return-from-interrupt 2024-05-15 10:03:45 +02:00
trace-events target/hppa: Add pa2.0 cpu local tlb flushes 2023-11-06 18:49:34 -08:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
translate.c target/hppa: 2024-05-15 11:46:58 +02:00