qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Richard Henderson <richard.henderson@linaro.org>
To: qemu-devel@nongnu.org
Cc: laurent@vivier.eu
Subject: [PATCH for-9.2 v2 0/4] target/m68k: Implement fmove.p
Date: Mon, 12 Aug 2024 10:44:47 +1000	[thread overview]
Message-ID: <20240812004451.13711-1-richard.henderson@linaro.org> (raw)

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



             reply	other threads:[~2024-08-12  0:45 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-12  0:44 Richard Henderson [this message]
2024-08-12  0:44 ` [PATCH v2 1/4] target/m68k: Introduce M68K_FEATURE_FPU_PACKED_DECIMAL Richard Henderson
2024-08-12  5:55   ` Philippe Mathieu-Daudé
2024-08-12  0:44 ` [PATCH v2 2/4] target/m68k: Implement packed decimal real loads Richard Henderson
2024-08-12  5:54   ` Philippe Mathieu-Daudé
2024-08-12  0:44 ` [PATCH v2 3/4] target/m68k: Implement packed decimal real stores Richard Henderson
2024-08-16  6:37   ` Philippe Mathieu-Daudé
2024-08-16  8:08     ` Richard Henderson
2024-08-12  0:44 ` [PATCH v2 4/4] tests/tcg/m68k: Add packed decimal tests Richard Henderson
2024-08-12  6:01   ` Philippe Mathieu-Daudé

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=20240812004451.13711-1-richard.henderson@linaro.org \
    --to=richard.henderson@linaro.org \
    --cc=laurent@vivier.eu \
    --cc=qemu-devel@nongnu.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).