DJ Delorie
f9c7014e9c
[include/opcode]
...
* rx.h (RX_Operand_Type): Add TwoReg.
(RX_Opcode_ID): Remove ediv and ediv2.
[opcodes]
* rx-decode.opc (SRR): New.
(rx_decode_opcode): Use it for movbi and movbir. Decode NOP2 (mov
r0,r0) and NOP3 (max r0,r0) special cases.
* rx-decode.c: Regenerate.
[sim/rx]
* rx.c (decode_cache_base): New.
(id_names): Remove ediv and edivu.
(optype_names): Add TwoReg.
(maybe_get_mem_page): New.
(rx_get_byte): Call it.
(get_op): Add TwoReg support.
(put_op): Likewise.
(PD, PS, PS2, GD, GS, GS2, DSZ, SSZ, S2SZ, US1, US2, OM): "opcode"
is a pointer now.
(DO_RETURN): New. We use longjmp to return an exception result.
(decode_opcode): Make opcode a pointer to the decode cache. Save
decoded opcode information and re-use. Call DO_RETURN instead of
return throughout. Remove ediv and edivu.
* mem.c (ptdc): New. Adds decode cache.
(rx_mem_ptr): Support it.
(rx_mem_decode_cache): New.
* mem.h (enum mem_ptr_action): add MPA_DECODE_CACHE.
(rx_mem_decode_cache): Declare.
* gdb-if.c (sim_resume): Add decode_opcode's setjmp logic here...
* main.c (main): ...and here. Use a fast loop if neither trace
nor disassemble is given.
* cpu.h (RX_MAKE_STEPPED, RX_MAKE_HIT_BREAK, RX_MAKE_EXITED,
RX_MAKE_STOPPED, RX_EXITED, RX_STOPPED): Adjust so that 0 is not a
valid code for anything.
2010-07-29 18:41:28 +00:00
..
2010-06-29 04:17:34 +00:00
2010-05-07 12:28:50 +00:00
2009-09-02 07:25:43 +00:00
2010-06-27 04:07:55 +00:00
2009-09-02 07:25:43 +00:00
2009-09-25 19:13:27 +00:00
2010-07-08 22:40:28 +00:00
2008-11-06 12:03:24 +00:00
2010-06-27 04:07:55 +00:00
2009-09-02 07:25:43 +00:00
2010-06-27 04:07:55 +00:00
2009-10-24 00:17:08 +00:00
2009-09-02 07:25:43 +00:00
2010-02-12 04:42:28 +00:00
2010-01-07 18:05:45 +00:00
2009-12-11 13:42:17 +00:00
2009-06-14 16:36:56 +00:00
2010-07-29 18:41:28 +00:00
2009-01-06 01:03:27 +00:00
2010-01-01 18:06:10 +00:00
2009-08-22 16:56:56 +00:00
2010-06-29 04:17:34 +00:00
2009-09-01 13:16:53 +00:00
2010-06-29 04:17:34 +00:00
2009-12-11 13:42:17 +00:00
2010-04-06 15:41:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-12-11 13:42:17 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-12-11 13:42:17 +00:00
2009-06-04 06:57:56 +00:00
2010-03-23 15:59:45 +00:00
2009-09-02 07:25:43 +00:00
2010-06-29 04:17:34 +00:00
2010-06-27 04:07:55 +00:00
2010-06-27 04:07:55 +00:00
2010-02-12 03:25:49 +00:00
2010-02-12 03:25:49 +00:00
2010-02-12 04:42:28 +00:00
2010-01-07 18:05:45 +00:00
2010-02-12 03:25:49 +00:00
2010-01-02 18:50:59 +00:00
2010-06-27 04:07:55 +00:00
2010-02-12 03:25:49 +00:00
2010-02-12 03:25:49 +00:00
2010-02-12 04:42:28 +00:00
2010-01-07 18:05:45 +00:00
2010-02-12 03:25:49 +00:00
2010-01-02 18:50:59 +00:00
2010-06-27 04:07:55 +00:00
2009-12-11 13:42:17 +00:00
2009-09-02 07:25:43 +00:00
2010-07-28 21:54:34 +00:00
2010-07-01 21:55:02 +00:00
2010-07-01 21:55:02 +00:00
2010-07-05 16:40:32 +00:00
2010-07-05 17:14:22 +00:00
2009-09-02 07:25:43 +00:00
2010-07-05 17:14:22 +00:00
2009-09-02 07:25:43 +00:00
2009-12-11 13:42:17 +00:00
2008-08-28 14:07:50 +00:00
2009-09-02 07:25:43 +00:00
2009-09-05 07:56:26 +00:00
2009-12-11 13:42:17 +00:00
2008-08-28 14:07:50 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-12-11 13:42:17 +00:00
2008-08-28 14:07:50 +00:00
2008-08-28 14:07:50 +00:00
2010-06-27 04:07:55 +00:00
2010-02-12 03:25:49 +00:00
2010-02-12 03:25:49 +00:00
2010-02-12 04:42:28 +00:00
2010-01-07 18:05:45 +00:00
2010-02-12 03:25:49 +00:00
2010-01-02 18:50:59 +00:00
2010-06-27 04:07:55 +00:00
2010-02-12 03:25:49 +00:00
2010-02-12 03:25:49 +00:00
2010-02-12 04:42:28 +00:00
2010-01-07 18:05:45 +00:00
2010-02-12 03:25:49 +00:00
2010-01-02 18:50:59 +00:00
2010-06-27 04:07:55 +00:00
2010-02-12 03:25:49 +00:00
2010-02-12 03:25:49 +00:00
2010-02-12 04:42:28 +00:00
2010-01-07 18:05:45 +00:00
2010-02-12 03:25:49 +00:00
2010-01-02 18:50:59 +00:00
2010-02-13 04:38:57 +00:00
2010-06-27 04:07:55 +00:00
2010-02-12 03:25:49 +00:00
2010-02-12 03:25:49 +00:00
2010-02-12 04:42:28 +00:00
2010-07-03 04:09:56 +00:00
2010-02-12 03:25:49 +00:00
2010-01-02 18:50:59 +00:00
2010-06-27 04:07:55 +00:00
2010-02-12 04:42:28 +00:00
2010-02-12 04:42:28 +00:00
2010-02-12 04:42:28 +00:00
2010-01-07 18:05:45 +00:00
2010-02-12 03:25:49 +00:00
2010-01-02 18:50:59 +00:00
2010-02-12 03:25:49 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2010-06-16 15:12:51 +00:00
2010-06-16 16:27:37 +00:00
2009-09-05 07:56:26 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2010-06-29 04:17:34 +00:00
2010-06-29 04:17:34 +00:00
2009-09-01 13:16:53 +00:00
2009-12-11 13:42:17 +00:00
2009-09-02 07:25:43 +00:00
2010-06-27 04:07:55 +00:00
2010-02-12 03:25:49 +00:00
2010-02-12 03:25:49 +00:00
2010-06-28 14:41:59 +00:00
2010-01-07 18:05:45 +00:00
2010-02-12 03:25:49 +00:00
2010-01-02 18:50:59 +00:00
2009-12-11 13:42:17 +00:00
2009-10-07 15:40:17 +00:00
2009-08-06 17:38:04 +00:00
2009-08-06 17:38:04 +00:00
2010-07-06 00:02:46 +00:00
2010-07-06 00:06:04 +00:00
2010-05-26 21:49:30 +00:00
2009-12-11 13:42:17 +00:00
2009-09-02 07:25:43 +00:00
2009-06-11 11:27:58 +00:00
2010-02-03 12:47:06 +00:00
2010-06-27 04:07:55 +00:00
2010-06-27 04:07:55 +00:00
2010-02-12 03:25:49 +00:00
2010-02-12 03:25:49 +00:00
2010-02-12 04:42:28 +00:00
2010-01-07 18:05:45 +00:00
2010-02-12 03:25:49 +00:00
2010-01-02 18:50:59 +00:00
2009-12-11 13:42:17 +00:00
2009-10-05 13:14:55 +00:00
2010-06-27 04:07:55 +00:00
2010-02-12 03:25:49 +00:00
2010-02-12 03:25:49 +00:00
2010-02-12 04:42:28 +00:00
2010-01-07 18:05:45 +00:00
2010-02-12 03:25:49 +00:00
2010-01-02 18:50:59 +00:00
2009-09-02 07:25:43 +00:00
2009-12-11 13:42:17 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2010-07-03 08:27:23 +00:00
2010-07-03 06:51:56 +00:00
2010-07-29 18:41:28 +00:00
2010-07-29 18:41:28 +00:00
2009-11-05 00:38:45 +00:00
2009-12-11 13:42:17 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-06-22 00:01:57 +00:00
2009-06-22 00:01:57 +00:00
2009-09-02 07:25:43 +00:00
2009-12-11 13:42:17 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2010-06-27 04:07:55 +00:00
2009-09-02 07:25:43 +00:00
2009-12-11 13:42:17 +00:00
2009-09-02 07:25:43 +00:00
2010-03-25 21:12:36 +00:00
2009-12-11 13:42:17 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-05 07:56:26 +00:00
2010-07-23 14:52:54 +00:00
2010-07-23 14:52:54 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2010-06-27 04:07:55 +00:00
2010-02-12 03:25:49 +00:00
2010-02-12 03:25:49 +00:00
2010-02-12 04:42:28 +00:00
2010-01-07 18:05:45 +00:00
2010-02-12 03:25:49 +00:00
2010-01-02 18:50:59 +00:00
2010-06-27 04:07:55 +00:00
2010-02-12 03:25:49 +00:00
2010-02-12 03:25:49 +00:00
2010-02-12 04:42:28 +00:00
2010-01-07 18:05:45 +00:00
2010-02-12 03:25:49 +00:00
2010-01-02 18:50:59 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-08 09:47:52 +00:00
2009-09-08 09:47:52 +00:00
2009-09-02 07:25:43 +00:00