From 7fdf924fdd970a78862e3b9367c91e27a9fbf648 Mon Sep 17 00:00:00 2001 From: aurel32 Date: Mon, 1 Sep 2008 22:12:06 +0000 Subject: SH4: final conversion to TCG Signed-off-by: Aurelien Jarno git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5125 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-sh4/translate.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'target-sh4/translate.c') diff --git a/target-sh4/translate.c b/target-sh4/translate.c index 30362a8f19..ff43882796 100644 --- a/target-sh4/translate.c +++ b/target-sh4/translate.c @@ -1593,7 +1593,13 @@ void _decode_opc(DisasContext * ctx) } return; case 0xf04d: /* fneg FRn/DRn - FPSCR: Nothing */ - gen_op_fneg_frN(FREG(B11_8)); + { + TCGv fp = tcg_temp_new(TCG_TYPE_I32); + gen_load_fpr32(fp, FREG(B11_8)); + tcg_gen_helper_1_1(helper_fneg_T, fp, fp); + gen_store_fpr32(fp, FREG(B11_8)); + tcg_temp_free(fp); + } return; case 0xf05d: /* fabs FRn/DRn */ if (ctx->fpscr & FPSCR_PR) { -- cgit v1.2.3