summaryrefslogtreecommitdiff
path: root/target-sparc
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-29 16:38:41 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-29 16:38:41 +0000
commit75d0187a52af2afd92c6c7f34e3f089733946766 (patch)
treeb924f8962609e67051596c8ec25de6ad127c05ff /target-sparc
parentbd0c5661bfd5d665f3e733b6724406b5a0ca1403 (diff)
downloadqemu-75d0187a52af2afd92c6c7f34e3f089733946766.zip
Remove unused (for now) reg_REGWPTR (original patch by Glauber Costa)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4617 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sparc')
-rw-r--r--target-sparc/exec.h5
-rw-r--r--target-sparc/op_helper.c1
2 files changed, 0 insertions, 6 deletions
diff --git a/target-sparc/exec.h b/target-sparc/exec.h
index 3ef0cf9aca..c6ff9506f6 100644
--- a/target-sparc/exec.h
+++ b/target-sparc/exec.h
@@ -4,7 +4,6 @@
#include "dyngen-exec.h"
register struct CPUSPARCState *env asm(AREG0);
-#define REGWPTR env->regwptr
#define FT0 (env->ft0)
#define FT1 (env->ft1)
@@ -18,10 +17,6 @@ register struct CPUSPARCState *env asm(AREG0);
static inline void env_to_regs(void)
{
-#if defined(reg_REGWPTR)
- REGWPTR = env->regbase + (env->cwp * 16);
- env->regwptr = REGWPTR;
-#endif
}
static inline void regs_to_env(void)
diff --git a/target-sparc/op_helper.c b/target-sparc/op_helper.c
index 2aae95507b..3c04fe54f9 100644
--- a/target-sparc/op_helper.c
+++ b/target-sparc/op_helper.c
@@ -2629,7 +2629,6 @@ void cpu_set_cwp(CPUState *env1, int new_cwp)
if (new_cwp == (NWINDOWS - 1))
memcpy32(env1->regbase + NWINDOWS * 16, env1->regbase);
env1->regwptr = env1->regbase + (new_cwp * 16);
- REGWPTR = env1->regwptr;
}
void set_cwp(int new_cwp)