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