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