From 82e8251374568ba63343b695925c883a7da3db6f Mon Sep 17 00:00:00 2001 From: Aurelien Jarno Date: Sun, 2 Jul 2017 18:26:43 +0200 Subject: target/sh4: do not use a helper to implement fneg There is no need to use a helper to flip one bit, just use a TCG xor instruction instead. Message-Id: <20170702202814.27793-5-aurelien@aurel32.net> Reviewed-by: Richard Henderson Signed-off-by: Aurelien Jarno --- target/sh4/op_helper.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'target/sh4/op_helper.c') diff --git a/target/sh4/op_helper.c b/target/sh4/op_helper.c index f2e39c5ca6..64206cf803 100644 --- a/target/sh4/op_helper.c +++ b/target/sh4/op_helper.c @@ -384,11 +384,6 @@ float64 helper_fmul_DT(CPUSH4State *env, float64 t0, float64 t1) return t0; } -float32 helper_fneg_T(float32 t0) -{ - return float32_chs(t0); -} - float32 helper_fsqrt_FT(CPUSH4State *env, float32 t0) { set_float_exception_flags(0, &env->fp_status); -- cgit v1.2.3