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