1 2011-07-11 Mike Frysinger <vapier@gentoo.org>
3 * configure.in: Add "dnl" before copyright notice.
5 2011-04-16 Mike Frysinger <vapier@gentoo.org>
7 * gdb-if.c (sim_complete_command): New stub function.
9 2011-01-11 Andrew Burgess <aburgess@broadcom.com>
11 * gdb-if.c (sim_store_register): Update return value to
14 2010-12-14 DJ Delorie <dj@redhat.com>
16 * rx.c (decode_opcode): For "MVFC PC,", use the address of the
17 opcode, not the address following the opcode.
18 (decode_opcode): RXO_branchrel is relative to the opcode's PC, not
19 the address following the opcode.
21 2010-11-11 DJ Delorie <dj@redhat.com>
23 * rx.c (lsb_count): New.
26 (decode_opcode): Fix cycle count math for div, divu, suntil, and
29 2010-09-29 Kevin Buettner <kevinb@redhat.com>
31 * mem.c (rx_mem_ptr): When invalidating the decode cache, account
32 for the fact that the instruction decoder never uses swapped
35 2010-09-29 Nick Clifton <nickc@redhat.com>
37 * rx.c (decode_opcode: RXO_int): Only break out of the emulation
38 loop if rx_syscall() does not return a RX_STEPPED result.
40 2010-09-23 Kevin Buettner <kevinb@redhat.com>
42 * rx.c (decode_opcode): Add cycle information for RXO_smovu.
44 2010-09-23 Kevin Buettner <kevinb@redhat.com>
46 * fpu.c, gdb-if.c, load.c, misc.c, syscalls.c (config.h): Include.
48 * rx.c (decode_opcode): Declare `tx' as unsigned.
50 * cpu.h (reset_decoder): Declare.
51 * load.c (rx_load): Call `reset_decoder'.
52 * rx.c (reset_decoder): New function.
54 2010-07-29 DJ Delorie <dj@redhat.com>
56 * rx.c (decode_cache_base): New.
57 (id_names): Remove ediv and edivu.
58 (optype_names): Add TwoReg.
59 (maybe_get_mem_page): New.
60 (rx_get_byte): Call it.
61 (get_op): Add TwoReg support.
63 (PD, PS, PS2, GD, GS, GS2, DSZ, SSZ, S2SZ, US1, US2, OM): "opcode"
65 (DO_RETURN): New. We use longjmp to return an exception result.
66 (decode_opcode): Make opcode a pointer to the decode cache. Save
67 decoded opcode information and re-use. Call DO_RETURN instead of
68 return throughout. Remove ediv and edivu.
69 * mem.c (ptdc): New. Adds decode cache.
70 (rx_mem_ptr): Support it.
71 (rx_mem_decode_cache): New.
72 * mem.h (enum mem_ptr_action): add MPA_DECODE_CACHE.
73 (rx_mem_decode_cache): Declare.
74 * gdb-if.c (sim_resume): Add decode_opcode's setjmp logic here...
75 * main.c (main): ...and here. Use a fast loop if neither trace
76 nor disassemble is given.
77 * cpu.h (RX_MAKE_STEPPED, RX_MAKE_HIT_BREAK, RX_MAKE_EXITED,
78 RX_MAKE_STOPPED, RX_EXITED, RX_STOPPED): Adjust so that 0 is not a
79 valid code for anything.
81 2010-07-27 DJ Delorie <dj@redhat.com>
84 * config.h (CYCLE_ACCURATE, CYCLE_STATS): New.
85 * configure.in (--enable-cycle-accurate, --enable-cycle-stats):
86 New. Default to enabled.
87 * configure: Regenerate.
89 * cpu.h (regs_type): Add cycle tracking info.
90 (reset_pipeline_stats): Declare.
91 (halt_pipeline_stats): Declare.
92 (pipeline_stats): Declare.
93 * main.c (done): Call pipeline_stats().
94 * mem.h (rx_mem_ptr): Moved to here ...
95 * mem.c (mem_ptr): ... from here. Rename throughout.
96 (mem_put_byte): Move LEDs to Port A. Add Port B to control cycle
97 statistics. Move UART to SCI4.
98 (mem_put_hi): Add TPU 1-2. TPU 1 and 2 count CPU cycles.
99 * reg.c (init_regs): Set Rt reg to -1 (no reg).
100 * rx.c: Add cycle counting and statistics throughout.
101 (rx_get_byte): Optimize for speed.
102 (decode_opcode): Likewise.
103 (reset_pipeline_stats): New.
104 (halt_pipeline_stats): New.
105 (pipeline_stats): New.
106 * trace.c (sim_disasm_one): Print cycle count.
108 2010-07-07 Kevin Buettner <kevinb@redhat.com>
110 * gdb-if.c (sim_store_register): Add case for sim_rx_acc_regnum.
112 2010-06-24 Kevin Buettner <kevinb@redhat.com>
114 * gdb-if.c (trace.h): Include.
115 (reg_size, sim_fetch_register): Add cases for sim_rx_acc_regnum.
117 2010-06-07 Nick Clifton <nickc@redhat.com>
119 * reg.c (set_oszc): Use unsigned int for the mask.
120 (set_szc, set_osz, set_sz): Likewise.
122 2010-05-28 Kevin Buettner <kevinb@redhat.com>
124 * gdb-if.c (sim_do_command): Add a "sim verbose noisy" command.
126 2010-04-14 Mike Frysinger <vapier@gentoo.org>
128 * gdb-if.c (sim_write): Add const to buf arg.
130 2010-01-30 Masaki Muranaka <monaka@monami-software.com>
132 * configure.in: Check if the host has getopt.h.
133 * configure: Regenerate.
134 * config.in: Regenerate.
135 * main.c: Include config.h.
136 Use HAVE_STDLIB_H, HAVE_UNISTD_H, HAVE_GETOPT_H.
137 Include getopt.h in case HAVE_GETOPT_H is defined.
139 2009-12-22 Yoshinori Sato <ysato@users.sourceforge.jp>
141 * rx/rx.c (decode_opcode): btst bit address mask fix.
143 2009-11-30 DJ Delorie <dj@redhat.com>
145 * rx/rx.c (decode_opcode): fix SWHILE logic.
147 2009-10-27 DJ Delorie <dj@redhat.com>
148 Kevin Buettner <kevinb@redhat.com>