DJ Delorie
f4b40e3b3e
[sim/rx]
* README.txt: New.
* config.h (CYCLE_ACCURATE, CYCLE_STATS): New.
* configure.in (--enable-cycle-accurate, --enable-cycle-stats):
New. Default to enabled.
* configure: Regenerate.
* cpu.h (regs_type): Add cycle tracking info.
(reset_pipeline_stats): Declare.
(halt_pipeline_stats): Declare.
(pipeline_stats): Declare.
* main.c (done): Call pipeline_stats().
* mem.h (rx_mem_ptr): Moved to here ...
* mem.c (mem_ptr): ... from here. Rename throughout.
(mem_put_byte): Move LEDs to Port A. Add Port B to control cycle
statistics. Move UART to SCI4.
(mem_put_hi): Add TPU 1-2. TPU 1 and 2 count CPU cycles.
* reg.c (init_regs): Set Rt reg to -1 (no reg).
* rx.c: Add cycle counting and statistics throughout.
(rx_get_byte): Optimize for speed.
(decode_opcode): Likewise.
(reset_pipeline_stats): New.
(halt_pipeline_stats): New.
(pipeline_stats): New.
* trace.c (sim_disasm_one): Print cycle count.
[include/opcode]
* rx.h (RX_Opcode_ID): Add nop2 and nop3 for statistics.
2010-07-28 21:58:22 +00:00
..
2010-04-15 10:26:09 +00:00
2010-01-06 05:25:24 +00:00
2010-06-29 04:17:27 +00:00
2010-07-23 14:52:53 +00:00
2010-06-24 20:38:05 +00:00
2010-04-15 10:26:09 +00:00
2010-07-28 21:58:22 +00:00
2010-06-10 08:31:20 +00:00
2010-05-27 10:37:23 +00:00
2009-11-18 11:57:44 +00:00
2010-01-05 21:10:23 +00:00
2009-12-15 02:02:39 +00:00
2008-08-25 04:36:03 +00:00
2010-04-15 10:26:09 +00:00
2010-07-06 12:56:24 +00:00
2009-08-16 12:06:21 +00:00
2005-05-10 10:21:13 +00:00
2007-07-17 13:50:23 +00:00
2010-02-03 23:27:54 +00:00
2010-06-29 04:17:27 +00:00
2010-06-21 16:39:14 +00:00
2009-06-01 19:40:32 +00:00
2009-06-01 19:40:32 +00:00
2010-04-26 18:04:23 +00:00
2010-07-06 12:56:24 +00:00
2005-05-10 10:21:13 +00:00
1999-05-03 07:29:06 +00:00
1999-05-03 07:29:06 +00:00
2009-05-25 13:04:40 +00:00
2005-05-10 10:21:13 +00:00
2005-05-10 10:21:13 +00:00
2010-06-10 18:30:17 +00:00
2010-04-15 10:26:09 +00:00
2005-05-10 10:21:13 +00:00
2010-04-24 01:03:15 +00:00
2009-10-07 02:57:27 +00:00
2000-07-05 19:28:05 +00:00
2008-03-25 00:21:18 +00:00
2010-04-15 10:26:09 +00:00
2005-05-10 10:21:13 +00:00
2008-10-20 23:03:31 +00:00
2005-05-10 10:21:13 +00:00
2005-05-10 10:21:13 +00:00
2010-06-21 21:21:25 +00:00
2010-04-15 10:26:09 +00:00
2008-07-07 17:09:31 +00:00
2010-04-15 10:26:09 +00:00
2005-05-10 10:21:13 +00:00
2010-06-10 18:30:17 +00:00
2010-03-23 15:58:51 +00:00
2005-07-12 10:34:51 +00:00
2001-08-02 23:27:47 +00:00
2010-05-26 18:16:13 +00:00
2010-04-15 10:26:09 +00:00
2010-04-15 10:26:09 +00:00