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