On 02/23/2018 06:59 AM, Laurent Vivier wrote: > 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 <laur...@vivier.eu> > --- > target/m68k/Makefile.objs | 3 +- > target/m68k/cpu.h | 1 + > target/m68k/fpu_helper.c | 35 +++++++++++++++- > target/m68k/helper.h | 2 + > target/m68k/softfloat.c | 105 > ++++++++++++++++++++++++++++++++++++++++++++++ > target/m68k/softfloat.h | 26 ++++++++++++ > target/m68k/translate.c | 6 +++ > 7 files changed, 176 insertions(+), 2 deletions(-) > create mode 100644 target/m68k/softfloat.c > create mode 100644 target/m68k/softfloat.h
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~