Convert CCR and CWP ops to TCG

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4086 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
blueswir1 2008-03-18 18:08:25 +00:00
parent 1f5063fb97
commit d35527d9f9
4 changed files with 29 additions and 26 deletions

View file

@ -258,28 +258,6 @@ void OPPROTO op_restore(void)
FORCE_RET();
}
#else
void OPPROTO op_rdccr(void)
{
T0 = GET_CCR(env);
}
void OPPROTO op_wrccr(void)
{
PUT_CCR(env, T0);
}
// CWP handling is reversed in V9, but we still use the V8 register
// order.
void OPPROTO op_rdcwp(void)
{
T0 = GET_CWP64(env);
}
void OPPROTO op_wrcwp(void)
{
PUT_CWP64(env, T0);
}
/* XXX: use another pointer for %iN registers to avoid slow wrapping
handling ? */
void OPPROTO op_save(void)