From: Richard Henderson <richard.henderson@linaro.org>
To: qemu-devel@nongnu.org
Cc: laurent@vivier.eu, schwab@linux-m68k.org
Subject: [PATCH v6 00/24] target/m68k: fpu improvements
Date: Sun, 11 May 2025 13:35:22 -0700 [thread overview]
Message-ID: <20250511203546.139788-1-richard.henderson@linaro.org> (raw)
v3: https://lore.kernel.org/qemu-devel/20240909172823.649837-1-richard.henderson@linaro.org/
v4: https://lore.kernel.org/qemu-devel/20250224171444.440135-1-richard.henderson@linaro.org/
v5: https://lore.kernel.org/qemu-devel/20250507211300.9735-1-richard.henderson@linaro.org/
Changes for v6:
- Fix packed decimal exponent digit ordering (andreas)
- Raise OPERR for out-of-bounds kfactor and exponent
Patches needing review:
03-target-m68k-Keep-FPSR-up-to-date.patch
05-target-m68k-Update-FPSR-for-FMOVECR.patch
09-target-m68k-Use-OS_UNSIZED-in-LEA-PEA-JMP.patch
10-target-m68k-Move-pre-dec-post-inc-to-gen_lea_mode.patch
11-target-m68k-Split-gen_ea_mode-for-load-store.patch
21-target-m68k-Implement-packed-decimal-real-loads-a.patch
r~
Richard Henderson (24):
target/m68k: Add FPSR exception bit defines
target/m68k: Restore fp rounding mode on vm load
target/m68k: Keep FPSR up-to-date
target/m68k: Update FPSR.EXC
target/m68k: Update FPSR for FMOVECR
target/m68k: Introduce M68K_FEATURE_FPU_PACKED_DECIMAL
target/m68k: Merge gen_ea into SRC_EA and DEST_EA
target/m68k: Use g_assert_not_reached in gen_lea_mode and gen_ea_mode
target/m68k: Use OS_UNSIZED in LEA, PEA, JMP
target/m68k: Move pre-dec/post-inc to gen_lea_mode
target/m68k: Split gen_ea_mode for load/store
target/m68k: Remove env argument to gen_lea_indexed
target/m68k: Remove env argument to gen_lea_mode
target/m68k: Remove env argument to gen_load_mode
target/m68k: Remove env argument to gen_store_mode
target/m68k: Remove env argument to gen_ea_mode_fp
target/m68k: Split gen_ea_mode_fp for load/store
target/m68k: Move gen_addr_fault into gen_{load,store}_mode_fp
target/m68k: Merge gen_load_fp, gen_load_mode_fp
target/m68k: Merge gen_store_fp, gen_store_mode_fp
target/m68k: Implement packed decimal real loads and stores
tests/tcg/m68k: Add packed decimal tests
target/m68k: Make vmstate variables static
target/m68k: Implement FPIAR
target/m68k/cpu.h | 27 +-
target/m68k/helper.h | 5 +-
target/m68k/cpu.c | 38 +-
target/m68k/fpu_helper.c | 336 +-
target/m68k/gen-floatx80-pow10.c | 33 +
target/m68k/helper.c | 18 +-
target/m68k/translate.c | 790 +++--
tests/tcg/m68k/packeddecimal-1.c | 46 +
tests/tcg/m68k/packeddecimal-2.c | 55 +
target/m68k/floatx80-pow10.c.inc | 4935 ++++++++++++++++++++++++++++++
tests/tcg/m68k/Makefile.target | 4 +-
11 files changed, 5766 insertions(+), 521 deletions(-)
create mode 100644 target/m68k/gen-floatx80-pow10.c
create mode 100644 tests/tcg/m68k/packeddecimal-1.c
create mode 100644 tests/tcg/m68k/packeddecimal-2.c
create mode 100644 target/m68k/floatx80-pow10.c.inc
--
2.43.0
next reply other threads:[~2025-05-11 20:37 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-11 20:35 Richard Henderson [this message]
2025-05-11 20:35 ` [PATCH v6 01/24] target/m68k: Add FPSR exception bit defines Richard Henderson
2025-05-11 20:35 ` [PATCH v6 02/24] target/m68k: Restore fp rounding mode on vm load Richard Henderson
2025-05-11 20:35 ` [PATCH v6 03/24] target/m68k: Keep FPSR up-to-date Richard Henderson
2025-05-11 20:35 ` [PATCH v6 04/24] target/m68k: Update FPSR.EXC Richard Henderson
2025-05-11 20:35 ` [PATCH v6 05/24] target/m68k: Update FPSR for FMOVECR Richard Henderson
2025-05-11 20:35 ` [PATCH v6 06/24] target/m68k: Introduce M68K_FEATURE_FPU_PACKED_DECIMAL Richard Henderson
2025-05-11 20:35 ` [PATCH v6 07/24] target/m68k: Merge gen_ea into SRC_EA and DEST_EA Richard Henderson
2025-05-11 20:35 ` [PATCH v6 08/24] target/m68k: Use g_assert_not_reached in gen_lea_mode and gen_ea_mode Richard Henderson
2025-05-11 20:35 ` [PATCH v6 09/24] target/m68k: Use OS_UNSIZED in LEA, PEA, JMP Richard Henderson
2025-05-12 14:23 ` Philippe Mathieu-Daudé
2025-05-11 20:35 ` [PATCH v6 10/24] target/m68k: Move pre-dec/post-inc to gen_lea_mode Richard Henderson
2025-05-11 20:35 ` [PATCH v6 11/24] target/m68k: Split gen_ea_mode for load/store Richard Henderson
2025-05-11 20:35 ` [PATCH v6 12/24] target/m68k: Remove env argument to gen_lea_indexed Richard Henderson
2025-05-11 20:35 ` [PATCH v6 13/24] target/m68k: Remove env argument to gen_lea_mode Richard Henderson
2025-05-11 20:35 ` [PATCH v6 14/24] target/m68k: Remove env argument to gen_load_mode Richard Henderson
2025-05-11 20:35 ` [PATCH v6 15/24] target/m68k: Remove env argument to gen_store_mode Richard Henderson
2025-05-11 20:35 ` [PATCH v6 16/24] target/m68k: Remove env argument to gen_ea_mode_fp Richard Henderson
2025-05-11 20:35 ` [PATCH v6 17/24] target/m68k: Split gen_ea_mode_fp for load/store Richard Henderson
2025-05-11 20:35 ` [PATCH v6 18/24] target/m68k: Move gen_addr_fault into gen_{load, store}_mode_fp Richard Henderson
2025-05-11 20:35 ` [PATCH v6 19/24] target/m68k: Merge gen_load_fp, gen_load_mode_fp Richard Henderson
2025-05-11 20:35 ` [PATCH v6 20/24] target/m68k: Merge gen_store_fp, gen_store_mode_fp Richard Henderson
2025-05-11 20:35 ` [PATCH v6 21/24] target/m68k: Implement packed decimal real loads and stores Richard Henderson
2025-05-11 20:35 ` [PATCH v6 22/24] tests/tcg/m68k: Add packed decimal tests Richard Henderson
2025-05-11 20:35 ` [PATCH v6 23/24] target/m68k: Make vmstate variables static Richard Henderson
2025-05-11 20:35 ` [PATCH v6 24/24] target/m68k: Implement FPIAR Richard Henderson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250511203546.139788-1-richard.henderson@linaro.org \
--to=richard.henderson@linaro.org \
--cc=laurent@vivier.eu \
--cc=qemu-devel@nongnu.org \
--cc=schwab@linux-m68k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).