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