From: Aleksandar Markovic Date: Mon, 18 May 2020 20:09:13 +0000 (+0200) Subject: target/mips: fpu: Remove now unused FLOAT_RINT macro X-Git-Tag: v5.1.0-rc0~84^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bdbe48db40d058d5a82097fe4f29fd0168ecce9e;p=thirdparty%2Fqemu.git target/mips: fpu: Remove now unused FLOAT_RINT macro After demacroing RINT., this macro is not needed anymore. Reviewed-by: Aleksandar Rikalo Signed-off-by: Aleksandar Markovic Message-Id: <20200518200920.17344-15-aleksandar.qemu.devel@gmail.com> --- diff --git a/target/mips/fpu_helper.c b/target/mips/fpu_helper.c index dae1331f23f..56ba49104e4 100644 --- a/target/mips/fpu_helper.c +++ b/target/mips/fpu_helper.c @@ -1102,19 +1102,6 @@ uint64_t helper_float_rsqrt1_ps(CPUMIPSState *env, uint64_t fdt0) return ((uint64_t)fsth2 << 32) | fst2; } -#define FLOAT_RINT(name, bits) \ -uint ## bits ## _t helper_float_ ## name(CPUMIPSState *env, \ - uint ## bits ## _t fs) \ -{ \ - uint ## bits ## _t fdret; \ - \ - fdret = float ## bits ## _round_to_int(fs, &env->active_fpu.fp_status); \ - update_fcr31(env, GETPC()); \ - return fdret; \ -} - -#undef FLOAT_RINT - uint64_t helper_float_rint_d(CPUMIPSState *env, uint64_t fs) { uint64_t fdret;