mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
MIPS64 addressing fixes, by Aurelien Jarno.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2888 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
4020f27707
commit
9b9e4393dd
3 changed files with 81 additions and 9 deletions
|
@ -976,6 +976,14 @@ void op_save_btarget (void)
|
|||
RETURN();
|
||||
}
|
||||
|
||||
#ifdef TARGET_MIPS64
|
||||
void op_save_btarget64 (void)
|
||||
{
|
||||
env->btarget = ((uint64_t)PARAM1 << 32) | (uint32_t)PARAM2;
|
||||
RETURN();
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Conditional branch */
|
||||
void op_set_bcond (void)
|
||||
{
|
||||
|
@ -2409,6 +2417,14 @@ void op_save_pc (void)
|
|||
RETURN();
|
||||
}
|
||||
|
||||
#ifdef TARGET_MIPS64
|
||||
void op_save_pc64 (void)
|
||||
{
|
||||
env->PC = ((uint64_t)PARAM1 << 32) | (uint32_t)PARAM2;
|
||||
RETURN();
|
||||
}
|
||||
#endif
|
||||
|
||||
void op_interrupt_restart (void)
|
||||
{
|
||||
if (!(env->CP0_Status & (1 << CP0St_EXL)) &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue