]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - sim/igen/ChangeLog
* gen-support.c (gen_support_c): sim-state.h renamed to sim-main.h.
[thirdparty/binutils-gdb.git] / sim / igen / ChangeLog
1 Wed Apr 2 18:51:20 1997 Doug Evans <dje@canuck.cygnus.com>
2
3 * gen-support.c (gen_support_c): sim-state.h renamed to sim-main.h.
4 * gen-idecode.c (gen_idecode_c): Likewise.
5 * igen.c (gen_semantics_c): Likewise.
6
7 Mon Mar 24 10:10:08 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
8
9 * gen-icache.c (print_icache_body): No longer define cpu/sd,
10 support.h now defines CPU/SD globally.
11
12 * gen-model.c (gen_model_h): Ditto.
13
14 * gen-idecode.c (print_idecode_issue_function_body): Ditto.
15 (print_jump): Ditto.
16 (print_jump_until_stop_body): Ditto.
17 (print_idecode_validate): Ditto.
18
19 * gen-icache.c (print_icache_body): Ditto.
20
21 * gen-semantics.c (print_semantic_body): Ditto.
22
23 * igen.c (print_semantic_function_formal): Rename cpu to sim_cpu,
24 processor to cpu.
25 (print_icache_function_formal): Ditto.
26
27 * gen-support.c (print_support_function_name): Include sd/cpu arg
28 in support function argument list.
29 (support_c_function): Generate code to cpu/sd from sd/cpu.
30 (gen_support_h): Define _SD the argument prefix for all support
31 functions. Define SD/CPU to determine sd/cpu from value of _SD
32 macro.
33
34 Tue Mar 18 15:52:24 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
35
36 * gen-support.c (gen_support_c): Update for renaming of engine to
37 sim-state.
38
39 * igen.c: Ditto.
40 * gen-idecode.c (gen_idecode_c): Ditto.
41
42 Mon Mar 17 15:17:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
43
44 * ld-decode.c (load_decode_table): Rename slash to reserved.
45 (dump_decode_rule): Ditto.
46
47 * ld-insn.c (parse_insn_format): Differentiate between a `/' -
48 reserved bit - and a `*' - wild card.
49 (parse_insn_format): Change is_slash to more informative reserved.
50 (dump_insn_field): Ditto.
51 (insn_field_is_constant): Ditto.
52 (insn_table_expand_opcode): Ditto.
53
54 * gen-idecode.c (print_idecode_validate): Make check_mask and
55 check_val the correct integer size.
56 (print_idecode_validate): Fix reserved bit check for 64 bit
57 targets.
58
59 Fri Mar 14 11:24:06 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
60
61 * ld-insn.c (parse_insn_format): Accept '*' as an alternative of
62 `/' in bit fields. `/' denotes a wild bit.
63
64 Fri Mar 7 18:20:38 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
65
66 * igen.h, igen.c (main): New options. Control generation of
67 conditional issue and slot verification code.
68
69 Fri Mar 7 18:17:25 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
70
71 * gen-support.c (print_support_function_name): Prepend the global
72 name prefix when applicable. Provide #define to map the user
73 specified name the generated globaly unique one.
74
75 Fri Mar 7 18:07:45 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
76
77 * gen-idecode.c (print_idecode_validate): Wrap each of the checks
78 - reserved bits, floating point and slot validation - with a
79 #ifdef so that they are optional.
80
81 Fri Mar 7 16:35:13 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
82
83 * gen-idecode.c (error_leaf_contains_multiple_insn): New function
84 - report the error of a leaf node in the decision tree containing
85 several instructions.
86 (print_idecode_table_leaf): Detect a leaf with multiple instructions.
87 (print_idecode_switch_leaf): Ditto.
88
89 * gen-semantics.h, gen-semantics.c (print_idecode_illegal,
90 print_idecode_invalid): Rename former to latter. Add argument so
91 that one function can generate all invalid instruction cases -
92 illegal, fp-unavailable, wrong-slot.
93 * gen-engine.c: Update.
94
95 * gen-idecode.c: Use print_idecode_invalid to generate a function
96 call for cases when fp-unavailable and the slot is wrong.
97
98 * gen-idecode.c (print_idecode_validate): New check, generate code
99 to verify that the instruction slot is correct.
100
101 * igen.c (main): Simplify options.
102
103 Wed Mar 5 09:55:55 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
104
105 * igen.c (print_itrace): Remove source line reference for trace
106 code - let the user see the generated file.
107 (print_itrace): Print the trace code rather than reference a
108 macro.
109
110 Tue Mar 4 17:31:55 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
111
112 * igen.c (print_semantic_function_actual): Pass either the
113 processor - smp - or the engine - mono - into semantic functions.
114 Don't pass in both.
115
116 * gen-icache.c (print_icache_body): Dependant on smp, derive
117 processor from engine or engine from processor, and hence ensuring
118 that both are defined in all semantic functions.
119
120 Mon Mar 3 17:11:21 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
121
122 * ld-insn.c (parse_insn_format): Make the width field optional.
123 If missing assume that the number of characters in the value
124 determines the number of bits in the field.
125
126 Thu Feb 27 11:27:48 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
127
128 * ld-insn.c (insn_table_expand_opcode): Replace assertion with
129 more useful error message.
130
131 Tue Feb 25 16:43:27 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
132
133 * misc.c (error): Output errors on stderr.
134
135 * ld-insn.c (parse_insn_format): Skip any leading spaces.
136 Verify the width of instructions being parsed.
137
138 * table.c (table_entry_read): Parse CPP's convention for
139 specifying original file name/line-nr.
140
141 Wed Feb 19 12:30:28 1997 Andrew Cagney <cagney@critters.cygnus.com>
142
143 * ld-insn.c (parse_insn_format): Allow trailing spaces in
144 instruction fields.
145
146 * Makefile.in: Create using ../ppc/Makefile.in as a starting
147 point.
148 * configure.in: Ditto vis ../ppc/configure.in
149
150 Mon Feb 17 10:44:18 1997 Andrew Cagney <cagney@critters.cygnus.com>
151
152 * gen-support.c (gen_support_c): Always include engine.h instead
153 of cpu.h
154 * gen-idecode.c (gen_idecode_c): Ditto.
155
156 * words.h (instruction_word): Remove instruction_word - now
157 generated by igen.
158 (address_word): New. Used by igen.
159
160 * lf.c (lf_print_function_type_function): New, pass a function to
161 print out the type instead of a constant string.
162
163 * igen.h, igen.c (print_semantic_function_formal,
164 SEMANTIC_FUNCTION_FORMAL): Relace macro with function.
165 (print_semantic_function_actual, SEMANTIC_FUNCTION_ACTUAL): Ditto.
166 (print_semantic_function_type, SEMANTIC_FUNCTION_TYPE): Ditto.
167 (print_icache_function_type, ICACHE_FUNCTION_TYPE): Ditto.
168 (print_icache_function_formal, ICACHE_FUNCTION_FORMAL): Ditto.
169 (print_icache_function_actual, ICACHE_FUNCTION_ACTUAL): Ditto.
170 * gen-idecode.c (print_idecode_table): Update.
171 (idecode_switch_leaf): Update.
172 (print_idecode_switch_function_header): Ditto.
173 (print_idecode_floating_point_unavailable): Ditto.
174 (print_idecode_issue_function_header): Ditto.
175 * igen.c (gen_icache_h): Ditto.
176 * gen-engine.c (print_engine_table): Ditto.
177 (engine_switch_leaf): Ditto.
178 * gen-support.c (print_support_function_name): Ditto.
179 * gen-semantics.c (print_semantic_function_header): Update.
180 Update.
181 * gen-icache.c (print_icache_function_header): Update.
182 (print_icache_function): Update.
183 (print_icache_internal_function_declaration): Update.
184 (print_icache_internal_function_definition): Update.
185
186 * gen-idecode.c (gen_idecode_h): Drop including of idecode_*.h
187 files, will at some stage need to move it into support.
188
189 * igen.h, igen.c (main): New option -e <engine> - generate a full
190 simulation engine. Previously this was the -d <idecode-file>
191 option.
192 * gen-engine.h, gen-engine.c: Copies of gen-idecode.*. Will need
193 to clean these up so that that call upon the updated gen-idecode
194 code.
195
196 * gen-idecode.h, gen-idecode.c: Prune out any code not relevant to
197 generating a decode table.
198
199 * Makefile.in (igen): Add dependencies for new gen-engine.* files.
200
201 * igen.h, igen.c (main): New option -M - Control what is returned
202 by semantic functions - -1/NIA vs CIA+N/NIA. Add
203 generate_semantic_returning_modified_nia_only to igen_code enum.
204 * gen-semantics.c (print_semantic_body): As an alternative, make
205 NIA == -1 instead of CIA+insn_size by default.
206
207 * igen.h, igen.c (main, global_name_prefix, global_uname_prefix):
208 New option -P <prefix> - Prepend all generated functions with the
209 specified prefix.
210 (gen_idecode_c): Adjust.
211 * gen-icache.c (print_icache_struct): Ditto.
212 * gen-support.c (gen_support_c): Ditto.
213
214 Sun Feb 16 15:23:15 1997 Andrew Cagney <cagney@critters.cygnus.com>
215
216 * igen.c (main): Correct usage. Missleading message about ucase
217 options dumping internal tables. -F now includes rather then
218 excludes instructions.
219
220 * misc.h, misc.c (a2i): Make 64bit.
221
222 * ld-insn.h (max_insn_bit_size, default_insn_bit_size): Increase
223 max to 64bits, expect trouble. Make the default 32 bits.
224 * gen-idecode.c (print_idecode_table): Change EXTRACTED*
225 et.al. macro's to use the insn_bit_size instead of assuming 32
226 bits.
227 * gen-icache.c (print_icache_extraction): Ditto.
228 * gen-idecode.c (idecode_switch_start): Ditto.
229 * gen-idecode.c (gen_idecode_c): Ditto
230
231 * igen.h (insn_specifying_widths), igen.c (main): New option -W.
232 Indicates that the instruction field of the table is specifying
233 bit widths instead of bit offsets.
234 * ld-insn.c (parse_insn_format): Parse instruction fields
235 specifying widths.
236
237 * misc.c (a2i): Allow binary numbers to be specified using the
238 syntax 0bNNNN.
239 * ld-insn.c: Allow such numbers to appear in the instruction
240 format.
241
242 * table.c (table_entry_read): Make // a valid comment character.
243 (table_entry_read): Skip lines containing a leading " - these may
244 eventually be used in a disasembler.
245
246 Fri Feb 14 15:23:15 1997 Andrew Cagney <cagney@critters.cygnus.com>
247
248 * filter.c, filter.h, gen-engine.c, gen-engine.h, gen-icache.c,
249 gen-icache.h, gen-idecode.c, gen-idecode.h, gen-itable.c,
250 gen-itable.h, gen-model.c, gen-model.h, gen-semantics.c,
251 gen-semantics.h, gen-support.c, gen-support.h, igen.c, igen.h,
252 ld-cache.c, ld-cache.h, ld-decode.c, ld-decode.h, ld-insn.c,
253 ld-insn.h, lf.c, lf.h, misc.c, misc.h, table.c, table.h: Copy in
254 from the ../ppc directory.
255
256 * filter_host.c, filter_host.h: Copy in from the ../ppc directory
257 renaming from filter_filename.[hc]