On 2/4/26 22:07, Ilya Leoshkevich wrote:
DIVIDE TO INTEGER computes floating point remainder and is used by
LuaJIT, so add it to QEMU.

Put the main logic into fpu/, because it is way more convenient to
operate on FloatParts than to convert floats back-and-forth.

Signed-off-by: Ilya Leoshkevich<[email protected]>
---
  fpu/softfloat.c                  | 142 +++++++++++++++++++++++++++++++
  include/fpu/softfloat.h          |  11 +++
  target/s390x/helper.h            |   1 +
  target/s390x/tcg/fpu_helper.c    |  56 ++++++++++++
  target/s390x/tcg/insn-data.h.inc |   5 +-
  target/s390x/tcg/translate.c     |  26 ++++++
  6 files changed, 240 insertions(+), 1 deletion(-)

Reviewed-by: Richard Henderson <[email protected]>

r~

Reply via email to