mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
Don't use T2 for INS, it conflicts with branch delay slot handling.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2674 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
80c27194a7
commit
171b31e7c7
2 changed files with 6 additions and 6 deletions
|
@ -2234,7 +2234,7 @@ void op_ins(void)
|
|||
unsigned int size = PARAM2;
|
||||
target_ulong mask = ((size < 32) ? ((1 << size) - 1) : ~0) << pos;
|
||||
|
||||
T0 = (T2 & ~mask) | (((uint32_t)T1 << pos) & mask);
|
||||
T0 = (T0 & ~mask) | (((uint32_t)T1 << pos) & mask);
|
||||
RETURN();
|
||||
}
|
||||
|
||||
|
@ -2260,7 +2260,7 @@ void op_dins(void)
|
|||
unsigned int size = PARAM2;
|
||||
target_ulong mask = ((size < 32) ? ((1 << size) - 1) : ~0) << pos;
|
||||
|
||||
T0 = (T2 & ~mask) | ((T1 << pos) & mask);
|
||||
T0 = (T0 & ~mask) | ((T1 << pos) & mask);
|
||||
RETURN();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue