1 2010-09-23 Kevin Buettner <kevinb@redhat.com>
3 * fpu.c, gdb-if.c, load.c, misc.c, syscalls.c (config.h): Include.
5 * rx.c (decode_opcode): Declare `tx' as unsigned.
7 * cpu.h (reset_decoder): Declare.
8 * load.c (rx_load): Call `reset_decoder'.
9 * rx.c (reset_decoder): New function.
11 2010-07-29 DJ Delorie <dj@redhat.com>
13 * rx.c (decode_cache_base): New.
14 (id_names): Remove ediv and edivu.
15 (optype_names): Add TwoReg.
16 (maybe_get_mem_page): New.
17 (rx_get_byte): Call it.
18 (get_op): Add TwoReg support.
20 (PD, PS, PS2, GD, GS, GS2, DSZ, SSZ, S2SZ, US1, US2, OM): "opcode"
22 (DO_RETURN): New. We use longjmp to return an exception result.
23 (decode_opcode): Make opcode a pointer to the decode cache. Save
24 decoded opcode information and re-use. Call DO_RETURN instead of
25 return throughout. Remove ediv and edivu.
26 * mem.c (ptdc): New. Adds decode cache.
27 (rx_mem_ptr): Support it.
28 (rx_mem_decode_cache): New.
29 * mem.h (enum mem_ptr_action): add MPA_DECODE_CACHE.
30 (rx_mem_decode_cache): Declare.
31 * gdb-if.c (sim_resume): Add decode_opcode's setjmp logic here...
32 * main.c (main): ...and here. Use a fast loop if neither trace
33 nor disassemble is given.
34 * cpu.h (RX_MAKE_STEPPED, RX_MAKE_HIT_BREAK, RX_MAKE_EXITED,
35 RX_MAKE_STOPPED, RX_EXITED, RX_STOPPED): Adjust so that 0 is not a
36 valid code for anything.
38 2010-07-27 DJ Delorie <dj@redhat.com>
41 * config.h (CYCLE_ACCURATE, CYCLE_STATS): New.
42 * configure.in (--enable-cycle-accurate, --enable-cycle-stats):
43 New. Default to enabled.
44 * configure: Regenerate.
46 * cpu.h (regs_type): Add cycle tracking info.
47 (reset_pipeline_stats): Declare.
48 (halt_pipeline_stats): Declare.
49 (pipeline_stats): Declare.
50 * main.c (done): Call pipeline_stats().
51 * mem.h (rx_mem_ptr): Moved to here ...
52 * mem.c (mem_ptr): ... from here. Rename throughout.
53 (mem_put_byte): Move LEDs to Port A. Add Port B to control cycle
54 statistics. Move UART to SCI4.
55 (mem_put_hi): Add TPU 1-2. TPU 1 and 2 count CPU cycles.
56 * reg.c (init_regs): Set Rt reg to -1 (no reg).
57 * rx.c: Add cycle counting and statistics throughout.
58 (rx_get_byte): Optimize for speed.
59 (decode_opcode): Likewise.
60 (reset_pipeline_stats): New.
61 (halt_pipeline_stats): New.
62 (pipeline_stats): New.
63 * trace.c (sim_disasm_one): Print cycle count.
65 2010-07-07 Kevin Buettner <kevinb@redhat.com>
67 * gdb-if.c (sim_store_register): Add case for sim_rx_acc_regnum.
69 2010-06-24 Kevin Buettner <kevinb@redhat.com>
71 * gdb-if.c (trace.h): Include.
72 (reg_size, sim_fetch_register): Add cases for sim_rx_acc_regnum.
74 2010-06-07 Nick Clifton <nickc@redhat.com>
76 * reg.c (set_oszc): Use unsigned int for the mask.
77 (set_szc, set_osz, set_sz): Likewise.
79 2010-05-28 Kevin Buettner <kevinb@redhat.com>
81 * gdb-if.c (sim_do_command): Add a "sim verbose noisy" command.
83 2010-04-14 Mike Frysinger <vapier@gentoo.org>
85 * gdb-if.c (sim_write): Add const to buf arg.
87 2010-01-30 Masaki Muranaka <monaka@monami-software.com>
89 * configure.in: Check if the host has getopt.h.
90 * configure: Regenerate.
91 * config.in: Regenerate.
92 * main.c: Include config.h.
93 Use HAVE_STDLIB_H, HAVE_UNISTD_H, HAVE_GETOPT_H.
94 Include getopt.h in case HAVE_GETOPT_H is defined.
96 2009-12-22 Yoshinori Sato <ysato@users.sourceforge.jp>
98 * rx/rx.c (decode_opcode): btst bit address mask fix.
100 2009-11-30 DJ Delorie <dj@redhat.com>
102 * rx/rx.c (decode_opcode): fix SWHILE logic.
104 2009-10-27 DJ Delorie <dj@redhat.com>
105 Kevin Buettner <kevinb@redhat.com>