diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2021-12-17 17:57:15 +0100 |
---|---|---|
committer | Cédric Le Goater <clg@kaod.org> | 2021-12-17 17:57:15 +0100 |
commit | 6bce07777755b86e7ccc27c641c580bbc69bd4eb (patch) | |
tree | f413a0b14a084db831c63bfbdd905fe6c9596149 | |
parent | b891757e44b4a06975f0ef59d247046f9659c690 (diff) | |
download | qemu-6bce07777755b86e7ccc27c641c580bbc69bd4eb.zip qemu-6bce07777755b86e7ccc27c641c580bbc69bd4eb.tar.gz qemu-6bce07777755b86e7ccc27c641c580bbc69bd4eb.tar.bz2 |
target/ppc: Use FloatRoundMode in do_fri
This is the proper type for the enumeration.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20211119160502.17432-16-richard.henderson@linaro.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
-rw-r--r-- | target/ppc/fpu_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/ppc/fpu_helper.c b/target/ppc/fpu_helper.c index f81812e..c3e0efe 100644 --- a/target/ppc/fpu_helper.c +++ b/target/ppc/fpu_helper.c @@ -642,7 +642,7 @@ FPU_FCFI(fcfidu, uint64_to_float64, 0) FPU_FCFI(fcfidus, uint64_to_float32, 1) static uint64_t do_fri(CPUPPCState *env, uint64_t arg, - int rounding_mode) + FloatRoundMode rounding_mode) { CPU_DoubleU farg; FloatRoundMode old_rounding_mode = get_float_rounding_mode(&env->fp_status); |