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