diff options
| author | Aleksandar Markovic | 2020-05-18 22:09:13 +0200 |
|---|---|---|
| committer | Aleksandar Markovic | 2020-06-09 17:32:45 +0200 |
| commit | bdbe48db40d058d5a82097fe4f29fd0168ecce9e (patch) | |
| tree | f4113b0c6c0d07c026150fb4d2b443a2d48ccadb | |
| parent | target/mips: fpu: Demacro RINT.<D|S> (diff) | |
| download | qemu-bdbe48db40d058d5a82097fe4f29fd0168ecce9e.tar.gz qemu-bdbe48db40d058d5a82097fe4f29fd0168ecce9e.tar.xz qemu-bdbe48db40d058d5a82097fe4f29fd0168ecce9e.zip | |
target/mips: fpu: Remove now unused FLOAT_RINT macro
After demacroing RINT.<D|S>, this macro is not needed anymore.
Reviewed-by: Aleksandar Rikalo <aleksandar.rikalo@syrmia.com>
Signed-off-by: Aleksandar Markovic <aleksandar.qemu.devel@gmail.com>
Message-Id: <20200518200920.17344-15-aleksandar.qemu.devel@gmail.com>
| -rw-r--r-- | target/mips/fpu_helper.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/target/mips/fpu_helper.c b/target/mips/fpu_helper.c index dae1331f23..56ba49104e 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; |
