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