qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [4535] Delete dead code.


From: Thiemo Seufer
Subject: [Qemu-devel] [4535] Delete dead code.
Date: Thu, 22 May 2008 20:42:16 +0000

Revision: 4535
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4535
Author:   ths
Date:     2008-05-22 20:42:15 +0000 (Thu, 22 May 2008)

Log Message:
-----------
Delete dead code.

Modified Paths:
--------------
    trunk/target-mips/fop_template.c
    trunk/target-mips/op.c

Modified: trunk/target-mips/fop_template.c
===================================================================
--- trunk/target-mips/fop_template.c    2008-05-22 18:16:25 UTC (rev 4534)
+++ trunk/target-mips/fop_template.c    2008-05-22 20:42:15 UTC (rev 4535)
@@ -102,30 +102,3 @@
 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

Modified: trunk/target-mips/op.c
===================================================================
--- trunk/target-mips/op.c      2008-05-22 18:16:25 UTC (rev 4534)
+++ trunk/target-mips/op.c      2008-05-22 20:42:15 UTC (rev 4535)
@@ -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"






reply via email to

[Prev in Thread] Current Thread [Next in Thread]