]>
Commit | Line | Data |
---|---|---|
c2783492 MF |
1 | 2021-04-02 Mike Frysinger <vapier@gentoo.org> |
2 | ||
3 | * configure.ac: Call SIM_AC_TOOLCHAIN and AC_CONFIG_FILES. | |
4 | (AC_PROG_INSTALL, AC_PROG_CC, AC_CANONICAL_SYSTEM, CC_FOR_BUILD, | |
5 | CFLAGS_FOR_BUILD): Delete. | |
6 | * aclocal.m4: New file. | |
7 | * configure: Regenerate. | |
8 | ||
e7d9022b MF |
9 | 2021-03-13 Mike Frysinger <vapier@gentoo.org> |
10 | ||
11 | * Makefile.in (LDFLAGS_FOR_BUILD): Define. | |
12 | (BUILD_LDFLAGS): Delete. | |
13 | (LINK_FOR_BUILD): Change BUILD_LDFLAGS to LDFLAGS_FOR_BUILD. | |
14 | * configure.ac (LDFLAGS_FOR_BUILD): Define. | |
15 | * configure: Regenerate. | |
16 | ||
c6c7769d MF |
17 | 2021-03-13 Mike Frysinger <vapier@gentoo.org> |
18 | ||
19 | * Makefile.in (COMPILE_FOR_BUILD, LINK_FOR_BUILD): Define. | |
20 | (.c.o, igen.o): Call COMPILE_FOR_BUILD. | |
21 | (igen, tmp-table, tmp-filter, tmp-ld-decode, tmp-ld-cache, tmp-ld-insn, | |
22 | tmp-gen): Call LINK_FOR_BUILD. | |
23 | ||
8c9b6e76 MF |
24 | 2021-03-08 Mike Frysinger <vapier@gentoo.org> |
25 | ||
26 | * Makefile.in (tmp-table, tmp-filter, tmp-ld-decode, tmp-ld-cache, | |
27 | tmp-ld-insn, tmp-gen): Delete $(BUILD_LIBS). | |
28 | ||
2916e3e1 MF |
29 | 2021-03-07 Mike Frysinger <vapier@gentoo.org> |
30 | ||
31 | * gen.c (main): Delete options arg to INIT_OPTIONS. | |
32 | * ld-decode.c (main): Likewise. | |
33 | * ld-insn.c (main): Likewise. | |
34 | ||
6bddc3e8 MF |
35 | 2021-03-07 Mike Frysinger <vapier@gentoo.org> |
36 | ||
37 | * Makefile.in (check): Define. | |
38 | ||
9f34b60a MF |
39 | 2021-02-28 Mike Frysinger <vapier@gentoo.org> |
40 | ||
41 | * Makefile.in (filter_filename.o): Delete unused target. | |
42 | (distclean): Remove config.h. | |
43 | (config.h, stamp-h): Delete targets. | |
44 | * configure.ac (AC_CONFIG_HEADER): Delete call. | |
45 | (AC_CHECK_HEADERS, AC_HEADER_DIRENT): Likewise. | |
46 | (AC_OUTPUT): Remove 2nd arg. | |
47 | * filter.c: Remove config.h include. | |
48 | * filter_host.c, igen.c, lf.c, misc.c, misc.h: Likewise. | |
49 | * table.c: Likewise. Remove HAVE_UNISTD_H check. | |
50 | * configure: Regenerate. | |
51 | * config.in: Removed. | |
52 | ||
88d7273a MF |
53 | 2021-02-28 Mike Frysinger <vapier@gentoo.org> |
54 | ||
55 | * Makefile.in (program_transform_name, AR, RANLIB): Delete. | |
56 | * configure.ac (AC_ARG_PROGRAM, AC_PROG_RANLIB): Delete calls. | |
57 | (AC_SUBST): Delete AR & CFLAGS calls. | |
58 | * configure: Regenerate. | |
59 | ||
9ea3e81c MF |
60 | 2021-02-28 Mike Frysinger <vapier@gentoo.org> |
61 | ||
62 | * Makefile.in (AR_FOR_BUILD, AR_FLAGS_FOR_BUILD, | |
63 | RANLIB_FOR_BUILD): Delete. | |
64 | * configure.ac: Likewise. | |
65 | * configure: Regenerate. | |
66 | ||
760b3e8b MF |
67 | 2021-02-21 Mike Frysinger <vapier@gentoo.org> |
68 | ||
69 | * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4. | |
70 | * configure: Regenerate. | |
71 | ||
136da8cd MF |
72 | 2021-02-13 Mike Frysinger <vapier@gentoo.org> |
73 | ||
74 | * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS. | |
75 | * configure: Regenerate. | |
76 | ||
cd89c53f MF |
77 | 2021-02-06 Mike Frysinger <vapier@gentoo.org> |
78 | ||
79 | * Makefile.in (LIBIBERTY_LIB): Delete. | |
80 | (igen): Delete $(LIBIBERTY_LIB). | |
81 | * configure.ac (LIBIBERTY_LIB): Delete. | |
82 | * configure: Regenerate. | |
83 | ||
aa09469f MF |
84 | 2021-02-06 Mike Frysinger <vapier@gentoo.org> |
85 | ||
86 | * configure.ac: Delete bfd/configure.host sourcing. | |
87 | * configure: Regenerate. | |
88 | ||
68ed2854 MF |
89 | 2021-01-11 Mike Frysinger <vapier@gentoo.org> |
90 | ||
91 | * configure.ac (AC_CHECK_HEADERS): Delete stdlib.h, string.h, and | |
92 | strings.h. | |
93 | * configure, configure.ac: Regenerate. | |
94 | ||
95 | 2021-01-11 Mike Frysinger <vapier@gentoo.org> | |
96 | ||
97 | * filter.c, if.c, misc.c, misc.h, table.c: Delete HAVE_STRING_H, | |
98 | HAVE_STRINGS_H, HAVE_STDLIB_H, and strings.h include. | |
99 | ||
bf470982 MF |
100 | 2021-01-09 Mike Frysinger <vapier@gentoo.org> |
101 | ||
102 | * configure: Regenerate. | |
103 | ||
3d52735b MF |
104 | 2021-01-04 Mike Frysinger <vapier@gentoo.org> |
105 | ||
106 | * gen-icache.c, igen.c: Include stdlib.h. | |
107 | ||
dfb856ba MF |
108 | 2021-01-04 Mike Frysinger <vapier@gentoo.org> |
109 | ||
110 | * configure: Regenerate. | |
111 | ||
c4df5bbe SH |
112 | 2020-07-03 Sebastian Huber <sebastian.huber@embedded-brains.de> |
113 | ||
114 | PR sim/26194 | |
115 | * lf.h (lf_get_file_type): Declare. | |
116 | * lf.c (lf_get_file_type): Define. | |
117 | * gen-idecode.c (print_idecode_issue_function_header): Use | |
118 | lf_get_file_type() to issue an extern variable declaration in | |
119 | case of header files. | |
120 | ||
78aa740b TT |
121 | 2019-12-19 Tom Tromey <tromey@adacore.com> |
122 | ||
123 | PR build/24572: | |
124 | * Makefile.in (install-strip): New target. | |
125 | ||
347fe5bb MF |
126 | 2016-01-10 Mike Frysinger <vapier@gentoo.org> |
127 | ||
128 | * configure: Regenerate. | |
129 | ||
e19418e0 MF |
130 | 2016-01-10 Mike Frysinger <vapier@gentoo.org> |
131 | ||
132 | * configure: Regenerate. | |
133 | ||
ce39bd38 MF |
134 | 2016-01-10 Mike Frysinger <vapier@gentoo.org> |
135 | ||
136 | * configure: Regenerate. | |
137 | ||
0dc73ef7 MF |
138 | 2016-01-10 Mike Frysinger <vapier@gentoo.org> |
139 | ||
140 | * configure: Regenerate. | |
141 | ||
9bbf6f91 MF |
142 | 2016-01-04 Mike Frysinger <vapier@gentoo.org> |
143 | ||
144 | * configure: Regenerate. | |
145 | ||
306f4178 MF |
146 | 2015-06-12 Mike Frysinger <vapier@gentoo.org> |
147 | ||
148 | * configure: Regenerate. | |
149 | ||
de7669bf NC |
150 | 2015-04-24 David Binderman <dcb314@hotmail.com> |
151 | Nick Clifton <nickc@redhat.com> | |
152 | ||
153 | PR 18273 | |
154 | * misc.c (a2i): Fix typos checking for uppercase letters. | |
155 | ||
034685f9 MF |
156 | 2015-04-17 Mike Frysinger <vapier@gentoo.org> |
157 | ||
158 | * gen-engine.c (print_run_body): Change CIA_GET to CPU_PC_GET and | |
159 | CIA_SET to CPU_PC_SET. | |
160 | ||
aadc9410 MF |
161 | 2015-03-31 Mike Frysinger <vapier@gentoo.org> |
162 | ||
163 | * configure: Regenerate. | |
164 | ||
8eec6289 JS |
165 | 2014-11-23 Joel Sherrill <joel.sherrill@oarcorp.com> |
166 | ||
167 | * igen/ld-cache.h, igen/table.h: Change immediatly to immediately. | |
168 | ||
1a8a700e MF |
169 | 2014-03-04 Mike Frysinger <vapier@gentoo.org> |
170 | ||
171 | * configure: Regenerate. | |
172 | ||
b02677b9 SE |
173 | 2013-11-25 Steve Ellcey <sellcey@mips.com> |
174 | ||
175 | * igen/Makefile.in (igen): Use BUILD_CFLAGS in link. | |
176 | ||
d3685d60 TT |
177 | 2013-05-10 Freddie Chopin <freddie_chopin@op.pl> |
178 | ||
179 | * configure: Rebuild. | |
180 | ||
2232061b MF |
181 | 2012-03-24 Mike Frysinger <vapier@gentoo.org> |
182 | ||
183 | * configure: Regenerate. | |
184 | ||
9c082ca8 MF |
185 | 2011-10-17 Mike Frysinger <vapier@gentoo.org> |
186 | ||
187 | * configure.ac: Change include to common/acinclude.m4. | |
188 | ||
6ffe910a MF |
189 | 2011-10-17 Mike Frysinger <vapier@gentoo.org> |
190 | ||
191 | * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER | |
192 | call. Replace common.m4 include with SIM_AC_COMMON. | |
193 | * configure: Regenerate. | |
194 | ||
7e60d301 HPN |
195 | 2011-07-08 Hans-Peter Nilsson <hp@axis.com> |
196 | ||
ae9cd411 HPN |
197 | * ld-insn.c (print_insn_words): For fields, print conditionals. |
198 | ||
f72344f7 | 199 | Correct handling of constant named fields. |
af342558 HPN |
200 | * gen.c (insn_field_cmp): Tweak comment about neither field |
201 | being an insn_field_string with a cond_eq-to-value condition. | |
202 | (insns_bit_useless) <case insn_field_string, case | |
203 | decode_find_mixed>: Handle cond_eq-to-value fields as | |
204 | insn_field_int. | |
205 | * gen-idecode.c (print_idecode_validate): Handle | |
206 | insn_field_string cond-equal-to-value fields as insn_field_int. | |
207 | * gen-icache.c (print_icache_body): Add comment why constant | |
208 | string fields are handled. | |
209 | ||
7e60d301 HPN |
210 | Remove all #if 0'd code. |
211 | * filter.c: Remove #if 0'd function it_is. | |
212 | (main): Remove #if 0'd code. | |
213 | * gen-engine.c: Remove #if 0'd functions print_jump, | |
214 | print_jump_insn, print_jump_definition, | |
215 | print_jump_internal_function, print_jump_body. | |
216 | (gen_engine_c): Remove #if 0'd code. | |
217 | * gen-idecode.c: Remove #if 0'd functions print_jump print_jump, | |
218 | print_jump_insn, print_jump_definition, | |
219 | print_jump_internal_function, print_jump_until_stop_body. | |
220 | * gen-model.c: Remove #if 0'd functions model_c_or_h_data, | |
221 | model_c_or_h_function, gen_model_h, model_c_insn, | |
222 | model_c_function, gen_model_c and types model_c_passed_data | |
223 | and struct _model_c_passed_data. | |
224 | * gen.c: Remove #if 0'd type constant_field_types and function | |
225 | insn_field_is_constant. | |
226 | (gen_entry_find_opcode_field): Remove #if 0'd code. | |
227 | * ld-insn.c (parse_insn_model_record): Remove #if 0'd code. | |
228 | * misc.h (STRDUP, STRNDUP): Remove #if 0'd macros. | |
229 | ||
d79fe0d6 MF |
230 | 2011-02-14 Mike Frysinger <vapier@gentoo.org> |
231 | ||
232 | * table.c (table_push): Change zfree to free. | |
233 | ||
d6416cdc RW |
234 | 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
235 | ||
81ecdfbb RW |
236 | * config.in: Regenerate. |
237 | * configure: Likewise. | |
238 | ||
d6416cdc RW |
239 | * configure: Regenerate. |
240 | ||
96e946ca RW |
241 | 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
242 | ||
243 | * Makefile.in (datarootdir): New variable. | |
244 | ||
d5ce5596 JB |
245 | 2008-08-28 Joel Brobecker <brobecker@adacore.com> |
246 | ||
247 | * compare_igen_models: Change license to GPL version 3. | |
248 | ||
dfee3164 JB |
249 | 2007-08-27 Joel Brobecker <brobecker@adacore.com> |
250 | ||
251 | * lf.c (lf_print__gnu_copyleft): Change license to GPL version 3. | |
252 | ||
edc5d9ec HPN |
253 | 2006-12-21 Hans-Peter Nilsson <hp@axis.com> |
254 | ||
255 | * acconfig.h: Remove. | |
256 | * config.in: Regenerate. | |
257 | ||
38f48d72 AC |
258 | 2005-01-11 Andrew Cagney <cagney@localhost.localdomain> |
259 | ||
260 | * configure.ac: Delete AC_CONFIG_AUX_DIR. | |
261 | * configure: Re-generate. | |
262 | ||
b7026657 AC |
263 | 2005-01-07 Andrew Cagney <cagney@gnu.org> |
264 | ||
265 | * configure.ac: Rename configure.in, require autoconf 2.59. | |
266 | * configure: Re-generate. | |
267 | ||
dd69d292 CD |
268 | 2003-05-03 Chris Demetriou <cgd@broadcom.com> |
269 | ||
270 | * compare_igen_models: Tweak attribution slightly. | |
271 | ||
1fdb3c68 AC |
272 | 2002-11-22 Andrew Cagney <cagney@redhat.com> |
273 | ||
274 | * gen.c (name_cmp): Rename format_name_cmp. | |
275 | (insn_list_insert): When a merge, compare the format name and | |
276 | instruction name. Add trace messages. | |
277 | ||
4e0bf4c4 AC |
278 | 2002-11-21 Andrew Cagney <ac131313@redhat.com> |
279 | ||
280 | * filter.c: Re-indent. | |
281 | * filter.h, filter_host.h, gen-engine.c, gen-engine.h: Ditto. | |
282 | * gen-icache.c, gen-icache.h, gen-idecode.c: Ditto. | |
283 | * gen-idecode.h, gen-itable.c, gen-itable.h: Ditto. | |
284 | * gen-model.c, gen-model.h, gen-semantics.c: Ditto. | |
285 | * gen-semantics.h, gen-support.c, gen-support.h: Ditto. | |
286 | * gen.c, gen.h, igen.c, igen.h, ld-cache.c, ld-cache.h: Ditto. | |
287 | * ld-decode.c, ld-decode.h, ld-insn.c, ld-insn.h, lf.c: Ditto. | |
288 | * lf.h, misc.c, misc.h, table.c, table.h: Ditto. | |
72f4393d | 289 | |
feaee4bd AC |
290 | 2002-11-21 Andrew Cagney <ac131313@redhat.com> |
291 | ||
292 | * Makefile.in: Update copyright. IGEN contributed to the FSF. | |
293 | * filter.c, filter.h, filter_host.c, filter_host.h: Ditto. | |
294 | * gen-engine.c, gen-engine.h, gen-icache.c, gen-icache.h: Ditto. | |
295 | * gen-idecode.c, gen-idecode.h, gen-itable.c: Ditto. | |
296 | * gen-itable.h, gen-model.c, gen-model.h, gen-semantics.c: Ditto. | |
297 | * gen-semantics.h, gen-support.c, gen-support.h, gen.c: Ditto. | |
298 | * gen.h, igen.c, igen.h, ld-cache.c, ld-cache.h: Ditto. | |
299 | * ld-decode.c, ld-decode.h, ld-insn.c, ld-insn.h, lf.c: Ditto. | |
300 | * lf.h, misc.c, misc.h, table.c, table.h: Ditto. | |
301 | ||
ac835424 CD |
302 | 2002-11-06 Richard Sandiford <rsandifo@redhat.com> |
303 | ||
304 | * gen-engine.c (print_engine_issue_prefix_hook): Don't add the | |
305 | global prefix to ENGINE_ISSUE_PREFIX_HOOK. | |
306 | (print_engine_issue_postfix_hook): Likewise ENGINE_ISSUE_POSTFIX_HOOK. | |
307 | ||
051b807a DB |
308 | 2002-08-28 Dave Brolley <brolley@redhat.com> |
309 | ||
310 | * gen-support.c (gen_support_h): Generate | |
311 | '#define semantic_illegal <PREFIX>_semantic_illegal'. | |
312 | ||
dff11de0 CD |
313 | 2002-08-22 Chris Demetriou <cgd@broadcom.com> |
314 | ||
315 | * compare_igen_models: New script. | |
316 | ||
78e731cd AC |
317 | 2002-06-17 Andrew Cagney <cagney@redhat.com> |
318 | ||
319 | * gen.c (gen_entry_expand_opcode): Initialize ``value'' to -1 and | |
320 | ``t'' to NULL. | |
321 | * igen.c (main): Add default case to switch. | |
322 | * gen-icache.c (print_icache_extraction): Ditto. | |
323 | ||
b74317ff AC |
324 | 2002-06-17 Andrew Cagney <cagney@redhat.com> |
325 | ||
326 | * Makefile.in (BUILD_CFLAGS): Remove -O0. | |
327 | ||
c8cca39f AC |
328 | 2002-06-16 Andrew Cagney <ac131313@redhat.com> |
329 | ||
330 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
331 | ||
4e62efb8 RH |
332 | 2002-06-03 Richard Henderson <rth@redhat.com> |
333 | ||
334 | * gen-engine.c (print_run_body): Avoid multi-line strings. | |
335 | * lf.c (lf_print__gnu_copyleft): Likewise. | |
336 | ||
5accf1ff CD |
337 | 2002-05-01 Chris Demetriou <cgd@broadcom.com> |
338 | ||
339 | * igen.c: Use 'deprecated' rather than 'depreciated.' | |
340 | ||
e7b564aa AC |
341 | 2002-03-23 Andrew Cagney <ac131313@redhat.com> |
342 | ||
343 | * gen.c (format_name_cmp): New function. | |
344 | (insn_list_insert): Use the instruction field name as an | |
345 | additional key. Different field names indicate different | |
346 | semantics. | |
347 | ||
6225b4b7 CD |
348 | 2002-03-07 Chris Demetriou <cgd@broadcom.com> |
349 | ||
350 | * igen.c (print_itrace_format): Add support for a new "%#lx" format. | |
351 | ||
eb2d80b4 AC |
352 | Tue May 23 21:39:23 2000 Andrew Cagney <cagney@b1.cygnus.com> |
353 | ||
354 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
355 | ||
86e0da7a NC |
356 | 2000-04-12 Frank Ch. Eigler <fche@redhat.com> |
357 | ||
358 | * gen-semantics.c (print_semantic_body): Use GPR_CLEAR(N) instead | |
359 | of GPR_SET(N,0) for gen-zero-rN. | |
360 | ||
d4f3574e SS |
361 | Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com> |
362 | ||
363 | * Makefile.in (SIM_WARNINGS): Replace this with. | |
364 | (IGEN_WERROR_CFLAGS, IGEN_WARN_CFLAGS, WERROR_CFLAGS, | |
365 | WARN_CFLAGS): With these. | |
366 | (BUILD_CFLAGS): Update. | |
367 | ||
368 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
369 | ||
cd0fc7c3 SS |
370 | 1999-05-08 Felix Lee <flee@cygnus.com> |
371 | ||
372 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
72f4393d | 373 | |
c906108c SS |
374 | Fri Dec 4 15:14:09 1998 Andrew Cagney <cagney@b1.cygnus.com> |
375 | ||
376 | * igen.c (main): Fix -Pitable=. | |
377 | ||
378 | * gen-engine.c (print_run_body): Prefix instruction_address. | |
379 | ||
380 | Wed Oct 28 18:12:43 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
381 | ||
382 | * Makefile.in (SIM_WARNINGS): Update to match ../common/aclocal.m4 | |
383 | changes. | |
384 | ||
385 | Wed Aug 12 10:55:28 1998 Frank Ch. Eigler <fche@cygnus.com> | |
386 | ||
387 | * gen-icache.c (print_icache_extraction): #undef a generated | |
388 | symbol before #define'ing it, to remove conflict with system | |
389 | macros. | |
390 | ||
391 | Wed Jul 29 10:07:27 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
392 | ||
393 | * gen.c (gen_entry_expand_opcode): For conditional, fields. Fix | |
394 | the extraction of the value from its source - both table and bit | |
395 | cases were wrong. | |
396 | ||
397 | Tue Jul 28 11:19:43 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
398 | ||
399 | * ld-insn.c (parse_insn_word): For constant conditional strings, | |
400 | encode their bit value. | |
401 | ||
402 | * ld-insn.c (parse_insn_word, parse_insn_words): Allow conditional | |
403 | operands to refer to fields in earlier instruction words. | |
404 | ||
405 | * gen.c (sub_val): Replace field argument with val_last_pos. | |
406 | (gen_entry_expand_opcode): Look in previous tables for a value for | |
407 | a conditional field as well as the bits from the current table. | |
408 | (insn_list_insert): Add sort key of instructions where | |
409 | their operand fields have different conditionals. | |
410 | (insn_field_cmp): New function. | |
72f4393d | 411 | |
c906108c SS |
412 | Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche> |
413 | ||
414 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
415 | * config.in: Ditto. | |
416 | ||
417 | Sun Apr 26 15:20:08 1998 Tom Tromey <tromey@cygnus.com> | |
418 | ||
419 | * acconfig.h: New file. | |
420 | * configure.in: Reverted change of Apr 24; use sinclude again. | |
421 | ||
422 | Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche> | |
423 | ||
424 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
425 | * config.in: Ditto. | |
426 | ||
427 | Fri Apr 24 11:19:33 1998 Tom Tromey <tromey@cygnus.com> | |
428 | ||
429 | * configure.in: Don't call sinclude. | |
430 | ||
431 | Fri Apr 24 19:45:00 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
432 | ||
433 | * gen-icache.c (print_icache_extraction): Do not type cast | |
434 | pointers. | |
72f4393d | 435 | |
c906108c SS |
436 | * ld-insn.c (load_insn_table): Terminate error with NL. |
437 | ||
438 | * gen.c (insns_bit_useless): Perform unsigned bit comparisons. | |
439 | ||
440 | * filter.c (is_filtered_out, filter_parse): Pacify GCC, len is | |
441 | unsigned. | |
442 | ||
443 | Wed Apr 22 14:27:39 1998 Michael Meissner <meissner@cygnus.com> | |
444 | ||
445 | * configure: Reconfigure to pick up ../common/aclocal.m4 changes | |
446 | to suppress inlining by default. | |
447 | ||
448 | Tue Apr 21 01:37:54 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
449 | ||
450 | * gen-icache.c (print_icache_extraction): When generating #define | |
451 | force the expression to the correct type. | |
452 | ||
453 | Thu Apr 16 08:50:29 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
454 | ||
455 | * misc.c (name2i): strlen returns an unsigned. | |
456 | ||
457 | Tue Apr 14 19:04:28 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
458 | ||
459 | * igen.h (struct igen_warn_options): Add unimplemented option. | |
460 | * igen.c (main): Update | |
461 | ||
462 | * ld-insn.c (load_insn_table): Report unimplemented functions. | |
463 | ||
464 | Tue Apr 14 10:57:26 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
465 | ||
466 | * ld-insn.c (parse_insn_word): Treat `!' and `=' as valid | |
467 | separator tokens when parsing a conditional. | |
468 | ||
469 | * igen.h (main): Add option -S so that suffix can be specified. | |
470 | ||
471 | Tue Apr 14 08:44:53 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
472 | ||
473 | * igen.h (struct igen_trace_options): Add members insn_expansion | |
474 | and insn_insertion. | |
475 | ||
476 | * igen.c (main): Add options -Gtrace-insn-expansion, | |
477 | -Gtrace-insn-insertion and -Gtrace-all. | |
478 | ||
479 | * gen.c (gen_entry_expand_insns): Trace each instruction as it is | |
480 | selected for expansion. | |
481 | (gen_entry_expand_opcode): Trace each expanded instruction as it | |
482 | is inserted into the table. | |
72f4393d | 483 | |
c906108c SS |
484 | Mon Apr 13 19:21:47 1998 Andrew Cagney <cagney@b1.cygnus.com> |
485 | ||
486 | * ld-insn.c (parse_insn_word): Parse conditional operators. | |
487 | (parse_insn_word): Verify field conditionals. | |
488 | ||
489 | * ld-insn.h: Extend syntax to allow macros and field equality. | |
490 | (struct insn_field_cond): Rename insn_field_exclusion, add type. | |
491 | ||
492 | * gen.c (gen_entry_expand_opcode): Check type of conditional. | |
493 | (insns_bit_useless): Ditto. | |
494 | ||
495 | * ld-insn.c (parse_macro_record): New function. | |
496 | ||
497 | Mon Apr 13 22:37:47 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
498 | ||
499 | * ld-insn.h (enum insn_field_type): Add insn_field_invalid. | |
500 | ||
501 | * ld-insn.c (parse_insn_word): Check instruction field type | |
502 | correctly initialized. | |
503 | (print_insn_words): Ditto. | |
504 | (insn_field_type_to_str): Ditto. | |
505 | (dump_insn_field): Ditto. | |
506 | ||
507 | * gen.c (insns_bit_useless): Ditto. | |
508 | ||
509 | Fri Apr 3 18:08:16 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
510 | ||
511 | * gen.h, igen.c (print_include_inline, print_includes, | |
512 | print_includes): New functions. Generate include list. For for | |
513 | semantics et.al. generate CPP code to inline when | |
514 | C_REVEALS_MODULE_P. | |
72f4393d | 515 | |
c906108c SS |
516 | * igen.c (gen_semantics_c): Call print_includes. |
517 | * gen-engine.c (gen_engine_c): Ditto. | |
518 | ||
519 | Sat Apr 4 21:09:11 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
520 | ||
521 | * igen.h: (struct _igen_name_option): Replace with struct | |
522 | igen_module_option. Contains both module prefix and suffix. | |
523 | (INIT_OPTIONS): Initialize. | |
72f4393d | 524 | |
c906108c SS |
525 | * igen.c (main): Update -P option to fill in full module info. |
526 | (gen-engine.c, gen-icache.c, gen-itable.c, gen-semantics.c, | |
527 | gen-support.c): Update. | |
528 | ||
529 | Sat Apr 4 02:15:35 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
530 | ||
531 | * igen.c (print_itrace): Use TRACE_ANY_P macro to determine if any | |
532 | tracing is needed. | |
533 | ||
534 | Thu Mar 26 20:51:23 1998 Stu Grossman <grossman@bhuna.cygnus.co.uk> | |
535 | ||
536 | * table.c (table_push): Redo, using stdio. Fixes NT native | |
537 | problem with <CRLF>=><LF> translation... | |
538 | ||
539 | Tue Mar 24 23:30:07 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
540 | ||
541 | * gen-engine.c (print_run_body): Re-extract the CIA after | |
542 | processing any events. | |
543 | ||
544 | Tue Mar 24 17:46:08 1998 Stu Grossman <grossman@bhuna.cygnus.co.uk> | |
545 | ||
546 | * Makefile.in: Get SHELL from configure. | |
547 | * configure: Regenerate with autoconf 2.12.1 to fix shell issues for | |
548 | NT native builds. | |
549 | ||
550 | Mon Mar 16 12:51:31 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
551 | ||
552 | * igen.c: Pass sim_cia to trace_prefix. | |
553 | ||
554 | Thu Feb 26 19:25:02 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
555 | ||
556 | * ld-insn.c (parse_function_record): Check models are valid. | |
557 | (parse_function_record): Only discard function when no model is | |
558 | common. | |
559 | ||
560 | Tue Feb 24 01:42:03 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
561 | ||
562 | * gen-engine.c (print_run_body): Always wrap generated idecode | |
563 | body in ENGINE_ISSUE_PREFIX_HOOK / ENGINE_ISSUE_POSTFIX_HOOK. | |
564 | ||
565 | Fri Feb 20 16:22:10 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
566 | ||
567 | * ld-insn.c (parse_function_record): When -Wnodiscard, suppress | |
568 | discarded function warning. | |
569 | ||
570 | * igen.c (main): Clarify -Wnodiscard. | |
571 | ||
572 | * ld-insn.c (parse_function_record): For functions, allow use of | |
573 | instruction style function model records | |
574 | ||
575 | * ld-insn.h (nr_function_model_fields): Define. | |
72f4393d | 576 | |
c906108c SS |
577 | Tue Feb 17 16:36:27 1998 Andrew Cagney <cagney@b1.cygnus.com> |
578 | ||
579 | * igen.c (print_itrace_prefix): Generate call to trace_prefix | |
580 | instead of trace_one_insn. | |
581 | (print_itrace): Generate trace_prefix call if any tracing enabled, | |
582 | (print_itrace): Nest generated call to trace_generic inside | |
583 | conditional for any tracing enabled. | |
584 | (print_itrace_prefix): Do not pass PHASE to trace_prefix. | |
585 | ||
586 | Tue Feb 3 14:00:32 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
587 | ||
588 | * gen-engine.c (print_run_body): Add bitsize suffix to IMEM macro. | |
589 | * gen-icache.c (print_icache_body): Ditto. | |
590 | * gen-idecode.c (print_idecode_ifetch): Ditto. | |
591 | ||
592 | * gen-icache.c (print_icache_body): Mark successive instruction | |
593 | words as unused. | |
594 | ||
595 | * ld-insn.c (parse_insn_word): Only report insn-width problems | |
596 | when warning enabled. | |
597 | ||
598 | * igen.h: Add flag for warning about invalid instruction widths. | |
599 | * igen.c: Parse -Wwidth option. | |
72f4393d | 600 | |
c906108c SS |
601 | * gen-support.c (gen_support_h): Map instruction_word onto |
602 | <PREFIX>_instruction_word when needed. | |
603 | (print_support_function_name): Use support prefix. | |
604 | (gen_support_h): Ditto for <PREFIX>_idecode_issue. | |
72f4393d | 605 | |
c906108c SS |
606 | Sun Feb 1 11:08:48 1998 Andrew Cagney <cagney@b1.cygnus.com> |
607 | ||
608 | * gen-support.c (gen_support_h): Generate new macro CPU_. | |
609 | ||
610 | Sat Jan 31 14:50:27 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
611 | ||
612 | * gen-engine.c (gen_engine_h): Don't assume a model is present. | |
613 | (gen_engine_c): Ditto. | |
614 | ||
615 | * igen.c (gen_run_c): Ditto. | |
616 | ||
617 | * gen-engine.c (print_run_body): Use CIA_GET & CIA_SET instead of | |
618 | CPU_CIA. Parameterize with CPU argument. | |
72f4393d | 619 | |
c906108c SS |
620 | Fri Jan 30 09:09:39 1998 Andrew Cagney <cagney@b1.cygnus.com> |
621 | ||
622 | * gen.h (struct _gen_list): Replace processor with model. | |
623 | ||
624 | * igen.c (gen_idecode_h): Update. | |
625 | (gen_run_c): For generated switch, use model->full_name. | |
626 | ||
627 | * gen.c (print_gen_entry_path): Ditto. | |
628 | (make_table): Ditto. | |
629 | (gen_entry_expand_insns): Ditto. | |
630 | (make_gen_tables): Ditto. | |
631 | ||
632 | * igen.c (gen_run_c): Add extra argument `nr_cpus' to generated | |
633 | function sim_engine_run. Pass argument on to engine_run. | |
634 | ||
635 | * gen-engine.c (print_engine_run_function_header): Add extra | |
636 | argument `nr_cpus' to generated function engine_run. | |
637 | (print_run_body): Fix SMP case. | |
638 | ||
639 | * gen-support.c (support_c_function): Call sim_engine_abort when | |
640 | internal function fails to long jump. | |
641 | ||
642 | Wed Jan 21 18:00:22 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
643 | ||
644 | * gen-semantics.c (print_semantic_body): Use GPR_SET to zero | |
645 | hardwired register. | |
646 | ||
647 | Wed Dec 17 14:49:03 1997 Jeffrey A Law (law@cygnus.com) | |
648 | ||
649 | * gen-semantics.c (print_semantic_body): Fix handling of | |
650 | hardwired zero register. | |
651 | ||
652 | Tue Dec 9 12:45:00 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
653 | ||
654 | * igen.h (struct _igen_gen_options): Add member default_model. | |
655 | ||
656 | * igen.c (gen_run_c): Default to the first machine in the | |
657 | multi-sim list. | |
658 | (main): Add MODEL parameter to gen-multi-sim option. | |
659 | ||
660 | * gen.h (function_decl_type): Declare enum. | |
661 | ||
662 | * gen-engine.c (print_engine_run_function_header), gen-engine.h: | |
663 | Make global, pass function_decl_type as argument. | |
664 | (gen_engine_h, gen_engine_c): Update call. | |
665 | ||
666 | * gen-idecode.c (print_idecode_issue_function_header), | |
667 | gen-idecode.h: Pass function_decl_type as argument. | |
668 | ||
669 | * igen.c (gen_idecode_h): For multi-sim, delcare global variable | |
670 | idecode_issue. | |
671 | ||
672 | * igen.c (gen_run_c): For multi-sim, initialize globals | |
673 | idecode_issue and engine_run. | |
674 | ||
675 | Fri Nov 14 10:51:44 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
676 | ||
677 | * ld-insn.c (parse_insn_model_record): Allow multiple model names | |
678 | to be specified in a single instruction model record. | |
679 | (dump_insn_model_entry): Update. | |
680 | ||
681 | * ld-insn.h (struct _insn_model_entry): Replace member name with | |
682 | the filter names. Document syntax change. | |
683 | ||
684 | Wed Nov 12 15:45:40 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
685 | ||
686 | * gen-engine.c (print_run_body): Add hooks for adding code before | |
687 | and after an instruction has been issued. | |
688 | ||
689 | 1997-11-04 Brendan Kehoe <brendan@lisa.cygnus.com> | |
690 | ||
691 | * gen-idecode.c (print_jump_until_stop_body): Use `#if 0' instead of | |
692 | `#ifdef 0' around this. | |
693 | ||
694 | Tue Nov 4 08:18:29 1997 Michael Meissner <meissner@cygnus.com> | |
695 | ||
696 | * ld-decode.c (load_decode_table): Don't assume NULL is an integer | |
697 | constant. | |
698 | ||
699 | Wed Oct 29 13:17:17 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
700 | ||
701 | * ld-insn.h: Document mnemonic string format. | |
702 | ||
703 | Tue Oct 28 10:50:35 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
704 | ||
705 | * gen-icache.c (print_icache_extraction): Force result of atol to | |
706 | unsigned. | |
707 | ||
708 | * ld-insn.c (parse_function_record): Separate handling of old and | |
709 | ney fynction records. | |
710 | (load_insn_table): For %s record, hack function name & type after | |
711 | it has been parsed. | |
712 | ||
713 | * filter.h (filter_is_subset): Reverse argument names, wrong | |
714 | order. | |
715 | ||
716 | * ld-insn.c (load_insn_table): Move include code to. | |
717 | (parse_include_record): New function. Check for filtering of | |
718 | include statement by both flags and models. | |
719 | (load_insn_table): Check for model filtering of cache and model | |
720 | records. | |
721 | (parse_model_data_record): Check for model & flag filtering of | |
722 | model data records. | |
723 | (parse_function_record): Check for model & flag filtering of | |
724 | function records. | |
725 | ||
726 | * ld-insn.h: Define record_filter_models_field. Add filter-models | |
727 | field to all but instruction records. | |
728 | (struct _function_entry, struct _cache_entry): Add models field. | |
729 | (nr_function_fields): Make parm field mandatory. | |
730 | ||
731 | Mon Oct 27 15:14:26 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
732 | ||
733 | * igen.c (main): Change -I option to -I<directory>. Add optional | |
734 | size to -Ggen-icache option. Add -Gno-... support. | |
72f4393d | 735 | |
c906108c | 736 | * igen.h (struct _igen_options): Add include field. |
72f4393d | 737 | |
c906108c SS |
738 | * ld-insn.c (enum insn_record_type, insn_type_map): Add |
739 | include_record. | |
740 | (load_insn_table): Call table_push when include record. | |
72f4393d | 741 | |
c906108c SS |
742 | * table.c (struct _open table, struct table): Make table object an |
743 | indirect ptr to the current table file. | |
744 | (current_line, new_table_entry, next_line): Make file arg type | |
745 | open_table. | |
746 | (table_open): Use table_push. | |
747 | (table_read): Point variable file at current table, at eof, pop | |
748 | last open table. | |
749 | ||
750 | * table.h, table.c (table_push): New function. | |
751 | ||
752 | Thu Oct 16 11:03:27 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
753 | ||
754 | * gen-semantics.c (print_semantic_body): Use CIA not | |
755 | cia.ip. Escape newlines at end of generated call to | |
756 | sim_engine_abort. | |
757 | ||
758 | Tue Oct 14 11:13:27 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
759 | ||
760 | * igen.c (print_itrace): Output line-ref to igen source file when | |
761 | generating trace statements. | |
762 | (print_itrace_prefix, print_itrace_format): Escape newline at end | |
763 | of each line of generated call to trace function. | |
764 | ||
765 | Mon Oct 13 11:27:31 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
766 | ||
767 | * gen-support.c (gen_support_h): Generate #define NIA. Definition | |
768 | dependant on gen-delayed-branch mode. | |
769 | ||
770 | * ld-insn.c (parse_insn_mnemonic_record): Check for opening and | |
771 | closing double quote in mnemonic field. | |
772 | (parse_option_record): Add gen-delayed-branch option. | |
773 | ||
774 | Wed Oct 8 13:10:16 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
775 | ||
776 | * gen.c (insn_list_insert): Missing \n in warning. | |
777 | ||
778 | * ld-insn.c (load_insn_table): Only notify of discarded | |
779 | instrctions when warn.discard enabled. | |
780 | ||
781 | * igen.h: Add option.warn.discard, default enabled. | |
782 | ||
783 | * igen.c (main): Add -Wnodiscard option. | |
784 | ||
785 | * ld-insn.c (record_type): For old record type, check the number | |
786 | of fields is correct. | |
787 | (load_insn_table): Allow insn assembler and insn model records to | |
788 | appear in any order. | |
789 | (parse_insn_model_record): Rename from parse_insn_model_records. | |
790 | Parse only one record. | |
791 | (parse_insn_mnemonic_record): Rename from | |
792 | parse_insn_mnemonic_records. Parse only one record. | |
793 | ||
794 | Tue Sep 23 15:52:06 1997 Felix Lee <flee@yin.cygnus.com> | |
795 | ||
796 | * gen-itable.c (gen_itable_h): [nr_itable_* + 1] to avoid | |
797 | illegal zero-sized array. | |
798 | (itable_print_set): likewise, avoid empty initializers. | |
799 | ||
800 | Mon Sep 22 18:49:07 1997 Felix Lee <flee@cygnus.com> | |
801 | ||
802 | * configure.in: i386-windows is a cross, so don't expect | |
803 | libiberty to be there. | |
804 | * configure: updated. | |
72f4393d | 805 | |
c906108c SS |
806 | Fri Sep 19 10:36:30 1997 Andrew Cagney <cagney@b1.cygnus.com> |
807 | ||
808 | * igen.c (print_function_name): Put the format name after the | |
809 | function / instruction name, not before. | |
810 | (print_itrace): Better format trace code. | |
811 | ||
812 | Tue Sep 16 11:01:07 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
813 | ||
814 | * gen.c (insns_bit_useless): Don't treat string fields restricted | |
815 | to a range of values as useless. | |
816 | ||
817 | Mon Sep 15 15:47:21 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
818 | ||
819 | * igen.c (gen_run_c): Handle non-multi-sim case. | |
820 | ||
821 | * gen-support.c (gen_support_h): Define SD_ - to replace _SD. | |
822 | Define CIA from cia. | |
823 | ||
824 | Thu Sep 11 10:27:39 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
825 | ||
826 | * gen-semantics.c (print_semantic_body): Trace the instruction | |
827 | after it has been validated. | |
828 | (print_semantic_body): Count the instruction using sim-profile. | |
72f4393d | 829 | |
c906108c SS |
830 | Wed Sep 10 13:35:37 1997 Andrew Cagney <cagney@b1.cygnus.com> |
831 | ||
832 | * gen-itable.c (gen_itable_h): Collect summary info on instruction | |
833 | table when traversing it. | |
834 | (gen_itable_h): Output an enum defining the max size of each of | |
835 | the itable string members. | |
836 | ||
837 | Tue Sep 9 03:30:26 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
838 | ||
839 | * igen.c (gen_run_c): New function. Generate sim_engine_run that | |
840 | looks at the currently selected architecture. | |
841 | ||
842 | * gen-engine.c, gen-idecode.c: Add multi-sim support - generate | |
843 | one engine per model. | |
72f4393d | 844 | |
c906108c SS |
845 | * gen-semantics.c, gen-icache.c gen-support.c: |
846 | Update. | |
847 | ||
848 | * ld-insn.h, ld-insn-h (load_insn_table): Rewrite. table.h only | |
849 | returns a line at a time. Parse multi-word instructions. Add | |
850 | multi-sim support. | |
851 | ||
852 | * table.h, table.c: Simplify. Only parse a single line at a time. | |
853 | ld-insn can handle the rest. | |
854 | ||
855 | * filter.h, filter.c (filter_parse, filter_add, filter_is_subset, | |
856 | filter_is_common, filter_is_member, filter_next): New filter | |
857 | operations. | |
858 | (dump_filter): Ditto. | |
72f4393d | 859 | |
c906108c SS |
860 | * gen.h, gen.c: New file. Takes the insn table and turns it into |
861 | a set of decode tables and semantic functions. | |
72f4393d | 862 | |
c906108c SS |
863 | * ld-insn.c: Copy generator code from here. |
864 | * gen.c: To here. | |
865 | ||
866 | Fri Aug 8 11:43:45 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
867 | ||
868 | * misc.h (NZALLOC): Allocate an N element array of TYPE. | |
869 | ||
870 | * table.h, table.c: Simplify table parser so that it only | |
871 | understands colon delimited lines and code blocks. | |
872 | (table_read): Parse '{' ... '}' as a code block. | |
873 | (table_print_code): New function, print out a code block to file. | |
874 | (main): Add suport for standalone testing. | |
72f4393d | 875 | |
c906108c | 876 | * ld-insn.h, ld-insn.c: |
72f4393d L |
877 | |
878 | ||
c906108c SS |
879 | Mon Sep 1 11:41:12 1997 Andrew Cagney <cagney@b1.cygnus.com> |
880 | ||
881 | * gen-idecode.c (error_leaf_contains_multiple_insn): Make static. | |
882 | (print_jump_definition, print_jump, print_jump_internal_function, | |
883 | print_jump_insn, print_jump_until_stop_body): Delete, moved to | |
884 | sim-engine.c | |
885 | ||
886 | * igen.c (print_itrace_format): Delete unused variable chp. | |
887 | (gen-engine.h): Include. | |
888 | ||
889 | * table.c (current_file_name, current_line_entry, | |
890 | current_line_entry): Make static. | |
891 | ||
892 | Wed Aug 6 12:31:17 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
893 | ||
894 | * configure.in: Define AR_FOR_BUILD, AR_FLAGS_FOR_BUILD, | |
895 | RANLIB_FOR_BUILD and CFLAGS_FOR_BUILD. | |
896 | * configure.in: Include simulator common/aclocal.m4. | |
897 | * configure.in: Add --enable-sim-warnings option. | |
898 | * configure: Re-generate. | |
72f4393d | 899 | |
c906108c SS |
900 | * Makefile.in: Use. |
901 | ||
902 | * Makefile.in (tmp-filter): New rule. | |
903 | (igen.o, tmp-table, tmp-ld-decode, tmp-ld-cache, tmp-ld-insn, | |
904 | ld-decode.o, ld-cache.o, ld-insn.o): Fix dependencies. | |
72f4393d | 905 | |
c906108c | 906 | * gen.h, gen.c: New files. |
72f4393d | 907 | |
c906108c SS |
908 | * Makefile.in (gen.o, tmp-gen): New rules, update all |
909 | dependencies. | |
72f4393d | 910 | |
c906108c SS |
911 | Tue Jun 24 11:46:45 1997 Andrew Cagney <cagney@b1.cygnus.com> |
912 | ||
913 | * ld-insn.c (load_insn_table): Accept %s as a function type. | |
914 | ||
915 | Thu Jun 5 17:14:32 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
916 | ||
917 | * igen.c (print_itrace_prefix): Move printing of insn prefix to | |
918 | here. | |
919 | (print_itrace_format): Drop printing of MY_NAME in instruction | |
920 | trace. Printing of insn prefix moved. | |
921 | (print_itrace): Ditto. | |
922 | ||
923 | Fri May 30 11:27:37 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
924 | ||
925 | * gen-icache.c (print_icache_function_header): Pass | |
926 | table_line_entry instead of separate file and line. | |
927 | ||
928 | * table.c (table_entry_read): Set assembler source file/line-nr to | |
929 | the current not initial file. | |
930 | (table_entry_read): Fix line numbering of source files. | |
931 | ||
932 | table.h (table_line_entry): New structure. Exactly specifies a | |
933 | source file/line-nr. | |
934 | (table_*_entry): Add this to all. | |
72f4393d | 935 | |
c906108c SS |
936 | table.c (table_entry_print_cpp_line_nr): Change to use values from |
937 | a table_line_entry struct. | |
938 | (table_entry_read): Save table_line_entry in all structures read. | |
939 | ||
940 | gen-icache.c, gen-support.c, gen-idecode.c, gen-semantics.c, | |
941 | gen-model.c: Update all references. | |
72f4393d | 942 | |
c906108c SS |
943 | Thu May 29 10:29:57 1997 Andrew Cagney <cagney@b1.cygnus.com> |
944 | ||
945 | * igen.c (print_my_defines): Define MY_NAME - a string. For | |
946 | MY_PREFIX, undefine the name of the function incase some dumb | |
947 | header defined it. it. | |
948 | (print_itrace): Use MY_NAME not MY_PREFIX. | |
949 | ||
950 | * lf.c (lf_write): New function write an N character buffer to the | |
951 | file. | |
952 | ||
953 | * igen.c (print_itrace): When available, use the assembler to | |
954 | print the insn-trace. | |
955 | (print_itrace_prefix): New function, print first part of call to | |
956 | print_one_insn. | |
957 | (print_itrace_format): New function, print fmt argument for | |
958 | print_one_insn. | |
72f4393d | 959 | |
c906108c SS |
960 | * table.c (table_entry_read): Save any assembler lines instead of |
961 | discarding them. | |
962 | ||
963 | Wed May 28 09:55:29 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
964 | ||
965 | * gen-icache.c (print_icache_body): Process immeds. | |
966 | ||
967 | * gen-semantics.c (print_semantic_body): When computing NIA, skip | |
968 | any immed words that follow the instruction word. | |
969 | ||
970 | * ld-insn.c (parse_insn_format): Parse immeds appended to an | |
971 | instruction. | |
972 | ||
973 | * igen.c (main): Allow any register to be specified as the zero | |
974 | register. | |
975 | (semantic_zero_reg): Global, index to zero register. | |
976 | ||
977 | * gen-semantics.c (print_semantic_body): Zero selected register. | |
978 | ||
979 | Tue May 27 14:12:32 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
980 | ||
981 | * igen.h: Stop options and code gen type bit masks overlaping. | |
982 | ||
983 | Fri May 23 12:01:08 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
984 | ||
985 | * gen-semantics.c (print_semantic_body): Incorrect test for | |
986 | zero-r0 code. | |
987 | ||
988 | Fri May 16 14:32:31 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
989 | ||
990 | * gen-semantics.c (print_semantic_body): Use common sim-engine | |
991 | interface. | |
992 | ||
993 | Fri May 16 11:48:30 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
994 | ||
995 | * gen-semantics.c (print_semantic_body): Add code to clear r0. | |
996 | ||
997 | * igen.c (main): Add new option zero-r0, which adds code to clear | |
998 | GPR(0) each cycle. | |
999 | ||
1000 | Wed May 7 12:31:30 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1001 | ||
1002 | * igen.c (print_itrace): Fix so line-nr is passed to trace | |
1003 | function. | |
1004 | ||
1005 | * gen-idecode.c (print_idecode_validate): Correct FP code. | |
1006 | ||
1007 | * gen-support.c (gen_support_h): Always pass MY_INDEX to support | |
1008 | functions. | |
1009 | (print_support_function_name): Ditto. | |
1010 | ||
1011 | Tue May 6 06:12:04 1997 Mike Meissner <meissner@cygnus.com> | |
1012 | ||
1013 | * igen.c (print_itrace): Call trace_one_insn to trace | |
1014 | instructions, rather than doing it directly. | |
1015 | ||
1016 | Mon May 5 14:11:46 1997 Mike Meissner <meissner@cygnus.com> | |
1017 | ||
1018 | * gen-engine.c (engine_switch_leaf): Remove extra %s. | |
1019 | (print_engine_floating_point_unavailable): Wrap in #ifdef | |
1020 | UNUSED/#endif, until somebody uses it. | |
1021 | ||
1022 | * gen-idecode.c (error_leaf_contains_multiple_insn): Remove unused | |
1023 | variable. | |
1024 | (print_jump_until_stop_body): Wrap in #ifdef UNUSED/#endif, until | |
1025 | somebody uses it. | |
1026 | (print_idecode_validate): Use long formats to print long values. | |
1027 | ||
1028 | * gen-semantics.c (print_idecode_invalid): Set name to "unknown" | |
1029 | if we get an unexpected type. | |
1030 | ||
1031 | Fri May 2 13:28:06 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1032 | ||
1033 | * igen.c (print_itrace): Pass SD as well as CPU to calls to | |
1034 | trace_printf. | |
1035 | ||
1036 | * gen-support.c (gen_support_h): Always pass sim_cia cia to | |
1037 | support functions. | |
1038 | (print_support_function_name): Ditto. | |
1039 | ||
1040 | Wed Apr 30 17:35:51 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1041 | ||
1042 | * gen-support.c (support_c_function): Remove unnecessary memset of | |
1043 | cia. | |
1044 | * gen-semantics.c (print_semantic_body): Wasn't closing | |
1045 | generated comment. | |
1046 | ||
1047 | Tue Apr 29 11:11:12 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1048 | ||
1049 | * ld-insn.c (load_insn_table): Report instructions that do not | |
1050 | have at least a format and name. | |
1051 | (insn_table_find_opcode_field): Check progress is being made. | |
1052 | ||
1053 | * gen-support.c (support_c_function): Report empty function body. | |
1054 | ||
1055 | Thu Apr 24 11:43:45 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1056 | ||
1057 | * ld-insn.c (insn_table_expand_opcode): Allow reserved fields to | |
1058 | be broken up. | |
1059 | (insn_table_expand_insns): Allow special rules to apply to groups | |
1060 | of instructions when all members of the group match the special | |
1061 | mask/value. | |
1062 | ||
1063 | * gen-semantics.c (print_c_semantic): Ditto. | |
1064 | * igen.c (print_semantic_function_formal): Ditto. | |
1065 | (print_semantic_function_type): Ditto. | |
1066 | * igen.c (print_icache_function_formal): Ditto. | |
1067 | * gen-idecode.c (print_idecode_issue_function_body): Ditto. | |
1068 | ||
1069 | * gen-idecode.c (gen_idecode_h): Prepend the global_prefix to the | |
1070 | instruction_address type. | |
1071 | ||
1072 | * gen-semantics.c (print_semantic_body): Call cpu_error when an | |
1073 | unimplemented instruction is encountered - gives the interpreter | |
1074 | the chance to stop correctly. | |
1075 | ||
1076 | Wed Apr 23 20:06:36 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1077 | ||
1078 | * igen.c (print_function_name): Allow dot's in instruction names. | |
1079 | ||
1080 | Tue Apr 22 21:46:28 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1081 | ||
1082 | * igen.c (main), igen.h: Support new option - delayed-branch - | |
1083 | generate code to drive a delayed branch processor. | |
1084 | ||
1085 | * gen-idecode.c (gen_idecode_h): Define instruction_address type. | |
1086 | ||
1087 | * igen.c (print_icache_function_formal): Replace address_word with | |
1088 | instruction_address. | |
1089 | (print_semantic_function_formal): Ditto. | |
1090 | (print_semantic_function_type): Ditto. | |
1091 | * gen-idecode.c (print_idecode_issue_function_body): Ditto. | |
1092 | ||
1093 | * gen-semantics.c (print_semantic_body): Ditto. | |
1094 | (print_c_semantic): Ditto. | |
1095 | ||
1096 | * gen-support.c (support_c_function): Return a zeroed CIA instead | |
1097 | of just zero - works with any cia type. | |
1098 | ||
1099 | * igen.c (print_itrace): For delayed branch case, print just the | |
1100 | current instruction. | |
72f4393d | 1101 | |
c906108c SS |
1102 | Thu Apr 17 07:02:33 1997 Doug Evans <dje@canuck.cygnus.com> |
1103 | ||
1104 | * igen.c (print_itrace): Use TRACE_FOO_P and trace_printf. | |
1105 | ||
1106 | Tue Apr 15 15:20:31 1997 Ian Lance Taylor <ian@cygnus.com> | |
1107 | ||
1108 | * Makefile.in (INSTALL): Set to @INSTALL@. | |
1109 | (INSTALL_XFORM, INSTALL_XFORM1): Remove. | |
1110 | ||
1111 | Mon Apr 14 16:29:34 1997 Ian Lance Taylor <ian@cygnus.com> | |
1112 | ||
1113 | * Makefile.in (INSTALL): Change install.sh to install-sh. | |
1114 | ||
1115 | Wed Apr 2 18:51:20 1997 Doug Evans <dje@canuck.cygnus.com> | |
1116 | ||
1117 | * gen-support.c (gen_support_c): sim-state.h renamed to sim-main.h. | |
1118 | * gen-idecode.c (gen_idecode_c): Likewise. | |
1119 | * igen.c (gen_semantics_c): Likewise. | |
1120 | ||
1121 | Mon Mar 24 10:10:08 1997 Andrew Cagney <cagney@kremvax.cygnus.com> | |
1122 | ||
1123 | * gen-icache.c (print_icache_body): No longer define cpu/sd, | |
1124 | support.h now defines CPU/SD globally. | |
1125 | ||
1126 | * gen-model.c (gen_model_h): Ditto. | |
1127 | ||
1128 | * gen-idecode.c (print_idecode_issue_function_body): Ditto. | |
1129 | (print_jump): Ditto. | |
1130 | (print_jump_until_stop_body): Ditto. | |
1131 | (print_idecode_validate): Ditto. | |
1132 | ||
1133 | * gen-icache.c (print_icache_body): Ditto. | |
1134 | ||
1135 | * gen-semantics.c (print_semantic_body): Ditto. | |
1136 | ||
1137 | * igen.c (print_semantic_function_formal): Rename cpu to sim_cpu, | |
1138 | processor to cpu. | |
1139 | (print_icache_function_formal): Ditto. | |
1140 | ||
1141 | * gen-support.c (print_support_function_name): Include sd/cpu arg | |
1142 | in support function argument list. | |
1143 | (support_c_function): Generate code to cpu/sd from sd/cpu. | |
1144 | (gen_support_h): Define _SD the argument prefix for all support | |
1145 | functions. Define SD/CPU to determine sd/cpu from value of _SD | |
1146 | macro. | |
1147 | ||
1148 | Tue Mar 18 15:52:24 1997 Andrew Cagney <cagney@kremvax.cygnus.com> | |
1149 | ||
1150 | * gen-support.c (gen_support_c): Update for renaming of engine to | |
1151 | sim-state. | |
72f4393d | 1152 | |
c906108c SS |
1153 | * igen.c: Ditto. |
1154 | * gen-idecode.c (gen_idecode_c): Ditto. | |
1155 | ||
1156 | Mon Mar 17 15:17:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com> | |
1157 | ||
1158 | * ld-decode.c (load_decode_table): Rename slash to reserved. | |
1159 | (dump_decode_rule): Ditto. | |
1160 | ||
1161 | * ld-insn.c (parse_insn_format): Differentiate between a `/' - | |
1162 | reserved bit - and a `*' - wild card. | |
1163 | (parse_insn_format): Change is_slash to more informative reserved. | |
1164 | (dump_insn_field): Ditto. | |
1165 | (insn_field_is_constant): Ditto. | |
1166 | (insn_table_expand_opcode): Ditto. | |
1167 | ||
1168 | * gen-idecode.c (print_idecode_validate): Make check_mask and | |
1169 | check_val the correct integer size. | |
1170 | (print_idecode_validate): Fix reserved bit check for 64 bit | |
1171 | targets. | |
1172 | ||
1173 | Fri Mar 14 11:24:06 1997 Andrew Cagney <cagney@kremvax.cygnus.com> | |
1174 | ||
1175 | * ld-insn.c (parse_insn_format): Accept '*' as an alternative of | |
1176 | `/' in bit fields. `/' denotes a wild bit. | |
1177 | ||
1178 | Fri Mar 7 18:20:38 1997 Andrew Cagney <cagney@kremvax.cygnus.com> | |
1179 | ||
1180 | * igen.h, igen.c (main): New options. Control generation of | |
1181 | conditional issue and slot verification code. | |
1182 | ||
1183 | Fri Mar 7 18:17:25 1997 Andrew Cagney <cagney@kremvax.cygnus.com> | |
1184 | ||
1185 | * gen-support.c (print_support_function_name): Prepend the global | |
1186 | name prefix when applicable. Provide #define to map the user | |
1187 | specified name the generated globaly unique one. | |
1188 | ||
1189 | Fri Mar 7 18:07:45 1997 Andrew Cagney <cagney@kremvax.cygnus.com> | |
1190 | ||
1191 | * gen-idecode.c (print_idecode_validate): Wrap each of the checks | |
1192 | - reserved bits, floating point and slot validation - with a | |
1193 | #ifdef so that they are optional. | |
72f4393d | 1194 | |
c906108c SS |
1195 | Fri Mar 7 16:35:13 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
1196 | ||
1197 | * gen-idecode.c (error_leaf_contains_multiple_insn): New function | |
1198 | - report the error of a leaf node in the decision tree containing | |
1199 | several instructions. | |
1200 | (print_idecode_table_leaf): Detect a leaf with multiple instructions. | |
1201 | (print_idecode_switch_leaf): Ditto. | |
1202 | ||
1203 | * gen-semantics.h, gen-semantics.c (print_idecode_illegal, | |
1204 | print_idecode_invalid): Rename former to latter. Add argument so | |
1205 | that one function can generate all invalid instruction cases - | |
1206 | illegal, fp-unavailable, wrong-slot. | |
1207 | * gen-engine.c: Update. | |
1208 | ||
1209 | * gen-idecode.c: Use print_idecode_invalid to generate a function | |
1210 | call for cases when fp-unavailable and the slot is wrong. | |
1211 | ||
1212 | * gen-idecode.c (print_idecode_validate): New check, generate code | |
1213 | to verify that the instruction slot is correct. | |
72f4393d | 1214 | |
c906108c SS |
1215 | * igen.c (main): Simplify options. |
1216 | ||
1217 | Wed Mar 5 09:55:55 1997 Andrew Cagney <cagney@kremvax.cygnus.com> | |
1218 | ||
1219 | * igen.c (print_itrace): Remove source line reference for trace | |
1220 | code - let the user see the generated file. | |
1221 | (print_itrace): Print the trace code rather than reference a | |
1222 | macro. | |
1223 | ||
1224 | Tue Mar 4 17:31:55 1997 Andrew Cagney <cagney@kremvax.cygnus.com> | |
1225 | ||
1226 | * igen.c (print_semantic_function_actual): Pass either the | |
1227 | processor - smp - or the engine - mono - into semantic functions. | |
1228 | Don't pass in both. | |
1229 | ||
1230 | * gen-icache.c (print_icache_body): Dependant on smp, derive | |
1231 | processor from engine or engine from processor, and hence ensuring | |
1232 | that both are defined in all semantic functions. | |
1233 | ||
1234 | Mon Mar 3 17:11:21 1997 Andrew Cagney <cagney@kremvax.cygnus.com> | |
1235 | ||
1236 | * ld-insn.c (parse_insn_format): Make the width field optional. | |
1237 | If missing assume that the number of characters in the value | |
1238 | determines the number of bits in the field. | |
72f4393d | 1239 | |
c906108c SS |
1240 | Thu Feb 27 11:27:48 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
1241 | ||
1242 | * ld-insn.c (insn_table_expand_opcode): Replace assertion with | |
1243 | more useful error message. | |
1244 | ||
1245 | Tue Feb 25 16:43:27 1997 Andrew Cagney <cagney@kremvax.cygnus.com> | |
1246 | ||
1247 | * misc.c (error): Output errors on stderr. | |
1248 | ||
1249 | * ld-insn.c (parse_insn_format): Skip any leading spaces. | |
1250 | Verify the width of instructions being parsed. | |
1251 | ||
1252 | * table.c (table_entry_read): Parse CPP's convention for | |
1253 | specifying original file name/line-nr. | |
1254 | ||
1255 | Wed Feb 19 12:30:28 1997 Andrew Cagney <cagney@critters.cygnus.com> | |
1256 | ||
1257 | * ld-insn.c (parse_insn_format): Allow trailing spaces in | |
1258 | instruction fields. | |
1259 | ||
1260 | * Makefile.in: Create using ../ppc/Makefile.in as a starting | |
1261 | point. | |
1262 | * configure.in: Ditto vis ../ppc/configure.in | |
72f4393d | 1263 | |
c906108c SS |
1264 | Mon Feb 17 10:44:18 1997 Andrew Cagney <cagney@critters.cygnus.com> |
1265 | ||
1266 | * gen-support.c (gen_support_c): Always include engine.h instead | |
1267 | of cpu.h | |
1268 | * gen-idecode.c (gen_idecode_c): Ditto. | |
1269 | ||
1270 | * words.h (instruction_word): Remove instruction_word - now | |
1271 | generated by igen. | |
1272 | (address_word): New. Used by igen. | |
72f4393d | 1273 | |
c906108c SS |
1274 | * lf.c (lf_print_function_type_function): New, pass a function to |
1275 | print out the type instead of a constant string. | |
72f4393d | 1276 | |
c906108c SS |
1277 | * igen.h, igen.c (print_semantic_function_formal, |
1278 | SEMANTIC_FUNCTION_FORMAL): Relace macro with function. | |
1279 | (print_semantic_function_actual, SEMANTIC_FUNCTION_ACTUAL): Ditto. | |
1280 | (print_semantic_function_type, SEMANTIC_FUNCTION_TYPE): Ditto. | |
1281 | (print_icache_function_type, ICACHE_FUNCTION_TYPE): Ditto. | |
1282 | (print_icache_function_formal, ICACHE_FUNCTION_FORMAL): Ditto. | |
1283 | (print_icache_function_actual, ICACHE_FUNCTION_ACTUAL): Ditto. | |
1284 | * gen-idecode.c (print_idecode_table): Update. | |
1285 | (idecode_switch_leaf): Update. | |
1286 | (print_idecode_switch_function_header): Ditto. | |
1287 | (print_idecode_floating_point_unavailable): Ditto. | |
1288 | (print_idecode_issue_function_header): Ditto. | |
1289 | * igen.c (gen_icache_h): Ditto. | |
1290 | * gen-engine.c (print_engine_table): Ditto. | |
1291 | (engine_switch_leaf): Ditto. | |
1292 | * gen-support.c (print_support_function_name): Ditto. | |
1293 | * gen-semantics.c (print_semantic_function_header): Update. | |
1294 | Update. | |
1295 | * gen-icache.c (print_icache_function_header): Update. | |
1296 | (print_icache_function): Update. | |
1297 | (print_icache_internal_function_declaration): Update. | |
1298 | (print_icache_internal_function_definition): Update. | |
1299 | ||
1300 | * gen-idecode.c (gen_idecode_h): Drop including of idecode_*.h | |
1301 | files, will at some stage need to move it into support. | |
1302 | ||
1303 | * igen.h, igen.c (main): New option -e <engine> - generate a full | |
1304 | simulation engine. Previously this was the -d <idecode-file> | |
1305 | option. | |
1306 | * gen-engine.h, gen-engine.c: Copies of gen-idecode.*. Will need | |
1307 | to clean these up so that that call upon the updated gen-idecode | |
1308 | code. | |
72f4393d | 1309 | |
c906108c SS |
1310 | * gen-idecode.h, gen-idecode.c: Prune out any code not relevant to |
1311 | generating a decode table. | |
72f4393d | 1312 | |
c906108c SS |
1313 | * Makefile.in (igen): Add dependencies for new gen-engine.* files. |
1314 | ||
1315 | * igen.h, igen.c (main): New option -M - Control what is returned | |
1316 | by semantic functions - -1/NIA vs CIA+N/NIA. Add | |
1317 | generate_semantic_returning_modified_nia_only to igen_code enum. | |
1318 | * gen-semantics.c (print_semantic_body): As an alternative, make | |
1319 | NIA == -1 instead of CIA+insn_size by default. | |
72f4393d | 1320 | |
c906108c SS |
1321 | * igen.h, igen.c (main, global_name_prefix, global_uname_prefix): |
1322 | New option -P <prefix> - Prepend all generated functions with the | |
1323 | specified prefix. | |
1324 | (gen_idecode_c): Adjust. | |
1325 | * gen-icache.c (print_icache_struct): Ditto. | |
1326 | * gen-support.c (gen_support_c): Ditto. | |
1327 | ||
1328 | Sun Feb 16 15:23:15 1997 Andrew Cagney <cagney@critters.cygnus.com> | |
1329 | ||
1330 | * igen.c (main): Correct usage. Missleading message about ucase | |
1331 | options dumping internal tables. -F now includes rather then | |
1332 | excludes instructions. | |
1333 | ||
1334 | * misc.h, misc.c (a2i): Make 64bit. | |
1335 | ||
1336 | * ld-insn.h (max_insn_bit_size, default_insn_bit_size): Increase | |
1337 | max to 64bits, expect trouble. Make the default 32 bits. | |
1338 | * gen-idecode.c (print_idecode_table): Change EXTRACTED* | |
1339 | et.al. macro's to use the insn_bit_size instead of assuming 32 | |
1340 | bits. | |
1341 | * gen-icache.c (print_icache_extraction): Ditto. | |
1342 | * gen-idecode.c (idecode_switch_start): Ditto. | |
1343 | * gen-idecode.c (gen_idecode_c): Ditto | |
1344 | ||
1345 | * igen.h (insn_specifying_widths), igen.c (main): New option -W. | |
1346 | Indicates that the instruction field of the table is specifying | |
1347 | bit widths instead of bit offsets. | |
1348 | * ld-insn.c (parse_insn_format): Parse instruction fields | |
1349 | specifying widths. | |
1350 | ||
1351 | * misc.c (a2i): Allow binary numbers to be specified using the | |
1352 | syntax 0bNNNN. | |
1353 | * ld-insn.c: Allow such numbers to appear in the instruction | |
1354 | format. | |
1355 | ||
1356 | * table.c (table_entry_read): Make // a valid comment character. | |
1357 | (table_entry_read): Skip lines containing a leading " - these may | |
1358 | eventually be used in a disasembler. | |
1359 | ||
1360 | Fri Feb 14 15:23:15 1997 Andrew Cagney <cagney@critters.cygnus.com> | |
1361 | ||
1362 | * filter.c, filter.h, gen-engine.c, gen-engine.h, gen-icache.c, | |
1363 | gen-icache.h, gen-idecode.c, gen-idecode.h, gen-itable.c, | |
1364 | gen-itable.h, gen-model.c, gen-model.h, gen-semantics.c, | |
1365 | gen-semantics.h, gen-support.c, gen-support.h, igen.c, igen.h, | |
1366 | ld-cache.c, ld-cache.h, ld-decode.c, ld-decode.h, ld-insn.c, | |
1367 | ld-insn.h, lf.c, lf.h, misc.c, misc.h, table.c, table.h: Copy in | |
1368 | from the ../ppc directory. | |
1369 | ||
1370 | * filter_host.c, filter_host.h: Copy in from the ../ppc directory | |
1371 | renaming from filter_filename.[hc] |