1 2013-06-25 Nick Clifton <nickc@redhat.com>
3 * rx.c (SHIFT_OP): A shift by zero still sets the condition
6 2013-06-03 Mike Frysinger <vapier@gentoo.org>
8 * aclocal.m4, configure: Regenerate.
10 2013-01-16 Nick Clifton <nickc@redhat.com>
12 * rx.c (decode_opcode): Handle RXO_satr.
14 2012-06-15 Joel Brobecker <brobecker@adacore.com>
16 * config.in, configure: Regenerate.
18 2012-05-24 Pedro Alves <palves@redhat.com>
22 Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
24 2012-03-24 Mike Frysinger <vapier@gentoo.org>
26 * aclocal.m4, config.in, configure: Regenerate.
28 2012-03-22 Mike Frysinger <vapier@gentoo.org>
30 * configure.ac (CYCLE_ACCURATE): Add template with AC_DEFINE call.
31 (CYCLE_STATS): Likewise.
33 2012-03-02 Kevin Buettner <kevinb@redhat.com>
35 * load.h (rx_load): Add `callback' parameter to function prototype.
36 (gdb/callback.h): Include.
37 * load.c (load.h): Include.
38 (xprintf, find_section_name_by_offset): New functions.
39 (rx_load): Add `callback' parameter. Add code for printing
40 section loaded using GDB's printf facilities.
41 * gdb-if.c (sim_load, sim_create_inferior): Update calls to
43 * main.c (main): Likewise.
44 * syscalls.c, syscalls.h (get_callbacks): New function.
46 2011-12-03 Mike Frysinger <vapier@gentoo.org>
48 * aclocal.m4: New file.
49 * configure: Regenerate.
51 2011-10-17 Mike Frysinger <vapier@gentoo.org>
53 * configure.ac: Change include to common/acinclude.m4.
55 2011-10-17 Mike Frysinger <vapier@gentoo.org>
57 * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
58 call. Replace common.m4 include with SIM_AC_COMMON.
59 * configure: Regenerate.
61 2011-07-11 Mike Frysinger <vapier@gentoo.org>
63 * configure.ac: Rename from configure.in.
65 2011-07-11 Mike Frysinger <vapier@gentoo.org>
67 * configure.in: Add "dnl" before copyright notice.
69 2011-04-16 Mike Frysinger <vapier@gentoo.org>
71 * gdb-if.c (sim_complete_command): New stub function.
73 2011-01-11 Andrew Burgess <aburgess@broadcom.com>
75 * gdb-if.c (sim_store_register): Update return value to
78 2010-12-14 DJ Delorie <dj@redhat.com>
80 * rx.c (decode_opcode): For "MVFC PC,", use the address of the
81 opcode, not the address following the opcode.
82 (decode_opcode): RXO_branchrel is relative to the opcode's PC, not
83 the address following the opcode.
85 2010-11-11 DJ Delorie <dj@redhat.com>
87 * rx.c (lsb_count): New.
90 (decode_opcode): Fix cycle count math for div, divu, suntil, and
93 2010-09-29 Kevin Buettner <kevinb@redhat.com>
95 * mem.c (rx_mem_ptr): When invalidating the decode cache, account
96 for the fact that the instruction decoder never uses swapped
99 2010-09-29 Nick Clifton <nickc@redhat.com>
101 * rx.c (decode_opcode: RXO_int): Only break out of the emulation
102 loop if rx_syscall() does not return a RX_STEPPED result.
104 2010-09-23 Kevin Buettner <kevinb@redhat.com>
106 * rx.c (decode_opcode): Add cycle information for RXO_smovu.
108 2010-09-23 Kevin Buettner <kevinb@redhat.com>
110 * fpu.c, gdb-if.c, load.c, misc.c, syscalls.c (config.h): Include.
112 * rx.c (decode_opcode): Declare `tx' as unsigned.
114 * cpu.h (reset_decoder): Declare.
115 * load.c (rx_load): Call `reset_decoder'.
116 * rx.c (reset_decoder): New function.
118 2010-07-29 DJ Delorie <dj@redhat.com>
120 * rx.c (decode_cache_base): New.
121 (id_names): Remove ediv and edivu.
122 (optype_names): Add TwoReg.
123 (maybe_get_mem_page): New.
124 (rx_get_byte): Call it.
125 (get_op): Add TwoReg support.
127 (PD, PS, PS2, GD, GS, GS2, DSZ, SSZ, S2SZ, US1, US2, OM): "opcode"
129 (DO_RETURN): New. We use longjmp to return an exception result.
130 (decode_opcode): Make opcode a pointer to the decode cache. Save
131 decoded opcode information and re-use. Call DO_RETURN instead of
132 return throughout. Remove ediv and edivu.
133 * mem.c (ptdc): New. Adds decode cache.
134 (rx_mem_ptr): Support it.
135 (rx_mem_decode_cache): New.
136 * mem.h (enum mem_ptr_action): add MPA_DECODE_CACHE.
137 (rx_mem_decode_cache): Declare.
138 * gdb-if.c (sim_resume): Add decode_opcode's setjmp logic here...
139 * main.c (main): ...and here. Use a fast loop if neither trace
140 nor disassemble is given.
141 * cpu.h (RX_MAKE_STEPPED, RX_MAKE_HIT_BREAK, RX_MAKE_EXITED,
142 RX_MAKE_STOPPED, RX_EXITED, RX_STOPPED): Adjust so that 0 is not a
143 valid code for anything.
145 2010-07-27 DJ Delorie <dj@redhat.com>
148 * config.h (CYCLE_ACCURATE, CYCLE_STATS): New.
149 * configure.in (--enable-cycle-accurate, --enable-cycle-stats):
150 New. Default to enabled.
151 * configure: Regenerate.
153 * cpu.h (regs_type): Add cycle tracking info.
154 (reset_pipeline_stats): Declare.
155 (halt_pipeline_stats): Declare.
156 (pipeline_stats): Declare.
157 * main.c (done): Call pipeline_stats().
158 * mem.h (rx_mem_ptr): Moved to here ...
159 * mem.c (mem_ptr): ... from here. Rename throughout.
160 (mem_put_byte): Move LEDs to Port A. Add Port B to control cycle
161 statistics. Move UART to SCI4.
162 (mem_put_hi): Add TPU 1-2. TPU 1 and 2 count CPU cycles.
163 * reg.c (init_regs): Set Rt reg to -1 (no reg).
164 * rx.c: Add cycle counting and statistics throughout.
165 (rx_get_byte): Optimize for speed.
166 (decode_opcode): Likewise.
167 (reset_pipeline_stats): New.
168 (halt_pipeline_stats): New.
169 (pipeline_stats): New.
170 * trace.c (sim_disasm_one): Print cycle count.
172 2010-07-07 Kevin Buettner <kevinb@redhat.com>
174 * gdb-if.c (sim_store_register): Add case for sim_rx_acc_regnum.
176 2010-06-24 Kevin Buettner <kevinb@redhat.com>
178 * gdb-if.c (trace.h): Include.
179 (reg_size, sim_fetch_register): Add cases for sim_rx_acc_regnum.
181 2010-06-07 Nick Clifton <nickc@redhat.com>
183 * reg.c (set_oszc): Use unsigned int for the mask.
184 (set_szc, set_osz, set_sz): Likewise.
186 2010-05-28 Kevin Buettner <kevinb@redhat.com>
188 * gdb-if.c (sim_do_command): Add a "sim verbose noisy" command.
190 2010-04-14 Mike Frysinger <vapier@gentoo.org>
192 * gdb-if.c (sim_write): Add const to buf arg.
194 2010-01-30 Masaki Muranaka <monaka@monami-software.com>
196 * configure.in: Check if the host has getopt.h.
197 * configure: Regenerate.
198 * config.in: Regenerate.
199 * main.c: Include config.h.
200 Use HAVE_STDLIB_H, HAVE_UNISTD_H, HAVE_GETOPT_H.
201 Include getopt.h in case HAVE_GETOPT_H is defined.
203 2009-12-22 Yoshinori Sato <ysato@users.sourceforge.jp>
205 * rx/rx.c (decode_opcode): btst bit address mask fix.
207 2009-11-30 DJ Delorie <dj@redhat.com>
209 * rx/rx.c (decode_opcode): fix SWHILE logic.
211 2009-10-27 DJ Delorie <dj@redhat.com>
212 Kevin Buettner <kevinb@redhat.com>