]> gcc.gnu.org Git - gcc.git/blame - gcc/ChangeLog
i386.md (pop): pop increments the stack pointer.
[gcc.git] / gcc / ChangeLog
CommitLineData
47d36400
BS
1Wed Aug 27 00:30:00 1997 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
2
3 * i386.md (pop): pop increments the stack pointer.
4 (prologue_set_stack_ptr): New pattern.
5 * i386.c (ix86_expand_prologue): Use prologue_set_stack_ptr
6 instead of subsi3.
7
fc79eafe
JW
8Tue Aug 26 18:50:32 1997 Jim Wilson <wilson@cygnus.com>
9
10 * reload.c (find_reloads, case '0'): Reject matching a non-offsettable
11 address where an offsettable address is required.
12
c5da853f
MH
13Tue Aug 26 17:54:56 1997 Michael P. Hayes (michaelh@ongaonga.chch.cri.nz>
14
15 * loop.c (check_final_value): Don't miss a biv increment in a
16 parallel.
17
d4ef15f2
JW
18Tue Aug 26 12:03:49 1997 Jim Wilson (wilson@cygnus.com)
19
20 * dwarfout.c (dwarfout_file_scope_decl, case TYPE_DECL): Check
21 TYPE_DECL_IS_STUB instead of DECL_NAME.
22
10549cbd
JW
23Mon Aug 25 23:27:10 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
24
25 * objc/Make-lang.in ($(OBJC_O)): Also depend on cc1obj.
26
27Mon Aug 25 23:27:10 1997 Jim Meyering <meyering@eng.ascend.com>
28
29 * objc/Make-lang.in ($(OBJC_O)): Also depend on $(GCC_PASSES).
30
484df988
JL
31Mon Aug 25 13:12:24 1997 Jeffrey A Law (law@cygnus.com)
32
33 * haifa-sched.c (find_pre_sched_live): Remove #if 0 code.
34 (find_post_sched_live): Likewise.
35
36 * haifa-sched.c (schedule_block): Remove old code to get arguments
37 from hard regs into pseudos early.
38
39dfb55a
JL
39Mon Aug 25 08:55:00 1997 Jeffrey A Law (law@cygnus.com)
40
41 * version.c: Bump for new snapshot.
42
43 * local-alloc.c (update_equiv_regs): All the target to reject
44 promotion of some REG_EQUAL to REG_EQUIV notes.
45 * pa.h (DONT_RECORD_EQUIVALENCE): Define.
46
47 * pa.c (secondary_reload_class): (mem (mem ... )) does not need
48 secondary reloads.
49
50 * pa.c (hppa_builtin_saveregs): Emit a blockage insn after the
51 store of the argument registers.
52
53Mon Aug 25 08:39:02 1997 Craig Burley (burley@gnu.ai.mit.edu)
54
55 * fold-const.c (multiple_of_p): New function.
56 (fold): Turn some cases of *_DIV_EXPR into EXACT_DIV_EXPR.
57
d78778eb
JL
58Mon Aug 25 01:47:41 1997 Jeffrey A Law (law@cygnus.com)
59
60 * expr.h (insn_gen_function): Temporarily remove prototype.
61
feb9ea1a
JW
62Sun Aug 24 17:22:21 1997 Jim Wilson <wilson@cygnus.com>
63
64 * Makefile.in (install-info): Don't cd into srcdir. Add srcdir to
65 filenames. Use sed to extract base filename for install.
66
b6ffe602
JC
67Sat Aug 23 18:19:40 1997 John F. Carr <jfc@mit.edu>
68
69 * unroll.c (find_splittable_givs): Only share if two givs have the
70 same add and multiply values.
71
2ebfd230
JW
72Sat Aug 23 14:36:27 1997 Jim Wilson <wilson@cygnus.com>
73
74 * m68k/next.h (GO_IF_INDEXABLE_BASE): Fix typo in undef.
75 * m68k/m68kemb.h (LIB_SPEC): Add missing comment end before it.
76
251ffdee
JL
77Sat Aug 23 00:18:22 1997 Jeffrey A Law (law@cygnus.com)
78
79 * pa.c (pa_reorg): Always put begin_brtab and end_brtab insns
80 around branch tables.
81 * pa.md (begin_brtab, end_brtab): Only emit the .begin_brtab
82 and .end_brtab directives if TARGET_GAS.
83
19372aa1
JW
84Fri Aug 22 14:05:55 1997 Jim Wilson <wilson@cygnus.com>
85
27314274
JW
86 * alias.c (true_dependence): Pass x_addr not x to varies.
87
19372aa1
JW
88 * acconfig.h (NEED_DECLARATION_CALLOC): Add.
89 * configure.in: Add GCC_NEED_DECLARATION call for calloc.
90 * rs6000/xm-rs6000.h (malloc, realloc, calloc, free): Delete
91 declarations.
92 * config.in, configure: Regenerate.
93
2a2c8203
JC
94Thu Aug 21 23:52:16 1997 John F. Carr <jfc@mit.edu>
95
96 * alias.c (find_base_value): Improve handling of PLUS, MINUS, and
97 LO_SUM.
98 (record_set): Handle LO_SUM like PLUS.
99 (init_alias_analysis): When following chains of base addresses,
100 do not stop on reaching a hard register.
101
d80357b7
JL
102Thu Aug 21 20:17:37 1997 Jeffrey A Law (law@cygnus.com)
103
104 * version.c: Bump for new snapshot.
105
b4f32d7b
JW
106Thu Aug 21 17:28:00 1997 Jim Wilson <wilson@cygnus.com>
107
108 * alpha.h (ARCH_ASM_FILE_START): Define.
109 (ASM_FILE_START): Use ARCH_ASM_FILE_START.
110 * osf12.h, osf2or3.h (ARCH_ASM_FILE_START): Redefine to null string.
111
ca363bb6
JL
112Thu Aug 21 10:22:19 1997 Jeffrey A Law (law@cygnus.com)
113
114 * Makefile.in (install-common): Put gcov comment at start of line.
115
7557aa98
JL
116Wed Aug 20 22:47:33 1997 Jeffrey A Law (law@cygnus.com)
117
118 * alias.c (init_alias_analysis): When simplifying the reg_base_value
119 array, simplify entries for hard registers too.
120
c34e3ae4
DL
121Wed Aug 20 12:35:47 1997 Dave Love <d.love@dl.ac.uk>
122
123 * dwarf2.h (enum dwarf_call_frame_info): Remove trailing comma from
124 list.
125
e3eef942
JW
126Wed Aug 20 11:58:33 1997 Jim Wilson <wilson@cygnus.com>
127
128 * stmt.c (start_cleanup_deferal, end_cleanup_deferal): Test
129 block_stack before dereferencing it.
130
131Wed Aug 20 11:57:11 1997 Michael Meissner <meissner@cygnus.com>
246853b9
MM
132
133 * rs6000.h (ISSUE_RATE): Define instead of MACHINE_issue_rate.
134
04f41951
JM
135Tue Aug 19 17:10:56 1997 Jason Merrill <jason@yorick.cygnus.com>
136
137 * cplus-dem.c: Add 'extern' to prepends_underscore.
138
e933cbe0
JL
139Tue Aug 19 09:34:57 1997 Jeffrey A Law (law@cygnus.com)
140
62d65906
JL
141 * haifa-sched.c (ISSUE_RATE): Renamed from MACHINE_issue_rate.
142 (get_issue_rate): Delete.
143 * pa.h (ISSUE_RATE): Define.
144
2da05a5b
JL
145 * configure.in: Turn on haifa by default for the PA.
146 * configure: Rebuilt.
147 * pa.c (override_options): Accept -mschedule=7200 option.
148 (pa_adjust_cost): No longer need to scale costs for newer
149 processors.
150 * pa.h (enum processor_type): Add PROCESSOR_7200.
151 * pa.md: Revamp scheduling parameters to work better with
152 haifa. Add scheduling parameters for the 7200.
153
4f64eaca
JL
154 * haifa-sched.c (move_insn): Reemit notes for SCHED_GROUP_P
155 insns too.
156 (schedule_block): When adjusting basic_block_{head,end}, account
157 for movement of SCHED_GROUP_P insns too.
158
159 * haifa-sched.c (debug_dependencies): Fix thinko.
160
e933cbe0
JL
161 * Makefile.in (EXPECT, RUNTEST, RUNTESTFLAGS): Define.
162 (site.exp, check, check-g++, check-gcc): New targets.
163
4f64eaca 164 * haifa-sched.c: Make lots of variables static.
61822835 165
e9576d2c
L
166Tue Aug 19 07:18:34 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
167
168 * expr.h, real.h: Finish prototyping.
169
61822835
JL
170Mon Aug 18 21:49:02 1997 Jim Wilson <wilson@cygnus.com>
171
172 * reload.c (find_reloads): Add code to convert RELOAD_FOR_OPADDR_ADDR
173 reloads to RELOAD_FOR_OPERAND_ADDRESS reloads.
174 * reload1.c: Undo bugfix from Aug 11.
175
f24b370a
MM
176Mon Aug 18 17:39:02 1997 Mike Meissner <meissner@cygnus.com>
177
178 * configure.in ({powerpc,rs6000}*-*-*, --with-cpu): Remove single
179 quotes around the name.
180 * configure: Regenerate.
181
1c4c5851
JW
182Mon Aug 18 13:46:47 1997 Jim Wilson <wilson@cygnus.com>
183
184 * Makefile.in (stmp-multilib-sub): Fix typo in last change.
185
71abb567
MH
186Thu Aug 7 10:33:13 1997 Manfred Hollstein <manfred@s-direktnet.de>
187
188 * Makefile.in (sub-makes): Pass the current value of LANGUAGES down
189 to sub-makes to avoid building more passes than the user might have
190 requested on the command line.
191
6042434a
DL
192Sun Aug 17 15:42:17 1997 Dave Love (d.love@dl.ac.uk)
193
194 * configure.in: Expurgate `broken_install' (install is
195 autoconfed).
196
197 * configure.lang: Substitute autoconfed ${INSTALL} (not currently
198 relevant).
199
38ea060f
JL
200Sat Aug 16 01:08:12 1997 Jeffrey A Law (law@cygnus.com)
201
202 * loop.c (is_power_of_2, is_conditional_branch): Delete unused
203 functions and declarations.
204 (analyze_loop_iterations): Use condjump_p.
205 (insert_bct): Likewise. Use exact_log2.
206
f187056f
JL
207Fri Aug 15 23:48:32 1997 Jeffrey A Law (law@cygnus.com)
208
209 * haifa-sched.c (find_post_sched_live): Call FREE_REG_SET as needed.
210 (schedule_region): Likewise.
211 (schedule_insns): Likewise.
212
213 * PROJECTS: Update with Haifa stuff.
214
9af06254
JL
215Fri Aug 15 12:49:56 1997 Jeffrey A Law (law@cygnus.com)
216
217 * version.c: Change the version string to look like:
11c21791 218 egcs-2.90.00 970814 (gcc2-970802 experimental).
9af06254 219
0945e937
JL
220 * loop.c (is_conditional_branch): Make definition match declaration.
221
9af06254
JL
222 * gcc.c: Take out experimental snapshot warning message.
223
ebc25a17
MM
224Fri Aug 15 13:43:39 1997 Michael Meissner <meissner@cygnus.com>
225
226 * haifa-sched.c (debug_dependencies): Use GET_NOTE_INSN_NAME to
227 print out the names of the notes. Print out the name of the insn
228 that is not a note, and not an {,CALL_,JUMP_}INSN.
229
992d1248
DE
230Wed Aug 13 01:03:37 1997 Doug Evans <dje@canuck.cygnus.com>
231
232 * configure.in (haifa configury): Fix typo.
233 * configure: Regenerate.
234
7bb6fbd1
JL
235Tue Aug 12 10:20:36 1997 Jeffrey A Law (law@cygnus.com)
236
237 * version.c: Bump version to "gcc-3.0.0 970802 experimental".
238
239 * gcc.info*: Rebuilt.
240
241 * COPYING.g77, README.g77: New files.
242 * real.c (ereal_unto_float, ereal_unto_double): New functions.
243 * real.h (ereal_unto_float, ereal_unto_double): Declare them.
244 (REAL_VALUE_UNTO_TARGET_DOUBLE, REAL_VALUE_UNTO_TARGET_SINGLE): Define.
245
8c660648
JL
246Mon Aug 11 14:50:55 1997 Jeffrey A Law (law@cygnus.com)
247
248 * Integrate Haifa instruction scheduler.
249 * Makefile.in (ALL_CFLAGS): Add SCHED_CFLAGS. Prefix all references
250 to sched with $(SCHED_CFLAGS.
251 * configure.in: Handle --enable-haifa.
252 * configure: Rebuilt.
253 * flags.h: Add new flags for haifa instruction scheduler.
254 * genattrtab.c (expand_units): For haifa, don't subtract one
255 when computing blockage.
256 * toplev.h (flag_schedule_interblock): Haifa scheduler flag.
257 (flag_schedule_speculative): Ditto.
258 (flag_schedule_speculative_load): Ditto.
259 (flag_schedule_speculative_load_dangerous): Ditto.
260 (flag_schedule_reverse_before_reload): Ditto.
261 (flag_schedule_reverse_after_reload): Ditto.
262 (flag_branch_on_count_reg): Ditto.
263 (f_options): Add Haifa switches.
264 (main): Turn off some Haifa options if appropriate macro is
265 defined. Process Haifa switches.
266 * unroll.c (iteration_info): No longer static, since Haifa
267 scheduler uses it.
268 (unroll_loop): Inform HAIFA scheduler about loop unrolling factor.
269 * unroll.c (unroll_loop): Set loop_unroll_iter, loop_start_value.
270 * loop.h (loop_unroll_factor, loop_number): Add HAIFA decls.
271 * loop.h (loop_initial_value,loop_unroll_iter): New globals.
272 * loop.c (loop_optimize): If HAIFA is defined, allocate additional
273 storage for the Haifa scheduler.
274 (mark_loop_jump): If HAIFA defined, set LABEL_OUTSIDE_LOOP_P and
275 LABEL_NEXTREF.
276 (strength_reduce): If HAIFA and HAVE_decrement_and_branch_on_count
277 are defined, call analyze_loop_iterations and insert_bct to use
278 countdown loops.
279 (record_giv): Refine test for jumps out of loops if HAIFA is
280 defined.
281 (analyze_loop_iterations): New function to identify if we can use
282 a countdown loop.
283 (insert_bct): Insert countdown loop.
284 (instrument_loop_bct): Low level code to insert countdown loop.
285 (loop_number): Calculate UID of loop.
286 (indirect_jump_in_function_p): Return true if an indirect jump is
287 in the function.
288 (is_power_of_2): Return true if value is a power of 2.
289 (is_conditional_branch): Return true if insn is a conditional
290 jump.
291 (fix_bct_param): Process -fbct-{min,max}-N switches.
292 (check_bct_param): Return true if loop should be instrumented.
293 * loop.c (loop_initial_value,loop_unroll_iter): New globals.
294 (loop_optimize): Initialize.
295 (get_condition_for_loop): Ditto.
296 * loop.c (strength_reduce): Inside of code that uses #ifdef
297 HAVE_decrement_and_branch_on_count code, test it to make sure the
298 condition is true.
299 (instrument_loop_bct): Ditto.
300 * haifa-sched.c: New file.
301
302
303 * Integrate regmove pass.
304 * Makefile.in (OBJS): Add regmove.o
305 (regmove.o): Add dependencies.
306 * flow.c (find_use_as_address): No longer static.
307 * rtl.h (find_use_as_address): Declare.
308 * toplev.c (regmove_dump, flag_regmove): Define.
309 (f_options): Add -fregmove.
310 (regmove_dump_file, regmove_time): Define.
311 (fatal_insn): Close the regmove dump file.
312 (compile_file): Initialize regmove_time; open/close the regmove dump
313 file as needed. Print regmove time as needed.
314 (rest_of_compilation): Run regmove pass if requested, dump
315 RTL after regmove if requested.
316 (main): If -O2 or more, turn on regmove. Handle dump switches.
317 * regmove.c: New file.
318
aa32d841
JL
319Mon Aug 11 14:15:02 1997 Jeffrey A Law (law@cygnus.com)
320
321 * Integrate tlink patch from jason@cygnus.com
322 * gcc.c (SWITCH_TAKES_ARG): Add 'V', 'B' and 'b'.
323 (process_command): Increment n_switches for them. Don't discard
324 their args. Validate them.
325 (main): Escape " marks when creating COLLECT_GCC_OPTIONS.
326 From Rohan Lenard.
327 (process_command): Set include_prefixes from COMPILER_PATH.
328 (main): Set COLLECT_GCC_OPTIONS sooner.
329 * confiugre.in: Link ../ld/ld.new to collect-ld rather than real-ld.
330 * tlink.c, hash.c, hash.h: New files.
331 * Makefile.in (USE_COLLECT2): Always use collect2.
332 (collect2): Depend on and link in hash.o and tlink.o.
333 (tlink.o, hash.o): Add dependencies.
334
5fa39bfe
JL
335Mon Aug 11 10:04:49 1997 Jeffrey A Law (law@cygnus.com)
336
9ae8ffe7
JL
337 * Integrate alias analysis changes from jfc@mit.edu
338 * Makefile.in (OBJS): Add alias.o
339 (alias.o): Add dependencies.
340 * alias.c: New file.
341 * sched.c: Remove alias analysis code. It lives in alias.c now.
9ae8ffe7 342 (sched_analyze_2): Add new arguments to true_dependence.
9ae8ffe7
JL
343 (schedule_insns): Always call init_alias_analysis.
344 * calls.c (expand_call): Note calls to malloc, calloc, and realloc;
345 mark return value from such functions as a pointer and keep track of
346 them for alias analysis. If a return value from a function is a
347 pointer, mark it as such.
348 * combine.c (distribute_notes): Handle REG_NOALIAS.
349 * cse.c (struct write_data): Delete. No longer needed.
350 (invalidate): Don't call set_nonvarying_address_components anymore.
351 Use true_dependence to decide if an entry should be removed from
352 the hash table.
353 (invalidate_memory): Remove WRITES argument, simplify appropriately.
354 Fix all callers.
355 (note_mem_written): Similarly for WRITE_PTR argument.
356 (invalidate_from_clobbers): Similarly for W argument.
357 (invalidate_for_call): Remove memory elements from the hash table.
358 (refers_to_mem_p, cse_rtx_addr_varies_p): Deleted.
359 (cse_rtx_varies_p): New function. Derived from old
360 cse_rtx_addr_varies_p.
361 (cse_insn): Remove WRITES_MEMORY and INIT variables and all references.
362 Don't call note_mem_written anymore. Stack pushes invalidate the stack
363 pointer if PUSH_ROUNDING is defined. No longer need to call
364 cse_rtx_addr_varies_p to decide if a MEM should be invalidated.
365 (skipped_writes_memory): Remove variable.
366 (invalidate_skipped_set): Simplify and wewrite to use invalidate_memory.
367 (invalidate_skipped_block): Simplify for new alias analysis code.
368 (cse_set_around_loop): Likewise.
369 (cse_main): Call init_alias_analysis.
370 * flags.h (flag_alias_check, flag_argument_noalias): Declare.
371 * toplev.c (flag_alias_check, flag_argument_noalias): Define.
372 (f_options): Add new alias checking arguments.
373 (main): Set flag_alias_check when optimizing.
374 * local_alloc (validate_equiv_mem_from_store): Add new arguments
375 to true_dependence.
376 (memref_referenced_p): Likewise.
377 * loop.c (NUM_STORES): Increase to 30.
378 (prescan_loop): Only non-constant calls set unknown_address_altered.
379 (invariant_p): Add new arguments to true_dependence.
380 (record_giv): Initialize unrolled and shared fields.
381 (emit_iv_add_mult): Call record_base_value as needed.
382 * loop.h (struct induction): Add unrolled and shared fields.
383 * unroll.c (unroll_loop): Call record_base_value as needed.
384 (copy_loop_body): Likewise.
385 (final_biv_value): Likewise.
386 (final_giv_value): Likewise.
387 (find_splittable_regs): Likewise. Only create one new pseudo
388 if we have multiple address GIVs that were combined with the same
389 dst_reg GIV. Note when a new register is created due to unrolling.
390 * rtl.c (reg_note_name): Add REG_NOALIAS.
391 * rtl.h (enum reg_note): Similarly.
392 (rtx_varies_p, may_trap_p, side_effects_p): Declare.
393 (volatile_refs_p, volatile_insn_p, remove_note): Likewise.
394 (note_stores, refers_to_regno_p, reg_overlap_mentioned_p): Likewise.
395 (true_dependence, read_dependence, anti_dependence): Likewise.
396 (output_dependence, init_alias_analysis, end_alias_analysis): Likewise.
397 (mark_user_reg, mark_reg_pointer): Likewise.
398
399
400 * Integrate reload bugfix from Wilon which enables the PA port
5fa39bfe
JL
401 to bootstrap again.
402 * reload1.c (reload): Sum needs for both OPADDR_ADDR and and
403 OPERAND_ADDRESS when computing how many registers an insn needs.
404 (reload_reg_free_p): OPADDR_ADDR and OPERAND_ADDRESS reloads do
405 conflict.
406 (reload_reg_free_before_p): Treat OPERAND_ADDRESS reloads just like
407 OPADDR_ADDR reload.
408 (reload_reg_reaches_end_p): For RELOAD_FOR_OPADDR_ADDR insns, registers
409 in reload_reg_use_in_op_addr do not reach the end.
410 do not reach the end.
411 (reloads_conflict): RELOAD_FOR_OPADDR_ADDR conflicts with
412 RELOAD_FOR_OPERAND_ADDRESS.
413
414Sun Aug 10 12:00:20 1997 Jeffrey A Law (law@cygnus.com)
415
2dcfcb56 416 * egcs project officially starts.
861bb6c1 417
This page took 0.086907 seconds and 5 git commands to generate.