[PATCH for-9.2 v2 0/4] target/m68k: Implement fmove.p

Richard Henderson posted 4 patches 1 year, 6 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20240812004451.13711-1-richard.henderson@linaro.org
Maintainers: Laurent Vivier <laurent@vivier.eu>
target/m68k/cpu.h                |    2 +
target/m68k/helper.h             |    3 +
target/m68k/cpu.c                |    2 +
target/m68k/fpu_helper.c         |  201 ++
target/m68k/gen-floatx80-pow10.c |   30 +
target/m68k/translate.c          |   49 +-
tests/tcg/m68k/packeddecimal-1.c |   41 +
tests/tcg/m68k/packeddecimal-2.c |   42 +
target/m68k/floatx80-pow10.c.inc | 4933 ++++++++++++++++++++++++++++++
tests/tcg/m68k/Makefile.target   |    4 +-
10 files changed, 5293 insertions(+), 14 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
[PATCH for-9.2 v2 0/4] target/m68k: Implement fmove.p
Posted by Richard Henderson 1 year, 6 months ago
Implement packed decimal real conversions.

Changes for v2:
  * Generate the complete set of powers of 10 for floatx80.
    This was enough to get 9.9999999999999999e999 properly rounded.


r~


Richard Henderson (4):
  target/m68k: Introduce M68K_FEATURE_FPU_PACKED_DECIMAL
  target/m68k: Implement packed decimal real loads
  target/m68k: Implement packed decimal real stores
  tests/tcg/m68k: Add packed decimal tests

 target/m68k/cpu.h                |    2 +
 target/m68k/helper.h             |    3 +
 target/m68k/cpu.c                |    2 +
 target/m68k/fpu_helper.c         |  201 ++
 target/m68k/gen-floatx80-pow10.c |   30 +
 target/m68k/translate.c          |   49 +-
 tests/tcg/m68k/packeddecimal-1.c |   41 +
 tests/tcg/m68k/packeddecimal-2.c |   42 +
 target/m68k/floatx80-pow10.c.inc | 4933 ++++++++++++++++++++++++++++++
 tests/tcg/m68k/Makefile.target   |    4 +-
 10 files changed, 5293 insertions(+), 14 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