[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH for-9.2 v3 0/6] target/sparc: emulate floating point queue when r
From: |
Richard Henderson |
Subject: |
[PATCH for-9.2 v3 0/6] target/sparc: emulate floating point queue when raising fp traps |
Date: |
Fri, 16 Aug 2024 17:23:05 +1000 |
Hi Carl,
While digging through the manual to figure out if we were really
doing the right thing raising the fp exception, I found the fpu
exception state machine. I'm not sure it's worth emulating the
fp_exception_pending state, but it's certainly easy enough to
emulate the fp_executing/fp_exception states.
In addition, this simplifies the implementation of STDFQ,
restricts FQ to sparc32 system mode, and handles migration.
Would you please double-check this against your Solaris images?
r~
Carl Hauser (2):
target/sparc: Add FQ and FSR.QNE
target/sparc: Populate sparc32 FQ when raising fp exception
Richard Henderson (4):
target/sparc: Restrict STQF to sparcv9
target/sparc: Add FSR_QNE to tb_flags
target/sparc: Implement STDFQ
target/sparc: Add gen_trap_if_nofpu_fpexception
target/sparc/cpu.h | 30 ++++++++-
target/sparc/fop_helper.c | 4 ++
target/sparc/int32_helper.c | 32 ++++-----
target/sparc/machine.c | 25 +++++++
target/sparc/translate.c | 126 ++++++++++++++++++++++++++----------
target/sparc/insns.decode | 4 +-
6 files changed, 169 insertions(+), 52 deletions(-)
--
2.43.0
- [PATCH for-9.2 v3 0/6] target/sparc: emulate floating point queue when raising fp traps,
Richard Henderson <=
- [PATCH v3 1/6] target/sparc: Restrict STQF to sparcv9, Richard Henderson, 2024/08/16
- [PATCH v3 2/6] target/sparc: Add FQ and FSR.QNE, Richard Henderson, 2024/08/16
- [PATCH v3 3/6] target/sparc: Populate sparc32 FQ when raising fp exception, Richard Henderson, 2024/08/16
- [PATCH v3 4/6] target/sparc: Add FSR_QNE to tb_flags, Richard Henderson, 2024/08/16
- [PATCH v3 5/6] target/sparc: Implement STDFQ, Richard Henderson, 2024/08/16
- [PATCH v3 6/6] target/sparc: Add gen_trap_if_nofpu_fpexception, Richard Henderson, 2024/08/16
- Re: [PATCH for-9.2 v3 0/6] target/sparc: emulate floating point queue when raising fp traps, Carl Hauser, 2024/08/16