restore regwptr (Blue Swirl)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1576 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
bellard 2005-10-30 17:06:11 +00:00
parent f69a86955e
commit aea3ce4c8d

View File

@ -152,6 +152,10 @@ void do_rdpsr();
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)