mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-25 02:52:06 -06:00
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:
parent
1f5063fb97
commit
d35527d9f9
4 changed files with 29 additions and 26 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue