]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - sim/rx/ChangeLog
Update rx sim so that it'll print load statistics.
[thirdparty/binutils-gdb.git] / sim / rx / ChangeLog
1 2012-03-02 Kevin Buettner <kevinb@redhat.com>
2
3 * load.h (rx_load): Add `callback' parameter to function prototype.
4 (gdb/callback.h): Include.
5 * load.c (load.h): Include.
6 (xprintf, find_section_name_by_offset): New functions.
7 (rx_load): Add `callback' parameter. Add code for printing
8 section loaded using GDB's printf facilities.
9 * gdb-if.c (sim_load, sim_create_inferior): Update calls to
10 rx_load().
11 * main.c (main): Likewise.
12 * syscalls.c, syscalls.h (get_callbacks): New function.
13
14 2011-12-03 Mike Frysinger <vapier@gentoo.org>
15
16 * aclocal.m4: New file.
17 * configure: Regenerate.
18
19 2011-10-17 Mike Frysinger <vapier@gentoo.org>
20
21 * configure.ac: Change include to common/acinclude.m4.
22
23 2011-10-17 Mike Frysinger <vapier@gentoo.org>
24
25 * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
26 call. Replace common.m4 include with SIM_AC_COMMON.
27 * configure: Regenerate.
28
29 2011-07-11 Mike Frysinger <vapier@gentoo.org>
30
31 * configure.ac: Rename from configure.in.
32
33 2011-07-11 Mike Frysinger <vapier@gentoo.org>
34
35 * configure.in: Add "dnl" before copyright notice.
36
37 2011-04-16 Mike Frysinger <vapier@gentoo.org>
38
39 * gdb-if.c (sim_complete_command): New stub function.
40
41 2011-01-11 Andrew Burgess <aburgess@broadcom.com>
42
43 * gdb-if.c (sim_store_register): Update return value to
44 match new API.
45
46 2010-12-14 DJ Delorie <dj@redhat.com>
47
48 * rx.c (decode_opcode): For "MVFC PC,", use the address of the
49 opcode, not the address following the opcode.
50 (decode_opcode): RXO_branchrel is relative to the opcode's PC, not
51 the address following the opcode.
52
53 2010-11-11 DJ Delorie <dj@redhat.com>
54
55 * rx.c (lsb_count): New.
56 (divu_cycles): New.
57 (div_cycles): New.
58 (decode_opcode): Fix cycle count math for div, divu, suntil, and
59 swhile.
60
61 2010-09-29 Kevin Buettner <kevinb@redhat.com>
62
63 * mem.c (rx_mem_ptr): When invalidating the decode cache, account
64 for the fact that the instruction decoder never uses swapped
65 addresses.
66
67 2010-09-29 Nick Clifton <nickc@redhat.com>
68
69 * rx.c (decode_opcode: RXO_int): Only break out of the emulation
70 loop if rx_syscall() does not return a RX_STEPPED result.
71
72 2010-09-23 Kevin Buettner <kevinb@redhat.com>
73
74 * rx.c (decode_opcode): Add cycle information for RXO_smovu.
75
76 2010-09-23 Kevin Buettner <kevinb@redhat.com>
77
78 * fpu.c, gdb-if.c, load.c, misc.c, syscalls.c (config.h): Include.
79
80 * rx.c (decode_opcode): Declare `tx' as unsigned.
81
82 * cpu.h (reset_decoder): Declare.
83 * load.c (rx_load): Call `reset_decoder'.
84 * rx.c (reset_decoder): New function.
85
86 2010-07-29 DJ Delorie <dj@redhat.com>
87
88 * rx.c (decode_cache_base): New.
89 (id_names): Remove ediv and edivu.
90 (optype_names): Add TwoReg.
91 (maybe_get_mem_page): New.
92 (rx_get_byte): Call it.
93 (get_op): Add TwoReg support.
94 (put_op): Likewise.
95 (PD, PS, PS2, GD, GS, GS2, DSZ, SSZ, S2SZ, US1, US2, OM): "opcode"
96 is a pointer now.
97 (DO_RETURN): New. We use longjmp to return an exception result.
98 (decode_opcode): Make opcode a pointer to the decode cache. Save
99 decoded opcode information and re-use. Call DO_RETURN instead of
100 return throughout. Remove ediv and edivu.
101 * mem.c (ptdc): New. Adds decode cache.
102 (rx_mem_ptr): Support it.
103 (rx_mem_decode_cache): New.
104 * mem.h (enum mem_ptr_action): add MPA_DECODE_CACHE.
105 (rx_mem_decode_cache): Declare.
106 * gdb-if.c (sim_resume): Add decode_opcode's setjmp logic here...
107 * main.c (main): ...and here. Use a fast loop if neither trace
108 nor disassemble is given.
109 * cpu.h (RX_MAKE_STEPPED, RX_MAKE_HIT_BREAK, RX_MAKE_EXITED,
110 RX_MAKE_STOPPED, RX_EXITED, RX_STOPPED): Adjust so that 0 is not a
111 valid code for anything.
112
113 2010-07-27 DJ Delorie <dj@redhat.com>
114
115 * README.txt: New.
116 * config.h (CYCLE_ACCURATE, CYCLE_STATS): New.
117 * configure.in (--enable-cycle-accurate, --enable-cycle-stats):
118 New. Default to enabled.
119 * configure: Regenerate.
120
121 * cpu.h (regs_type): Add cycle tracking info.
122 (reset_pipeline_stats): Declare.
123 (halt_pipeline_stats): Declare.
124 (pipeline_stats): Declare.
125 * main.c (done): Call pipeline_stats().
126 * mem.h (rx_mem_ptr): Moved to here ...
127 * mem.c (mem_ptr): ... from here. Rename throughout.
128 (mem_put_byte): Move LEDs to Port A. Add Port B to control cycle
129 statistics. Move UART to SCI4.
130 (mem_put_hi): Add TPU 1-2. TPU 1 and 2 count CPU cycles.
131 * reg.c (init_regs): Set Rt reg to -1 (no reg).
132 * rx.c: Add cycle counting and statistics throughout.
133 (rx_get_byte): Optimize for speed.
134 (decode_opcode): Likewise.
135 (reset_pipeline_stats): New.
136 (halt_pipeline_stats): New.
137 (pipeline_stats): New.
138 * trace.c (sim_disasm_one): Print cycle count.
139
140 2010-07-07 Kevin Buettner <kevinb@redhat.com>
141
142 * gdb-if.c (sim_store_register): Add case for sim_rx_acc_regnum.
143
144 2010-06-24 Kevin Buettner <kevinb@redhat.com>
145
146 * gdb-if.c (trace.h): Include.
147 (reg_size, sim_fetch_register): Add cases for sim_rx_acc_regnum.
148
149 2010-06-07 Nick Clifton <nickc@redhat.com>
150
151 * reg.c (set_oszc): Use unsigned int for the mask.
152 (set_szc, set_osz, set_sz): Likewise.
153
154 2010-05-28 Kevin Buettner <kevinb@redhat.com>
155
156 * gdb-if.c (sim_do_command): Add a "sim verbose noisy" command.
157
158 2010-04-14 Mike Frysinger <vapier@gentoo.org>
159
160 * gdb-if.c (sim_write): Add const to buf arg.
161
162 2010-01-30 Masaki Muranaka <monaka@monami-software.com>
163
164 * configure.in: Check if the host has getopt.h.
165 * configure: Regenerate.
166 * config.in: Regenerate.
167 * main.c: Include config.h.
168 Use HAVE_STDLIB_H, HAVE_UNISTD_H, HAVE_GETOPT_H.
169 Include getopt.h in case HAVE_GETOPT_H is defined.
170
171 2009-12-22 Yoshinori Sato <ysato@users.sourceforge.jp>
172
173 * rx/rx.c (decode_opcode): btst bit address mask fix.
174
175 2009-11-30 DJ Delorie <dj@redhat.com>
176
177 * rx/rx.c (decode_opcode): fix SWHILE logic.
178
179 2009-10-27 DJ Delorie <dj@redhat.com>
180 Kevin Buettner <kevinb@redhat.com>
181
182 * load.h: New.
183 * rx.c: New.
184 * syscalls.c: New.
185 * syscalls.h: New.
186 * load.c: New.
187 * configure.in: New.
188 * gdb-if.c: New.
189 * err.c: New.
190 * cpu.h: New.
191 * Makefile.in: New.
192 * fpu.c: New.
193 * mem.c: New.
194 * config.in: New.
195 * err.h: New.
196 * reg.c: New.
197 * mem.h: New.
198 * main.c: New.
199 * misc.h: New.
200 * trace.c: New.
201 * misc.c: New.
202 * syscall.h: New.
203 * trace.h: New.
204 * fpu.h: New.