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