mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 09:58:19 +08:00
* rx.c (decode_opcode): Add cycle information for RXO_smovu.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2010-09-23 Kevin Buettner <kevinb@redhat.com>
|
||||||
|
|
||||||
|
* rx.c (decode_opcode): Add cycle information for RXO_smovu.
|
||||||
|
|
||||||
2010-09-23 Kevin Buettner <kevinb@redhat.com>
|
2010-09-23 Kevin Buettner <kevinb@redhat.com>
|
||||||
|
|
||||||
* fpu.c, gdb-if.c, load.c, misc.c, syscalls.c (config.h): Include.
|
* fpu.c, gdb-if.c, load.c, misc.c, syscalls.c (config.h): Include.
|
||||||
|
@ -1818,6 +1818,9 @@ decode_opcode ()
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case RXO_smovu:
|
case RXO_smovu:
|
||||||
|
#ifdef CYCLE_ACCURATE
|
||||||
|
tx = regs.r[3];
|
||||||
|
#endif
|
||||||
while (regs.r[3] != 0)
|
while (regs.r[3] != 0)
|
||||||
{
|
{
|
||||||
uma = mem_get_qi (regs.r[2] ++);
|
uma = mem_get_qi (regs.r[2] ++);
|
||||||
@ -1826,6 +1829,7 @@ decode_opcode ()
|
|||||||
if (uma == 0)
|
if (uma == 0)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
cycles (2 + 3 * (int)(tx / 4) + 3 * (tx % 4));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case RXO_shar: /* d = ma >> mb */
|
case RXO_shar: /* d = ma >> mb */
|
||||||
|
Reference in New Issue
Block a user