Jim Wilson [Thu, 1 May 1997 18:43:30 +0000 (11:43 -0700)]
(mips_asm_file_start): Use new macro TARGET_FILE_SWITCHING.
(mips_asm_file_end): Likewise.
From-SVN: r14005
Jim Wilson [Thu, 1 May 1997 18:41:48 +0000 (11:41 -0700)]
(TARGET_FILE_SWITCHING): Define.
(NO_DBX_FUNCTION_END): Define.
From-SVN: r14004
Richard Kenner [Thu, 1 May 1997 13:08:38 +0000 (09:08 -0400)]
(output_addsi3): Replace "\\;" by "\n\t" in assembler templates.
From-SVN: r14003
Richard Kenner [Thu, 1 May 1997 13:00:40 +0000 (09:00 -0400)]
(subst_constants, case SUBREG): Cancel changes once done with result.
From-SVN: r14002
Jim Wilson [Thu, 1 May 1997 00:15:43 +0000 (17:15 -0700)]
(MASK_SPLIT_ADDR, TARGET_SPLIT_ADDRESSES): New macros.
(TARGET_SWITCHES): Add -msplit-addresses, -mno-split-addresses.
From-SVN: r14001
Jim Wilson [Thu, 1 May 1997 00:14:55 +0000 (17:14 -0700)]
(override_options): Set mips_split_addresses only if
TARGET_SPLIT_ADDRESSES is set.
From-SVN: r14000
Jim Wilson [Thu, 1 May 1997 00:02:48 +0000 (17:02 -0700)]
(current_function_is_thunk): Add extern to declaration.
From-SVN: r13999
Jim Wilson [Wed, 30 Apr 1997 23:56:40 +0000 (16:56 -0700)]
(dbxout_function): Test NO_DBX_FUNCTION_END at run time
instead of compile time.
From-SVN: r13998
Jim Wilson [Wed, 30 Apr 1997 23:53:13 +0000 (16:53 -0700)]
(set_dominates_use): In second loop, add check for copy_end.
From-SVN: r13997
Jason Merrill [Wed, 30 Apr 1997 23:48:10 +0000 (23:48 +0000)]
x
From-SVN: r13996
Jim Wilson [Wed, 30 Apr 1997 23:45:13 +0000 (16:45 -0700)]
(paradoxical_extendhidi2, paradoxical_extendqidi2): New patterns.
From-SVN: r13995
Jason Merrill [Wed, 30 Apr 1997 18:13:30 +0000 (18:13 +0000)]
x
From-SVN: r13994
Jason Merrill [Wed, 30 Apr 1997 10:01:03 +0000 (10:01 +0000)]
Formerly extend.texi.~115~
From-SVN: r13993
Jason Merrill [Wed, 30 Apr 1997 09:41:22 +0000 (09:41 +0000)]
x
From-SVN: r13992
Jeff Law [Tue, 29 Apr 1997 22:12:25 +0000 (16:12 -0600)]
lib1funcs.asm (divnorm, [...]): Fix code to negate SImode values.
* lib1funcs.asm (divnorm, modnorm, exitdiv): Fix code to
negate SImode values.
From-SVN: r13991
Mike Stump [Tue, 29 Apr 1997 20:03:15 +0000 (20:03 +0000)]
except.c (expand_eh_region_start_tree): Add DECL argument so we can better track why the region was made for error...
* except.c (expand_eh_region_start_tree): Add DECL argument so we
can better track why the region was made for error reporting.
* except.h (expand_eh_region_start_tree): Likewise.
* tree.h (expand_dhc_cleanup): Likewise.
(expand_dcc_cleanup): Likewise.
* except.c (expand_eh_region_start_for_decl): New routine.
* except.h (expand_eh_region_start_for_decl): Likewise.
* stmt.c (expand_decl_cleanup): Add DECL to call of
expand_eh_region_start_tree.
(expand_dcc_cleanup): Likewise.
(expand_dhc_cleanup): Likewise.
(expand_start_case): Switches introduce conditional contexts.
(expand_start_case_dummy): Likewise.
(expand_start_case_dummy): Likewise.
(expand_end_case): Likewise.
From-SVN: r13990
Jason Merrill [Tue, 29 Apr 1997 19:18:21 +0000 (19:18 +0000)]
x
From-SVN: r13989
Jason Merrill [Tue, 29 Apr 1997 18:44:29 +0000 (18:44 +0000)]
x
From-SVN: r13988
Jeff Law [Mon, 28 Apr 1997 15:17:21 +0000 (09:17 -0600)]
h8300.c (push_order, pop_order): Add missing initializer entries.
* h8300.c (push_order, pop_order): Add missing initializer
entries.
From-SVN: r13987
Karl Berry [Sun, 27 Apr 1997 19:40:44 +0000 (19:40 +0000)]
Avoid expansion in node titles.
Merge cropmarks code into main output routine.
From-SVN: r13986
Doug Evans [Sat, 26 Apr 1997 05:14:45 +0000 (05:14 +0000)]
(pushcase_range): [try to] properly apply previous patch of empty range test.
From-SVN: r13985
Jeff Law [Fri, 25 Apr 1997 22:42:07 +0000 (16:42 -0600)]
* h8300.c (output_adds_subs): check for adding 0.
From-SVN: r13984
Jason Merrill [Fri, 25 Apr 1997 19:03:46 +0000 (19:03 +0000)]
x
From-SVN: r13983
Jim Wilson [Fri, 25 Apr 1997 18:43:11 +0000 (11:43 -0700)]
Initial revision
From-SVN: r13982
Stan Cox [Fri, 25 Apr 1997 16:27:50 +0000 (16:27 +0000)]
(DBX_*): Use definitions from config/dbxcoff.h instead.
From-SVN: r13981
Jason Merrill [Fri, 25 Apr 1997 02:15:39 +0000 (02:15 +0000)]
x
From-SVN: r13980
Jason Merrill [Fri, 25 Apr 1997 01:32:46 +0000 (01:32 +0000)]
x
From-SVN: r13979
Jim Wilson [Thu, 24 Apr 1997 21:10:56 +0000 (14:10 -0700)]
(MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Add
TARGET_5200 support.
From-SVN: r13978
Richard Kenner [Thu, 24 Apr 1997 20:39:21 +0000 (16:39 -0400)]
(pushcase_range): Check for null range first.
From-SVN: r13977
Jason Merrill [Thu, 24 Apr 1997 07:25:19 +0000 (07:25 +0000)]
Formerly extend.texi.~114~
From-SVN: r13976
Ian Lance Taylor [Thu, 24 Apr 1997 03:09:29 +0000 (03:09 +0000)]
Use push_operand to check for changes to the stack pointer
From-SVN: r13975
Jason Merrill [Thu, 24 Apr 1997 02:55:16 +0000 (02:55 +0000)]
x
From-SVN: r13974
Jeff Law [Wed, 23 Apr 1997 23:54:59 +0000 (17:54 -0600)]
mn10300.c (secondary_reload_class): Handle more cases where we need secondary reloads.
* mn10300.c (secondary_reload_class): Handle more cases where we
need secondary reloads.
(impossible_plus_operand): Accept anything that involves addition
of the stack pointer.
* mn10300.md (reload_insi): Always load the stack pointer into
the destination (which is always an address register).
* mn10300.h (STORE_FLAG_VALUE): Remove definition.
* xm-mn10300.h: Declare malloc, realloc, calloc and free.
From-SVN: r13973
Mike Stump [Wed, 23 Apr 1997 22:45:03 +0000 (22:45 +0000)]
91th Cygnus<->FSF merge
From-SVN: r13972
Mike Stump [Wed, 23 Apr 1997 22:39:53 +0000 (22:39 +0000)]
91th Cygnus<->FSF merge
From-SVN: r13971
Ian Lance Taylor [Wed, 23 Apr 1997 21:27:40 +0000 (21:27 +0000)]
Don't assume a SUBREG can not conflict with a MEM
From-SVN: r13970
Mike Stump [Wed, 23 Apr 1997 20:11:52 +0000 (20:11 +0000)]
Add setjmp/longjmp exception handling.
From-SVN: r13969
Mike Stump [Wed, 23 Apr 1997 20:04:25 +0000 (20:04 +0000)]
Add setjmp/longjmp exception handling.
From-SVN: r13968
Doug Evans [Wed, 23 Apr 1997 13:50:37 +0000 (13:50 +0000)]
Initial revision
From-SVN: r13967
Richard Kenner [Wed, 23 Apr 1997 13:48:57 +0000 (09:48 -0400)]
(DUCR.M,DUC.M): Defined.
From-SVN: r13966
Richard Kenner [Wed, 23 Apr 1997 13:48:20 +0000 (09:48 -0400)]
(FRAME_POINTER_REQUIRED): Not required.
(INITIAL_FRAME_POINTER_OFFSET,FIX_FRAME_POINTER_ADDRESS): Undefine.
(FUNCTION_PROLOGUE,FUNCTION_EPILOGUE): Honor -fomit-frame-pointer.
(ELIMINABLE_REGS,CAN_ELIMINATE,INITIAL_ELIMINATION_OFFSET): Defined.
(PREFERRED_RELOAD_CLASS): Corrected.
(CONST_COSTS,ADDRESS_COST,REGISTER_MOVE_COST,MEMORY_MOVE_COST):
Slight adjustments.
(ASM_APP_ON,ASM_APP_OFF): Corrected.
From-SVN: r13965
Richard Kenner [Wed, 23 Apr 1997 13:47:57 +0000 (09:47 -0400)]
(memop_valid): Memory indirection now valid.
(nonindirect_operand): Remove.
(print_operand): Fix 'J' output modifier.
From-SVN: r13964
Richard Kenner [Wed, 23 Apr 1997 13:47:27 +0000 (09:47 -0400)]
(cmphi): Fixed when next CC user is unsigned.
(mov[hq]i-[23]): New patterns for mem-indirect moves.
(movhf,movtqf): Corrected.
From-SVN: r13963
Richard Kenner [Wed, 23 Apr 1997 13:41:32 +0000 (09:41 -0400)]
(push_reload): Fix last argument of the call to find_dummy_reload.
From-SVN: r13962
Richard Kenner [Wed, 23 Apr 1997 13:34:56 +0000 (09:34 -0400)]
entered into RCS
From-SVN: r13961
Richard Kenner [Wed, 23 Apr 1997 13:29:12 +0000 (09:29 -0400)]
Remove include of machmode.h.
From-SVN: r13960
Richard Kenner [Wed, 23 Apr 1997 13:28:42 +0000 (09:28 -0400)]
(nextstep.o): New rule.
From-SVN: r13959
Richard Kenner [Wed, 23 Apr 1997 13:28:09 +0000 (09:28 -0400)]
Add includes for config.h, stdio.h, and flags.h.
From-SVN: r13958
Jason Merrill [Wed, 23 Apr 1997 00:39:04 +0000 (00:39 +0000)]
x
From-SVN: r13957
Jim Wilson [Tue, 22 Apr 1997 22:19:47 +0000 (15:19 -0700)]
(gen_variable_dir): Add test for DW_AT_declaration to the old_die if statement, and delete assertion for it.
(gen_variable_dir): Add test for DW_AT_declaration to
the old_die if statement, and delete assertion for it.
(decl_ultimate_origin): Remove last change.
From-SVN: r13956
Jeff Law [Tue, 22 Apr 1997 16:29:04 +0000 (10:29 -0600)]
mn10300.c (expand_prologue): End the current sequence before counting the tst insns in the current function.
* mn10300.c (expand_prologue): End the current sequence before
counting the tst insns in the current function. Start a new
one before emitting any prologue instructions.
* mn10300.h (REGISTER_MOVE_COST): Bump up cost of moves in the
same class.
* mn10300.md (untyped_call): New expander.
From-SVN: r13955
Jim Wilson [Mon, 21 Apr 1997 21:51:13 +0000 (14:51 -0700)]
Set TARGET_LIBGCC2_CFLAGS instead of LIBGCC2_CFLAGS.
From-SVN: r13954
Richard Kenner [Mon, 21 Apr 1997 20:30:16 +0000 (16:30 -0400)]
(fold_rtx, case PLUS): When seeing if negative of constant is around,
make sure not dealing with largest negative.
From-SVN: r13953
Jim Wilson [Mon, 21 Apr 1997 17:57:09 +0000 (10:57 -0700)]
(output_addsi3): New function. From addsi3 pattern.
From-SVN: r13952
Jim Wilson [Mon, 21 Apr 1997 17:56:17 +0000 (10:56 -0700)]
(movqi+2): Add address registers.
(movxf+1): Disable for TARGET_5200.
(movxf+2): New pattern for TARGET_5200.
(addsi3): Add define_expand. Move code to output_addsi3.
(addsi3_internal): Renamed from addsi3. Disable for TARGET_5200.
(addsi3_5200): New pattern for TARGET_5200.
From-SVN: r13951
Jim Wilson [Mon, 21 Apr 1997 17:55:28 +0000 (10:55 -0700)]
(output_addsi3): Add declaration.
From-SVN: r13950
Richard Kenner [Mon, 21 Apr 1997 01:27:07 +0000 (21:27 -0400)]
(operand_equal_p): Constants are not equal if there has been an overflow.
From-SVN: r13949
Richard Kenner [Mon, 21 Apr 1997 00:00:04 +0000 (20:00 -0400)]
(compile_file): Shorten "branch-probabilities" in output of times.
From-SVN: r13948
Richard Kenner [Sun, 20 Apr 1997 22:07:19 +0000 (18:07 -0400)]
(DWARF2_DEBUGGING_INFO): Define.
From-SVN: r13947
Richard Kenner [Sun, 20 Apr 1997 21:59:58 +0000 (17:59 -0400)]
Delete junk comment.
From-SVN: r13946
Richard Kenner [Sun, 20 Apr 1997 21:50:20 +0000 (17:50 -0400)]
(MOD[SD]I_LIBCALL): Call ots$rem, not ots$mod.
From-SVN: r13945
Richard Kenner [Sun, 20 Apr 1997 21:48:27 +0000 (17:48 -0400)]
(alpha_need_linkage): Call get_identifier.
From-SVN: r13944
Richard Kenner [Sun, 20 Apr 1997 21:44:57 +0000 (17:44 -0400)]
(nonlocal_goto_receiver): New pattern.
From-SVN: r13943
Richard Kenner [Sun, 20 Apr 1997 21:44:06 +0000 (17:44 -0400)]
(rs6000_output_load_toc_table): New function.
(output_prolog): Call it instead of doing it directly.
From-SVN: r13942
Richard Kenner [Sun, 20 Apr 1997 21:10:38 +0000 (17:10 -0400)]
(dwarf2out.o): Includes expr.h.
From-SVN: r13941
Richard Kenner [Sun, 20 Apr 1997 21:10:19 +0000 (17:10 -0400)]
Major cleanup; mostly reformatting.
Include expr.h.
Undefine inline ifndef __GNUC__; never define to include static.
Add "static" to header of all inlined functions.
Add declarations for all static functions, with prototypes.
(addr_const_to_string): Use HOST_WIDE_INT_PRINT_* macros.
(add_AT_*, new_{die,loc_descr,cfi): Don't check for xmalloc returning zero.
(modified_type_die): Add missing parm on recursive call.
({reg,based}_loc_descriptor): Add missing arg to call to new_loc_descr.
(add_const_value_attribute): Use REAL_VALUE_TYPE for fp calculations.
(output_call_frame_info): Add missing arg to output_cfi call.
(dwarf2out_def_cfa): Local variable OLD_REG must be unsigned long.
From-SVN: r13940
Richard Kenner [Sun, 20 Apr 1997 16:54:50 +0000 (12:54 -0400)]
Cast first arg in all calls to bzero to char *.
(decl_ultimate_origin): Return NULL if equal to decl.
(constant_size): Never return more than 4.
(value_format, case 8): New case.
(dwarf2out_frame_debug): Use HARD_FRAME_POINTER_REGNUM.
(based_loc_descr): Likewise.
(add_bound_info): Delete default case.
Add cases for CONVERT_EXPR and NON_LVALUE_EXPR; treat like NOP_EXPR.
Change NOP_EXPR to to recursive call.
(add_type_attribute): Ignore unnamed subtype of integral or FP.
(gen_subprogram_die): Use reg_loc_descriptor.
(dwarf2out_decl): Ignore nested functions.
From-SVN: r13939
Richard Kenner [Sun, 20 Apr 1997 16:39:28 +0000 (12:39 -0400)]
Use symbolic codes for exit.
From-SVN: r13938
Richard Kenner [Sun, 20 Apr 1997 16:25:03 +0000 (12:25 -0400)]
(profile_function): Only call ASM_OUTPUT_REG_{PUSH,POP} if defined.
From-SVN: r13937
Richard Kenner [Sun, 20 Apr 1997 16:19:20 +0000 (12:19 -0400)]
({move,clear}_by_pieces_1, expand_assignment): Ensure we have unshared rtx before changing flags.
({move,clear}_by_pieces_1, expand_assignment): Ensure we have unshared rtx
before changing flags.
(store_{constructor,field}): Likewise.
(expand_expr, case COMPONENT_REF): Likewise.
(store_expr): Check if TEMP and TARGET are same with rtx_equal_p.
From-SVN: r13936
Richard Kenner [Sun, 20 Apr 1997 14:45:33 +0000 (10:45 -0400)]
(change_address, init_emit): Delete forward references.
(rtl_obstack, stack_depth, max_stack_depth): Delete extern decls.
From-SVN: r13935
Jason Merrill [Sun, 20 Apr 1997 10:25:49 +0000 (10:25 +0000)]
x
From-SVN: r13934
Jim Wilson [Fri, 18 Apr 1997 22:40:55 +0000 (15:40 -0700)]
(instantiate_decls): For DECL_INCOMING_RTL, use max
of type size and mode size in instantiate_decl call.
From-SVN: r13933
Jim Wilson [Fri, 18 Apr 1997 22:25:17 +0000 (15:25 -0700)]
(sys/lc_core.h): Fix OSF1/4.x namespace pollution.
From-SVN: r13932
Paul Eggert [Fri, 18 Apr 1997 00:47:55 +0000 (00:47 +0000)]
automatically generated from GPLed version
From-SVN: r13929
Ian Lance Taylor [Thu, 17 Apr 1997 18:00:12 +0000 (18:00 +0000)]
Fixes for MIPS OpenBSD systems (from Per Fogelstrom
<pefo@openbsd.org>)
From-SVN: r13910
Jason Merrill [Thu, 17 Apr 1997 11:33:02 +0000 (11:33 +0000)]
x
From-SVN: r13909
Jeff Law [Tue, 15 Apr 1997 18:51:06 +0000 (12:51 -0600)]
Fix typo in last change.
From-SVN: r13908
David Edelsohn [Mon, 14 Apr 1997 22:09:53 +0000 (22:09 +0000)]
define itrunc, uitrunc, and mcount macros without prepended underscores
From-SVN: r13907
David Edelsohn [Mon, 14 Apr 1997 22:07:42 +0000 (22:07 +0000)]
prepend underscores to itrunc and uitrunc
define RS6000_MCOUNT macro as symbol with underscores
From-SVN: r13906
David Edelsohn [Mon, 14 Apr 1997 22:06:31 +0000 (22:06 +0000)]
change hardcoded .mcount to RS6000_MCOUNT
From-SVN: r13905
Jim Wilson [Mon, 14 Apr 1997 21:57:14 +0000 (14:57 -0700)]
(xtrct_left, xtrct_right): New patterns.
From-SVN: r13904
Jeff Law [Mon, 14 Apr 1997 20:59:44 +0000 (14:59 -0600)]
mn10300.c (can_use_return_insn): Include outgoing argument area in size computation.
* mn10300.c (can_use_return_insn): Include outgoing argument
area in size computation.
(expand_prologue): Likewise. No longer diddle with sequences.
Put register saves just before outgoing argument area.
(expand_epilogue): Similarly.
(impossible_plus_operand): New function.
* mn10300.h (FRAME_POINTER_REQUIRED): Never require a frame pointer.
(ACCUMULATE_OUTGOING_ARGS, OUTGOING_REG_PARM_STACK_SPACE): Define.
(impossible_plus_operand): Declare.
* mn10300.md (reload_insi): New expander to handle pathological
reload cases.
(addsi3): Fix CC status.
* mn10300.h (FUNCTION_VALUE): Return addresses in $a0.
(FUNCTION_VALUE_REGNO_P): Corresponding changes.
* mn10300.md (call_value_internal): Allow output to be in an
address register.
From-SVN: r13903
Jeff Law [Mon, 14 Apr 1997 20:45:20 +0000 (14:45 -0600)]
calls.c (emit_library_call): Handle saving of stack slots when ACCUMULATE_OUTGOING_ARGS is defined.
* calls.c (emit_library_call): Handle saving of stack slots when
ACCUMULATE_OUTGOING_ARGS is defined.
(emit_library_call_value): Likewise.
From-SVN: r13902
Michael Meissner [Mon, 14 Apr 1997 19:04:40 +0000 (19:04 +0000)]
Add -mcpu={604e,801,823} support
From-SVN: r13901
Jim Wilson [Mon, 14 Apr 1997 18:46:37 +0000 (11:46 -0700)]
(get_last_value_validate): New argument insn.
Add check for memory reference clobbered by later store.
(record_value_for_reg, get_last_values): Pass in new argument.
From-SVN: r13900
Ian Lance Taylor [Mon, 14 Apr 1997 01:03:03 +0000 (01:03 +0000)]
When clobbering a reg, check for later words of a multi word reg value
From-SVN: r13899
Doug Evans [Sun, 13 Apr 1997 23:30:18 +0000 (23:30 +0000)]
calls.c (expand_call): When copying unaligned values into a register...
* calls.c (expand_call): When copying unaligned values into a register,
zero out the register first rather than emitting a clobber.
From-SVN: r13898
Doug Evans [Sun, 13 Apr 1997 23:29:50 +0000 (23:29 +0000)]
* expr.c (move_block_from_reg): Try using an integral mov operation first.
From-SVN: r13897
Ian Lance Taylor [Sun, 13 Apr 1997 22:45:30 +0000 (22:45 +0000)]
Get the modes right when setting reg_values for a reg to reg copy
From-SVN: r13896
Doug Evans [Sun, 13 Apr 1997 21:24:37 +0000 (21:24 +0000)]
integrate.c (copy_rtx_and_substitute): If FRAME_GROWS_DOWNWARD and regno == VIRTUAL_STACK_VARS_REGNUM...
* integrate.c (copy_rtx_and_substitute): If FRAME_GROWS_DOWNWARD
and regno == VIRTUAL_STACK_VARS_REGNUM, round size of stack slot up
before calling assign_stack_temp.
From-SVN: r13895
Richard Kenner [Sun, 13 Apr 1997 19:34:53 +0000 (15:34 -0400)]
(ASM_SPEC): Define.
(STRUCT_VALUE_REGNUM, STATIC_CHAIN_REGNUM, INITIALIZE_TRAMPOLINE):
Remove definitions, undoing the change of Mar 20 1996.
From-SVN: r13894
Richard Kenner [Sun, 13 Apr 1997 19:29:35 +0000 (15:29 -0400)]
(fake_f_rep): Add missing element name in cast.
From-SVN: r13893
Richard Kenner [Sun, 13 Apr 1997 19:20:03 +0000 (15:20 -0400)]
(layout_record, PCC_BITFIELD_TYPE_MATTERS): Fix sign bug in last change.
From-SVN: r13892
Richard Kenner [Sun, 13 Apr 1997 19:15:21 +0000 (15:15 -0400)]
(output_move_qimode): Optimize pushing one byte if the source operand
does not use the stack pointer.
From-SVN: r13891
Richard Kenner [Sun, 13 Apr 1997 19:04:36 +0000 (15:04 -0400)]
(movstricthi): Remove extraneous comparisons.
From-SVN: r13890
Richard Kenner [Sun, 13 Apr 1997 19:02:08 +0000 (15:02 -0400)]
Initial revision
From-SVN: r13889
Richard Kenner [Sun, 13 Apr 1997 18:51:22 +0000 (14:51 -0400)]
(canon_reg, cse_insn): Don't examine insn_n_dups if recog_memoized
fails to find a match.
From-SVN: r13888
Richard Kenner [Sun, 13 Apr 1997 18:30:13 +0000 (14:30 -0400)]
(do_include): Diagnose #import and #include_next if pedantic and if not in a system header.
(do_include): Diagnose #import and #include_next if pedantic and if
not in a system header.
(do_warning): #warning now causes an error if -pedantic-errors is
given; this is needed since #warning isn't ANSI.
From-SVN: r13887
Ian Lance Taylor [Sun, 13 Apr 1997 18:20:27 +0000 (18:20 +0000)]
Remove REG_DEAD notes when eliminating a set in the reload CSE pass
From-SVN: r13886