qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [5126] SH4: Remove dyngen leftovers
@ 2008-09-01 22:12 Aurelien Jarno
  0 siblings, 0 replies; only message in thread
From: Aurelien Jarno @ 2008-09-01 22:12 UTC (permalink / raw)
  To: qemu-devel

Revision: 5126
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5126
Author:   aurel32
Date:     2008-09-01 22:12:14 +0000 (Mon, 01 Sep 2008)

Log Message:
-----------
SH4: Remove dyngen leftovers

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

Modified Paths:
--------------
    trunk/target-sh4/cpu.h
    trunk/target-sh4/exec.h
    trunk/target-sh4/translate.c

Modified: trunk/target-sh4/cpu.h
===================================================================
--- trunk/target-sh4/cpu.h	2008-09-01 22:12:06 UTC (rev 5125)
+++ trunk/target-sh4/cpu.h	2008-09-01 22:12:14 UTC (rev 5126)
@@ -98,9 +98,7 @@
     uint32_t fpscr;		/* floating point status/control register */
     uint32_t fpul;		/* floating point communication register */
 
-    /* temporary float registers */
-    float32 ft0, ft1;
-    float64 dt0, dt1;
+    /* float point status register */
     float_status fp_status;
 
     /* Those belong to the specific unit (SH7750) but are handled here */

Modified: trunk/target-sh4/exec.h
===================================================================
--- trunk/target-sh4/exec.h	2008-09-01 22:12:06 UTC (rev 5125)
+++ trunk/target-sh4/exec.h	2008-09-01 22:12:14 UTC (rev 5126)
@@ -24,15 +24,7 @@
 #include "dyngen-exec.h"
 
 register struct CPUSH4State *env asm(AREG0);
-register uint32_t T0 asm(AREG1);
-register uint32_t T1 asm(AREG2);
-//register uint32_t T2 asm(AREG3);
 
-#define FT0 (env->ft0)
-#define FT1 (env->ft1)
-#define DT0 (env->dt0)
-#define DT1 (env->dt1)
-
 #include "cpu.h"
 #include "exec-all.h"
 

Modified: trunk/target-sh4/translate.c
===================================================================
--- trunk/target-sh4/translate.c	2008-09-01 22:12:06 UTC (rev 5125)
+++ trunk/target-sh4/translate.c	2008-09-01 22:12:14 UTC (rev 5126)
@@ -67,9 +67,6 @@
 /* internal register indexes */
 static TCGv cpu_flags, cpu_delayed_pc;
 
-/* dyngen register indexes */
-static TCGv cpu_T[2];
-
 #include "gen-icount.h"
 
 static void sh4_translate_init(void)
@@ -88,8 +85,6 @@
         return;
 
     cpu_env = tcg_global_reg_new(TCG_TYPE_PTR, TCG_AREG0, "env");
-    cpu_T[0] = tcg_global_reg_new(TCG_TYPE_I32, TCG_AREG1, "T0");
-    cpu_T[1] = tcg_global_reg_new(TCG_TYPE_I32, TCG_AREG2, "T1");
 
     for (i = 0; i < 24; i++)
         cpu_gregs[i] = tcg_global_mem_new(TCG_TYPE_I32, TCG_AREG0,

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-09-01 22:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-01 22:12 [Qemu-devel] [5126] SH4: Remove dyngen leftovers Aurelien Jarno

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).