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