diff options
| author | Laurent Vivier | 2018-02-24 21:18:02 +0100 |
|---|---|---|
| committer | Laurent Vivier | 2018-03-04 17:27:59 +0100 |
| commit | 0d379c1709aa6b2d09dd3b493bfdf3a5fe6debcd (patch) | |
| tree | 0c753eb9a4dac7440ecc97f20c36baa26e23be8b /target/m68k/softfloat.h | |
| parent | softfloat: use floatx80_infinity in softfloat (diff) | |
| download | qemu-0d379c1709aa6b2d09dd3b493bfdf3a5fe6debcd.tar.gz qemu-0d379c1709aa6b2d09dd3b493bfdf3a5fe6debcd.tar.xz qemu-0d379c1709aa6b2d09dd3b493bfdf3a5fe6debcd.zip | |
target/m68k: add fscale, fgetman and fgetexp
Using local m68k floatx80_getman(), floatx80_getexp(), floatx80_scale()
[copied from previous:
Written by Andreas Grabher for Previous, NeXT Computer Emulator.]
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20180224201802.911-5-laurent@vivier.eu>
Diffstat (limited to 'target/m68k/softfloat.h')
| -rw-r--r-- | target/m68k/softfloat.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/target/m68k/softfloat.h b/target/m68k/softfloat.h index 8d8ca0fc45..78fbc0cd0c 100644 --- a/target/m68k/softfloat.h +++ b/target/m68k/softfloat.h @@ -23,4 +23,7 @@ #include "fpu/softfloat.h" floatx80 floatx80_mod(floatx80 a, floatx80 b, float_status *status); +floatx80 floatx80_getman(floatx80 a, float_status *status); +floatx80 floatx80_getexp(floatx80 a, float_status *status); +floatx80 floatx80_scale(floatx80 a, floatx80 b, float_status *status); #endif |
