rth [Thu, 2 Sep 1999 00:21:09 +0000 (2 00:21 +0000)]
Final merge from mainline
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@29040 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Wed, 1 Sep 1999 23:24:02 +0000 (1 23:24 +0000)]
Merge from mainline
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@29039 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Wed, 1 Sep 1999 05:25:44 +0000 (1 05:25 +0000)]
* i386.md: Fix SI->QImode typo in last change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@29024 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Wed, 1 Sep 1999 02:14:52 +0000 (1 02:14 +0000)]
Merge from mainline
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@29020 138bc75d-0d04-0410-961f-82ee72b054a4
(no author) [Tue, 31 Aug 1999 20:33:13 +0000 (31 20:33 +0000)]
This commit was manufactured by cvs2svn to create branch
'new_ia32_branch'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@29014 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Tue, 31 Aug 1999 20:19:53 +0000 (31 20:19 +0000)]
Merge error: copystr/mybcopy/mybzero vs string.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@29012 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Tue, 31 Aug 1999 20:10:56 +0000 (31 20:10 +0000)]
Merge error: kill emit_init_mov_optab.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@29011 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Tue, 31 Aug 1999 19:33:02 +0000 (31 19:33 +0000)]
Merge error
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@29007 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Tue, 31 Aug 1999 18:56:51 +0000 (31 18:56 +0000)]
Merge from mainline
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@29006 138bc75d-0d04-0410-961f-82ee72b054a4
(no author) [Tue, 31 Aug 1999 18:56:51 +0000 (31 18:56 +0000)]
This commit was manufactured by cvs2svn to create branch
'new_ia32_branch'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@29005 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Sun, 29 Aug 1999 01:23:12 +0000 (29 01:23 +0000)]
Merge typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@28955 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Sun, 29 Aug 1999 01:19:48 +0000 (29 01:19 +0000)]
Merge from mainline
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@28953 138bc75d-0d04-0410-961f-82ee72b054a4
(no author) [Sun, 29 Aug 1999 01:19:48 +0000 (29 01:19 +0000)]
This commit was manufactured by cvs2svn to create branch
'new_ia32_branch'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@28952 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Sun, 29 Aug 1999 00:20:35 +0000 (29 00:20 +0000)]
* i386.c (pic_label_rtx, pic_label_no): Remove.
(pic_label_output): New.
(asm_output_function_prefix): Output the pic stub only once.
(load_pic_register): Use pic_label_name directly.
(struct machine_function): Remove pic_label_rtx, pic_label_name.
(save_386_machine_status): Don't save them.
(restore_386_machine_status): Or restore them.
(clear_386_stack_locals): Don't clear pic_label_name.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@28949 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Sun, 29 Aug 1999 00:10:41 +0000 (29 00:10 +0000)]
* Makefile.in (STAGESTUFF): Add *.peephole2.
(mostlyclean): Likewise.
(recog.o): Depend on resource.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@28948 138bc75d-0d04-0410-961f-82ee72b054a4
crux [Fri, 27 Aug 1999 17:34:56 +0000 (27 17:34 +0000)]
Better way to allocate scratches in peephole2
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@28934 138bc75d-0d04-0410-961f-82ee72b054a4
crux [Fri, 27 Aug 1999 12:53:26 +0000 (27 12:53 +0000)]
Use old-style function definition in output_peephole2_scratch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@28930 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Fri, 27 Aug 1999 10:10:08 +0000 (27 10:10 +0000)]
* genrecog.c (add_to_sequence): Cast XVECLEN to size_t.
(write_subroutine) [PEEPHOLE2]: New local var _last_insn; rename
the parameter _plast_insn. New top-level exit label ret1.
(write_tree_1): Allow peephole2 generator to fail. Use ret1.
(write_tree): Adjust parameter list.
(change_state): Keep _last_insn up to date. Adjust call to
recog_next_insn. Keep data in sync when it fails.
* recog.c (recog_next_insn): Remove _last_insn parameter.
* recog.h (recog_next_insn): Update declaration.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@28929 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Thu, 26 Aug 1999 18:43:33 +0000 (26 18:43 +0000)]
* gcse.c (hash_scan_insn): Don't scan obvious no-ops
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@28903 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Thu, 26 Aug 1999 16:57:19 +0000 (26 16:57 +0000)]
Correct merge error.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@28896 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Thu, 26 Aug 1999 00:58:42 +0000 (26 00:58 +0000)]
* optabs.c (emit_cmp_and_jump_insns): Be more thorough in
canonization.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@28884 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Wed, 25 Aug 1999 23:31:23 +0000 (25 23:31 +0000)]
Merge from mainline
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@28883 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Wed, 25 Aug 1999 22:43:11 +0000 (25 22:43 +0000)]
Merge from mainline
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@28882 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Wed, 25 Aug 1999 22:19:26 +0000 (25 22:19 +0000)]
Merge from mainline
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@28880 138bc75d-0d04-0410-961f-82ee72b054a4
(no author) [Wed, 25 Aug 1999 22:19:26 +0000 (25 22:19 +0000)]
This commit was manufactured by cvs2svn to create branch
'new_ia32_branch'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@28879 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Wed, 25 Aug 1999 21:55:16 +0000 (25 21:55 +0000)]
Merge from mainline
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@28876 138bc75d-0d04-0410-961f-82ee72b054a4
(no author) [Wed, 25 Aug 1999 21:55:16 +0000 (25 21:55 +0000)]
This commit was manufactured by cvs2svn to create branch
'new_ia32_branch'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@28875 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Mon, 2 Aug 1999 21:48:13 +0000 (2 21:48 +0000)]
Merge from mainline
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@28411 138bc75d-0d04-0410-961f-82ee72b054a4
(no author) [Mon, 2 Aug 1999 21:48:13 +0000 (2 21:48 +0000)]
This commit was manufactured by cvs2svn to create branch
'new_ia32_branch'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@28410 138bc75d-0d04-0410-961f-82ee72b054a4
crux [Tue, 27 Jul 1999 09:43:11 +0000 (27 09:43 +0000)]
Merge deletion of constrain_asm_operands into new_ia32 branch
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@28290 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Tue, 27 Jul 1999 01:52:01 +0000 (27 01:52 +0000)]
* except.c (start_dynamic_cleanup): Use force_operand on the
buffer's address.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@28281 138bc75d-0d04-0410-961f-82ee72b054a4
crux [Mon, 26 Jul 1999 11:59:37 +0000 (26 11:59 +0000)]
Merge stack alignment changes into branch
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@28265 138bc75d-0d04-0410-961f-82ee72b054a4
scox [Fri, 23 Jul 1999 22:07:21 +0000 (23 22:07 +0000)]
* loop.c (check_decr_loop): Put bl->initial_value in canonical form.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@28229 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Tue, 20 Jul 1999 05:36:42 +0000 (20 05:36 +0000)]
Jan Hubicka <hubicka@freesoft.cz>
* i386.c (k6_cost): Tune parameters
(x86_use_cltd): New global variable.
(x86_read_modify): New global variable.
(x86_read_modify_write): New global variable.
(x86_split_long_moves): New global variable.
(override_operions): Tune K6 scheduling.
* i386.h (TARGET_USE_CLTD): New macro.
(TARGET_READ_MODIFY): New macro.
(TARGET_READ_MODIFY_WRITE): New macro.
(TARGET_SPLIT_LONG_MOVES): New macro.
* i386.md (splitters and peepholers2): Use new macros.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@28185 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Tue, 20 Jul 1999 05:27:57 +0000 (20 05:27 +0000)]
1999-07-19 Richard Henderson <rth@cygnus.com>
* i386.h (TARGET_USE_MOV0, x86_use_mov0): Declare.
* i386.c (x86_use_mov0): True for K6.
* i386.md (mov patterns): Use TARGET_USE_MOV0 instead of !k6
for selecting mov $0,reg.
1999-07-19 Jan Hubicka <hubicka@freesoft.cz>
* i386.c (long_memory_operand): New predicate.
(ix86_attr_default): Handle NEGNOT type.
(ix86_adjust_cost): Handle PROCESSOR_K6
* i386.h (PREDICATE_CODES): Add long_memory_operand.
* i386.md (type attribute): New type NEGNOT.
(scheduling definitions): Handle NEGNOT attribute.
(K6 scheduling parameters): New.
(mov?i patterns): Use mov $0, reg instead of xor reg,reg.
(extend?i?i patterns): Do not use vector decoded c?t? instructions
for K6.
(mulsi3): Fix length_opcode attribute.
(xorsi3): Do not use prefixed xorw instruction.
(neg and not patterns): Use NEGNOT attribute, do not set pent_pair
explicitly.
(sh?d patterns): Fix length_opcode attribute.
(bsf pattern): Fix length_opcode attribute.
(not to xor peep2): Do conversion for K6 as well.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@28184 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Tue, 20 Jul 1999 04:52:27 +0000 (20 04:52 +0000)]
* i386.c (cmpsi_operand): New predicate.
* i386.h (PREDICATE_CODES): Add it.
* i386.md (cmpsi): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@28183 138bc75d-0d04-0410-961f-82ee72b054a4
crux [Mon, 19 Jul 1999 08:40:34 +0000 (19 08:40 +0000)]
Fix INTEL_SYNTAX output for i386 backend
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@28169 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Thu, 8 Jul 1999 20:07:32 +0000 (8 20:07 +0000)]
Jan Hubicka <hubicka@freesoft.cz>
* flow.c (new_insn_dead_notes): Handle dead stores nicely.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@28032 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Thu, 8 Jul 1999 20:01:39 +0000 (8 20:01 +0000)]
Jan Hubicka <hubicka@freesoft.cz>
* i386.c (pentium_cost): Large insn is 8 bytes.
(ix86_safe_length_prefix): New function.
(ix86_pent_find_pair): Instruction length should not exceed 7 bytes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@28031 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Thu, 8 Jul 1999 19:42:27 +0000 (8 19:42 +0000)]
Jan Hubicka <hubicka@freesoft.cz>
* i386.md: (type attribute) New type fsgn.
(fmov Pentium scheduling parameters): New.
(fsgn Pentium scheduling parameters): New.
(fsin/fcos Pentium scheduling parameters): Update comment.
(fabs/fchs): Set type to fsgn.
* i386.c: (ix86_attr_length_default): Support for fsgn type.
(ix86_adjust_cost): Handle fst for Pentium.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@28030 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Thu, 8 Jul 1999 19:31:59 +0000 (8 19:31 +0000)]
* genconfig.c (have_peephole_flag, have_peephole2_flag): New.
(main): Set them; emit HAVE_foo based on them.
* final.c (peephole): Only conditionally declare.
(final_scan_insn): Notice HAVE_peephole.
* genpeep.c (main): Likewise.
* recog.c (peephole2_optimize): Notice HAVE_peephole2.
* toplev.c (rest_of_compilation): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@28029 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Thu, 8 Jul 1999 19:22:44 +0000 (8 19:22 +0000)]
* i386.md (movstricthi_1): Fix parenthesis in conditional.
(movstrictqi_1): Likewise.
1999-07-08 Jan Hubicka <hubicka@freesoft.cz>
* i386.md: New peep2 patterns for TEST to AND conversion.
(testsi_1): Recognize "test imm,eax" as uv pairable.
(testhi_1, testqi_1): Likewise.
(andqi_ext_0_cc): New pattern.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@28028 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Thu, 1 Jul 1999 21:29:43 +0000 (1 21:29 +0000)]
* unroll.c (iteration_info): Fix initialized variable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@27899 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Thu, 1 Jul 1999 20:39:29 +0000 (1 20:39 +0000)]
* i386.c (ix86_aligned_reg_p): Delete.
(ix86_aligned_p): Rewrite in terms of ix86_decompose_address
and REGNO_POINTER_ALIGN.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@27896 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Thu, 1 Jul 1999 19:03:24 +0000 (1 19:03 +0000)]
Jan Hubicka <hubicka@freesoft.cz>
* i386.md (memory attribute): New "both" value.
(imm_disp attribute): New.
(Pentium scheduling definitions): More exact model.
* i386.c (ix86_safe_length): New.
(ix86_safe_memory): New.
(ix86_pent_find_pair): New.
(ix86_sched_reorder): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@27894 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Thu, 1 Jul 1999 17:04:18 +0000 (1 17:04 +0000)]
* i386.c: Prototype all static functions.
(ix86_decompose_address): New function.
(memory_displacement_operand): Use it.
(legitimate_address_p): Likewise.
(print_operand_address): Likewise.
(memory_address_length): Likewise.
* i386.h (MASK_DEBUG_ADDR): Adjust so that it isn't negative.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@27893 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Thu, 1 Jul 1999 13:12:41 +0000 (1 13:12 +0000)]
Jan Hubicka <hubicka@freesoft.cz>
* i386.md (fixtruncxfdf_2): New pattern.
(divmodsi4+2): On Pentium, avoid cltd with an extra mov.
(double division pattern): Disable.
(ashiftrt_31): Fix type.
(one_cmpl?i): New peepholes for Pentium -- convert to xor.
(arith_or_logical_operator peepholers): Fix predicates.
* i386.h (memory_displacement_operand): Declare.
(PREDICATE_CODES): Update.
* i386.c (memory_displacement_operand): New predicate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@27881 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Thu, 1 Jul 1999 11:15:34 +0000 (1 11:15 +0000)]
* i386.c (ix86_expand_fp_compare): Force XFmode compare operands
into registers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@27878 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Mon, 28 Jun 1999 14:16:01 +0000 (28 14:16 +0000)]
* loop.c (loop_emit_jump_insn_before): Return the jump insn.
(loop_emit_jump_insn_after): Likewise.
(check_dbra_loop): Correct last change to use the return value.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@27815 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Sun, 27 Jun 1999 03:25:56 +0000 (27 03:25 +0000)]
* loop.c (strength_reduce): Disable until it's fixed on mainline.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@27791 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Sun, 27 Jun 1999 03:25:15 +0000 (27 03:25 +0000)]
* loop.c (combine_givs_p): Handle a NULL_RTX result from
express_from.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@27790 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Sun, 27 Jun 1999 02:56:47 +0000 (27 02:56 +0000)]
* reg-stack.c (next_flags_user): Continue searching til the
end of the block or a call.
(swap_rtx_condition): Never abort, just fail.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@27789 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Sun, 27 Jun 1999 02:11:06 +0000 (27 02:11 +0000)]
Merge Cygnus changes since patches exported.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@27787 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Sun, 27 Jun 1999 01:46:27 +0000 (27 01:46 +0000)]
Andrew Haley <aph@cygnus.com>
* i386.md (ashlqi3): Correct error in the patch of Jun 9.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@27786 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Sun, 27 Jun 1999 01:34:52 +0000 (27 01:34 +0000)]
* Makefile.in (recog.o): Depend on resource.h.
(reg-stack.o): Depend on varray.h.
* recog.c: Include resource.h.
(peephole2_optimize): Mark `dump_file' unused.
* reload1.c (maybe_fix_stack_asms): Mark `constraints' const.
* rtl.c (shallow_copy_rtx): Delete unused variable.
* rtl.h (stack_regs_mentioned_p): Delete prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@27785 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Sun, 27 Jun 1999 01:34:17 +0000 (27 01:34 +0000)]
* i386.c (hi_reg_name): Mark const.
(qi_reg_name, qi_high_reg_name): Likewise.
(ix86_cpu_string, ix86_arch_string): Likewise.
(ix86_reg_alloc_order, ix86_regparm_string): Likewise.
(ix86_align_loops_string, ix86_align_jumps_string): Likewise.
(ix86_branch_cost_string, ix86_align_funcs_string): Likewise.
(ix86_expand_prologue): Delete unused variables.
(output_fp_compare): Likewise.
(ix86_expand_int_movcc): Likewise.
(ix86_output_block_profiler): Mark args unused.
(ix86_sched_init, ix86_sched_reorder): Likewise.
* i386.h (TARGET_SWITCHES): Merge documentation changes.
(TARGET_OPTIONS): Likewise.
(pic_symbolic_operand): Declare.
(fcmov_comparison_operator, arith_or_logical_operator): Likewise.
(ix86_split_ashldi, ix86_split_ashrdi, ix86_split_lshrdi): Likewise.
(ix86_attr_length_default, ix86_sched_init): Likewise.
(ix86_sched_reorder, ix86_variable_issue): Likewise.
* i386.md (pushsf): Add default case.
(pushdf): Likewise.
(andsi_1): Cast constants to HOST_WIDE_INT for warning prevention.
(extzv): Remove unused variable.
(prologue_get_pc): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@27784 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Sun, 27 Jun 1999 01:33:33 +0000 (27 01:33 +0000)]
* reg-stack.c: Merge Jan Hubicka's patch of 12 April.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@27783 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Sun, 27 Jun 1999 01:33:10 +0000 (27 01:33 +0000)]
* loop.c (loop_emit_jump_insn_before): New function.
(loop_emit_jump_insn_after): Likewise.
(check_dbra_loop): Use it.
(instrument_loop_bct): Likewise.
(fixup_decr_loop_info): Likewise.
(check_decr_loop): Likewise. Delete unused variables.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@27782 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Thu, 24 Jun 1999 11:41:51 +0000 (24 11:41 +0000)]
Patches missed from the Cygnus branch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@27726 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Mon, 21 Jun 1999 20:53:12 +0000 (21 20:53 +0000)]
* Pass 0 merge checked into egcs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@27683 138bc75d-0d04-0410-961f-82ee72b054a4
(no author) [Mon, 21 Jun 1999 20:53:12 +0000 (21 20:53 +0000)]
This commit was manufactured by cvs2svn to create branch
'new_ia32_branch'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/new_ia32_branch@27682 138bc75d-0d04-0410-961f-82ee72b054a4
amylaar [Mon, 21 Jun 1999 19:21:48 +0000 (21 19:21 +0000)]
* sh.c (machine_dependent_reorg): When fixing up fp pcloads,
remove the clobber of r0 and change the REG_UNUSED note to
REG_INC.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27676 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Mon, 21 Jun 1999 17:52:47 +0000 (21 17:52 +0000)]
Jakub Jelinek <jj@ultra.linux.cz>
* real.c (ereal_from_double): Fix for 64-bit big endian hosts.
* emit-rtl.c (gen_lowpart_common): Add case for hosts where double
fits in HOST_WIDE_INT and one uses union to access a long constant
as double.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27675 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Mon, 21 Jun 1999 17:47:44 +0000 (21 17:47 +0000)]
* sparc.c (sparc_override_options): Don't allow profiling for
code models other than medlow.
(sparc_function_profiler): New function from old FUNCTION_PROFILER
macro. Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
(sparc_function_block_profiler): Likewise. Use user_label_prefix.
(sparc_block_profiler): Likewise.
(sparc_function_block_profiler_exit): Likewise.
* sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
(FUNCTION_BLOCK_PROFILER): Likewise.
(BLOCK_PROFILER): Likewise.
(FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
(MCOUNT_FUNCTION): New.
* sparc/pbd.h (FUNCTION_PROFILER): Delete.
(FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
* sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
(MCOUNT_FUNCTION): New.
* sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
(BLOCK_PROFILER): Delete.
(MCOUNT_FUNCTION): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27672 138bc75d-0d04-0410-961f-82ee72b054a4
tromey [Mon, 21 Jun 1999 15:42:12 +0000 (21 15:42 +0000)]
* java/lang/ieeefp.h (__IEEE_LITTLE_ENDIAN): Define for alpha.
From Jeff Sturm.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27671 138bc75d-0d04-0410-961f-82ee72b054a4
tromey [Mon, 21 Jun 1999 15:39:02 +0000 (21 15:39 +0000)]
Alpha patch from Jeff Sturm:
* os_dep.c (GC_init_linuxalpha): New function.
* misc.c: Initialize for alpha linux.
* gc_priv.h (GC_test_and_set): Define for alpha.
* config.h: Don't assume __data_start on alpha.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27670 138bc75d-0d04-0410-961f-82ee72b054a4
tromey [Mon, 21 Jun 1999 15:02:22 +0000 (21 15:02 +0000)]
* Makefile.in: Rebuilt.
* Makefile.am (libzgcj_la_LDFLAGS): Use -version-info, not
-release.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27669 138bc75d-0d04-0410-961f-82ee72b054a4
tromey [Mon, 21 Jun 1999 14:57:44 +0000 (21 14:57 +0000)]
* Makefile.in: Rebuilt.
* Makefile.am (libgcjgc_la_LDFLAGS): Use -version-info, not
-release.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27668 138bc75d-0d04-0410-961f-82ee72b054a4
tromey [Mon, 21 Jun 1999 13:03:47 +0000 (21 13:03 +0000)]
* Makefile.in: Rebuilt.
* Makefile.am (toolexeclibdir): Define as libdir when
appropriate.
* configure: Rebuilt.
* configure.in (USE_LIBDIR): New conditional.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27667 138bc75d-0d04-0410-961f-82ee72b054a4
jason [Mon, 21 Jun 1999 12:13:41 +0000 (21 12:13 +0000)]
up
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27666 138bc75d-0d04-0410-961f-82ee72b054a4
gerald [Mon, 21 Jun 1999 11:57:15 +0000 (21 11:57 +0000)]
* g77.texi: Update links.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27662 138bc75d-0d04-0410-961f-82ee72b054a4
dje [Mon, 21 Jun 1999 11:14:59 +0000 (21 11:14 +0000)]
* rs6000.md (movdf_hardfloat32): Fix typo in case 2.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27661 138bc75d-0d04-0410-961f-82ee72b054a4
tromey [Mon, 21 Jun 1999 11:14:41 +0000 (21 11:14 +0000)]
* configure: Rebuilt.
* configure.in: Recognize all forms of alpha.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27660 138bc75d-0d04-0410-961f-82ee72b054a4
vmakarov [Mon, 21 Jun 1999 09:42:51 +0000 (21 09:42 +0000)]
Mon Jun 21 12:27:17 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
* config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
Add the macros.
* config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
Ditto.
* config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
Ditto.
* config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27659 138bc75d-0d04-0410-961f-82ee72b054a4
aph [Mon, 21 Jun 1999 09:18:50 +0000 (21 09:18 +0000)]
1999-06-21 Andrew Haley <aph@cygnus.com>
* except.c (find_handler_in_range): The upper limit for exception
ranges is exclusive, not inclusive: (start <= pc < end).
(link_handler): find child pointer which points to outer by
searching sibling list: previous code incorrectly assumed that
outer->outer->first_child must point to outer.
* verify.c (verify_jvm_instructions): FIXME added to code for
`athrow'.
(verify_jvm_instructions): Do not assume that the last block
processed in a subroutine is a block which ends with a `ret'
instruction. With some control flows it is possible that the last
block ends with an `athrow'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27658 138bc75d-0d04-0410-961f-82ee72b054a4
nickc [Mon, 21 Jun 1999 07:25:35 +0000 (21 07:25 +0000)]
Add cpp support for ARM920 and ARM920T processor types.
Minor formatting tidies in arm.c and arm.md
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27657 138bc75d-0d04-0410-961f-82ee72b054a4
law [Mon, 21 Jun 1999 05:23:16 +0000 (21 05:23 +0000)]
x
* i386/djgpp.h (LIB_SPEC): New.
(STARTFILE_SPEC): New.
* i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27655 138bc75d-0d04-0410-961f-82ee72b054a4
law [Mon, 21 Jun 1999 05:23:11 +0000 (21 05:23 +0000)]
�
* i386/djgpp.h (LIB_SPEC): New.
(STARTFILE_SPEC): New.
* i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27654 138bc75d-0d04-0410-961f-82ee72b054a4
law [Mon, 21 Jun 1999 05:21:34 +0000 (21 05:21 +0000)]
x
* fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
compiler flags.
* system.h (WSTOPSIG): New macro.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27653 138bc75d-0d04-0410-961f-82ee72b054a4
law [Mon, 21 Jun 1999 05:21:30 +0000 (21 05:21 +0000)]
�
* fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
compiler flags.
* system.h (WSTOPSIG): New macro.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27652 138bc75d-0d04-0410-961f-82ee72b054a4
law [Mon, 21 Jun 1999 05:11:15 +0000 (21 05:11 +0000)]
* c-pragma.c (push_alignment): Don't ignore alignments greater than
4 bytes.
(insert_pack_attributes): Take into account member natural
alignment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27648 138bc75d-0d04-0410-961f-82ee72b054a4
law [Mon, 21 Jun 1999 05:01:18 +0000 (21 05:01 +0000)]
* configure.in (checkfuncs): Add gettimeofday.
* config.in, configure: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27647 138bc75d-0d04-0410-961f-82ee72b054a4
law [Mon, 21 Jun 1999 04:56:40 +0000 (21 04:56 +0000)]
p
* configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
the test fails.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27642 138bc75d-0d04-0410-961f-82ee72b054a4
law [Mon, 21 Jun 1999 04:56:38 +0000 (21 04:56 +0000)]
�
* configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
the test fails.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27641 138bc75d-0d04-0410-961f-82ee72b054a4
law [Mon, 21 Jun 1999 04:52:50 +0000 (21 04:52 +0000)]
* i386/winnt.c (exports_head): New static variable.
(i386_pe_record_exported_symbol): New function.
(i386_pe_asm_file_end): Use.
* i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
symbols to be emitted at end of assembly.
(ASM_DECLARE_OBJECT_NAME): Likewise.
(ASM_DECLARE_FUNCTION_NAME): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27639 138bc75d-0d04-0410-961f-82ee72b054a4
law [Mon, 21 Jun 1999 04:41:41 +0000 (21 04:41 +0000)]
�
* init.c (__objc_force_linking): Make global.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27638 138bc75d-0d04-0410-961f-82ee72b054a4
law [Mon, 21 Jun 1999 04:34:29 +0000 (21 04:34 +0000)]
whoops. Forgot to commit ChangeLog entry for missing @end ifclear change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27633 138bc75d-0d04-0410-961f-82ee72b054a4
law [Mon, 21 Jun 1999 04:33:58 +0000 (21 04:33 +0000)]
H
* i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
-iwithprefix.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27632 138bc75d-0d04-0410-961f-82ee72b054a4
law [Mon, 21 Jun 1999 04:33:55 +0000 (21 04:33 +0000)]
�
* i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
-iwithprefix.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27631 138bc75d-0d04-0410-961f-82ee72b054a4
law [Mon, 21 Jun 1999 04:31:59 +0000 (21 04:31 +0000)]
Add missing @end ifclear.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27630 138bc75d-0d04-0410-961f-82ee72b054a4
law [Mon, 21 Jun 1999 03:45:19 +0000 (21 03:45 +0000)]
Mon Jun 21 04:44:31 1999 Jeffrey A Law (law@cygnus.com)
* sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
in last change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27626 138bc75d-0d04-0410-961f-82ee72b054a4
jason [Mon, 21 Jun 1999 01:23:18 +0000 (21 01:23 +0000)]
rename for DOS
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27625 138bc75d-0d04-0410-961f-82ee72b054a4
law [Mon, 21 Jun 1999 00:45:05 +0000 (21 00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27623 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Sun, 20 Jun 1999 17:29:49 +0000 (20 17:29 +0000)]
* haifa-sched.c (sched_analyze_1): Use free_list instead of
zapping reg_last_uses directly.
(sched_analyze_2, sched_analyze_insn): Likewise.
(sched_analyze): Likewise. Don't clear reg_last_uses on calls.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27622 138bc75d-0d04-0410-961f-82ee72b054a4
dje [Sun, 20 Jun 1999 13:59:59 +0000 (20 13:59 +0000)]
* rs6000.md (movdf_hardfloat32): Use worst case insn length
attributes for cases 1 and 2.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27620 138bc75d-0d04-0410-961f-82ee72b054a4
law [Sun, 20 Jun 1999 00:45:03 +0000 (20 00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27618 138bc75d-0d04-0410-961f-82ee72b054a4
law [Sat, 19 Jun 1999 23:56:56 +0000 (19 23:56 +0000)]
* semantics.c (finish_asm_statement): Apply decay conversions to
input operands.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27617 138bc75d-0d04-0410-961f-82ee72b054a4
rth [Sat, 19 Jun 1999 22:54:14 +0000 (19 22:54 +0000)]
* haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
instead of set.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27615 138bc75d-0d04-0410-961f-82ee72b054a4
mmitchel [Sat, 19 Jun 1999 11:11:43 +0000 (19 11:11 +0000)]
* decl.c (expand_static_init): When building an anonymous function
for use with atexit, compute its body before and after entering
the function.
* error.c (dump_expr): Handle BIND_EXPR, LOOP_EXPR, and
EXIT_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27612 138bc75d-0d04-0410-961f-82ee72b054a4
rearnsha [Sat, 19 Jun 1999 06:32:05 +0000 (19 06:32 +0000)]
* arm.c (arm_override_options): Remove warning about PIC code
not being supported.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27610 138bc75d-0d04-0410-961f-82ee72b054a4