From 42388c4ba7207ae49b58093a66a1f27267b7ede5 Mon Sep 17 00:00:00 2001 From: ths Date: Thu, 22 May 2008 20:42:15 +0000 Subject: [PATCH] Delete dead code. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4535 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-mips/fop_template.c | 27 --------------------------- target-mips/op.c | 4 ---- 2 files changed, 31 deletions(-) diff --git a/target-mips/fop_template.c b/target-mips/fop_template.c index c5941d1216..2a85a6b4ad 100644 --- a/target-mips/fop_template.c +++ b/target-mips/fop_template.c @@ -102,30 +102,3 @@ OP_PSLOAD_FREG(WTH2, WTH2_fpr, FREG) OP_PSSTORE_FREG(WTH2, WTH2_fpr, FREG) #endif - -#if defined (FTN) - -#define SET_RESET(treg, tregname) \ - void glue(op_set, tregname)(void) \ - { \ - treg = PARAM1; \ - FORCE_RET(); \ - } \ - void glue(op_reset, tregname)(void) \ - { \ - treg = 0; \ - FORCE_RET(); \ - } - -SET_RESET(WT0, _WT0) -SET_RESET(WT1, _WT1) -SET_RESET(WT2, _WT2) -SET_RESET(DT0, _DT0) -SET_RESET(DT1, _DT1) -SET_RESET(DT2, _DT2) -SET_RESET(WTH0, _WTH0) -SET_RESET(WTH1, _WTH1) -SET_RESET(WTH2, _WTH2) - -#undef SET_RESET -#endif diff --git a/target-mips/op.c b/target-mips/op.c index 2d9cd36fca..89495b7192 100644 --- a/target-mips/op.c +++ b/target-mips/op.c @@ -145,10 +145,6 @@ #include "fop_template.c" #undef FREG -#define FTN -#include "fop_template.c" -#undef FTN - /* Load and store */ #define MEMSUFFIX _raw #include "op_mem.c"