OSDN Git Service

target/m68k: add fmod/frem
authorLaurent Vivier <laurent@vivier.eu>
Sat, 24 Feb 2018 20:18:00 +0000 (21:18 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Sun, 4 Mar 2018 16:27:06 +0000 (17:27 +0100)
commit591596b77a1872d0652e666271ca055e57ea1e21
tree152ca46cdb1b6388758491953cbf990576dc2294
parent88857aca93f6ec8f372fb9c8201394b0e5582034
target/m68k: add fmod/frem

Using a local m68k floatx80_mod()
[copied from previous:
Written by Andreas Grabher for Previous, NeXT Computer Emulator.]

The quotient byte of the FPSR is updated with
the result of the operation.

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20180224201802.911-3-laurent@vivier.eu>
target/m68k/Makefile.objs
target/m68k/cpu.h
target/m68k/fpu_helper.c
target/m68k/helper.h
target/m68k/softfloat.c [new file with mode: 0644]
target/m68k/softfloat.h [new file with mode: 0644]
target/m68k/translate.c