Jim Wilson [Sun, 14 Aug 1994 23:09:34 +0000 (16:09 -0700)]
(ASM_OUTPUT_NEWLINE): Delete.
(ASM_OUTPUT_ASCII): Define.
From-SVN: r7923
Jim Wilson [Sun, 14 Aug 1994 23:03:47 +0000 (16:03 -0700)]
(va_start): Add cast to __gnuc_va_list type.
From-SVN: r7922
Jim Wilson [Sun, 14 Aug 1994 23:01:37 +0000 (16:01 -0700)]
(mark_used_regs): When adding REG_DEAD notes...
(mark_used_regs): When adding REG_DEAD notes, check for
the case where a multiple register hard reg overlaps a register
set by the insn.
From-SVN: r7921
Jim Wilson [Sun, 14 Aug 1994 23:00:43 +0000 (16:00 -0700)]
(distribute_notes, case REG_DEAD): Add another
find_reg_fusage call.
From-SVN: r7920
Jim Wilson [Sun, 14 Aug 1994 22:59:58 +0000 (15:59 -0700)]
(attach_deaths): When adding REG_DEAD notes...
(attach_deaths): When adding REG_DEAD notes, check for
the case where a multiple register hard reg overlaps a register
set by the insn.
From-SVN: r7919
Jim Wilson [Sun, 14 Aug 1994 22:55:17 +0000 (15:55 -0700)]
(calculate_giv_inc): Handle constants loaded with IOR.
From-SVN: r7918
Richard Stallman [Sun, 14 Aug 1994 21:29:21 +0000 (21:29 +0000)]
(skip_if_group): New arg op. All callers changed.
If output_conditionals is true, output text of failed conditionals.
(conditional_skip): New arg op. All callers changed.
(main): Handle -ifoutput option.
From-SVN: r7917
Richard Kenner [Sun, 14 Aug 1994 13:51:43 +0000 (09:51 -0400)]
(print_node{,_brief}): Use REAL_VALUE_TO_DECIMAL to print REAL_CST
ifdef REAL_ARITHMETIC.
From-SVN: r7916
Richard Kenner [Sun, 14 Aug 1994 09:58:18 +0000 (05:58 -0400)]
(count_possible_groups) Pass CLASS as arg and only try to find groups
of that class.
From-SVN: r7915
Jim Wilson [Sat, 13 Aug 1994 21:12:08 +0000 (14:12 -0700)]
Renamed from t-sunos4.
From-SVN: r7914
Jim Wilson [Sat, 13 Aug 1994 21:11:09 +0000 (14:11 -0700)]
New file.
From-SVN: r7913
Jeff Law [Sat, 13 Aug 1994 17:51:15 +0000 (11:51 -0600)]
reload1.c (emit_reload_insns): Handle a secondary input reload which needs to use secondary memory too.
* reload1.c (emit_reload_insns): Handle a secondary input reload
which needs to use secondary memory too.
From-SVN: r7912
Richard Kenner [Fri, 12 Aug 1994 23:05:07 +0000 (19:05 -0400)]
(set_nonvarying_address_components): If BASE is CONST_INT, add value to start and set BASE to const0_rtx.
(set_nonvarying_address_components): If BASE is CONST_INT, add value to start
and set BASE to const0_rtx.
(refers_to_mem_p): Don't do it here.
From-SVN: r7911
Richard Kenner [Fri, 12 Aug 1994 22:59:51 +0000 (18:59 -0400)]
(expand_inline_function): Use single_set when appropriate.
Delete insn that sets static_chain_incoming_rtx before its use.
(subst_constants): Treat virtual reg as constant.
From-SVN: r7910
Richard Kenner [Fri, 12 Aug 1994 22:59:14 +0000 (18:59 -0400)]
(expand_function_start): Add redundant copy to static_chain_incoming_rtx if...
(expand_function_start): Add redundant copy to
static_chain_incoming_rtx if SMALL_REGISTER_CLASS so inlining works
properly.
From-SVN: r7909
Ian Lance Taylor [Fri, 12 Aug 1994 22:54:56 +0000 (22:54 +0000)]
Let mips_cpu and mips_cpu_string be defaulted.
From-SVN: r7908
Richard Kenner [Fri, 12 Aug 1994 18:58:02 +0000 (14:58 -0400)]
(movsf): Don't truncate if not register; clean up.
From-SVN: r7907
Richard Kenner [Fri, 12 Aug 1994 18:57:01 +0000 (14:57 -0400)]
(simplify_rtx, case FLOAT_TRUNCATE): Remove redundant float_truncate.
From-SVN: r7906
Richard Kenner [Fri, 12 Aug 1994 18:56:26 +0000 (14:56 -0400)]
(stupid_mark_refs): Only show changes size if one mode is integral.
From-SVN: r7905
Richard Kenner [Fri, 12 Aug 1994 18:56:03 +0000 (14:56 -0400)]
(mark_used_regs): Only show changes size if one mode is integral.
From-SVN: r7904
Stan Cox [Fri, 12 Aug 1994 17:43:12 +0000 (17:43 +0000)]
Made -pipe work for -msvr4. Added -D*_TARGET definitions.
From-SVN: r7903
Stan Cox [Fri, 12 Aug 1994 17:41:31 +0000 (17:41 +0000)]
Use bcnd instead of bb0/bb1 for optimize cases
From-SVN: r7902
Richard Kenner [Fri, 12 Aug 1994 13:10:54 +0000 (09:10 -0400)]
Fix typo in last change.
From-SVN: r7901
Richard Kenner [Fri, 12 Aug 1994 11:52:04 +0000 (07:52 -0400)]
(duplicate_decls): Suppress -Wredundant-decls warning if we have
already given an error.
From-SVN: r7900
Jason Merrill [Fri, 12 Aug 1994 08:28:45 +0000 (08:28 +0000)]
(expand_anon_union_decl): Fix up the alignment and mode
of the member VAR_DECLs.
From-SVN: r7899
Per Bothner [Thu, 11 Aug 1994 22:18:53 +0000 (15:18 -0700)]
Fix to previous check-in.
From-SVN: r7898
Richard Kenner [Thu, 11 Aug 1994 21:00:10 +0000 (17:00 -0400)]
*** empty log message ***
From-SVN: r7897
Richard Kenner [Thu, 11 Aug 1994 20:41:33 +0000 (16:41 -0400)]
(rescan): Fix botches with `-lint': the output buffer pointer was not recached properly, leading to lost output.
(rescan): Fix botches with `-lint': the output buffer pointer was not
recached properly, leading to lost output. Also, buffer overrun was
possible.
From-SVN: r7896
Per Bothner [Thu, 11 Aug 1994 20:41:05 +0000 (13:41 -0700)]
* tree.c (stabilize_reference): Handle COMPOUND_EXPR.
From-SVN: r7895
Per Bothner [Thu, 11 Aug 1994 20:36:33 +0000 (13:36 -0700)]
If NO_IMPLICIT_EXTERN_C is defined, add extern "C" { ... }.
From-SVN: r7894
Richard Kenner [Thu, 11 Aug 1994 18:23:38 +0000 (14:23 -0400)]
(dump_defn_1): Skip newlines and strings correctly.
From-SVN: r7893
Richard Kenner [Thu, 11 Aug 1994 18:09:15 +0000 (14:09 -0400)]
(FUNCTION_PROFILER): Load global pointer from $27, not $26.
From-SVN: r7892
Richard Kenner [Thu, 11 Aug 1994 17:55:23 +0000 (13:55 -0400)]
entered into RCS
From-SVN: r7891
Richard Kenner [Thu, 11 Aug 1994 17:52:11 +0000 (13:52 -0400)]
(NO_DOT_IN_LABEL): Define if HPUX_ASM.
From-SVN: r7890
Richard Kenner [Thu, 11 Aug 1994 17:13:20 +0000 (13:13 -0400)]
(find_auto_inc): Ensure that all proposed changes to insns are valid
before commiting to the auto-inc.
From-SVN: r7889
Richard Kenner [Thu, 11 Aug 1994 17:12:06 +0000 (13:12 -0400)]
(BLOCK_PROFILER): Use $26 and $27 instead of $0 and $1.
From-SVN: r7888
Richard Kenner [Thu, 11 Aug 1994 17:09:32 +0000 (13:09 -0400)]
(ASM_OUTPUT_SOURCE_LINE): Call assemble_name.
From-SVN: r7887
Richard Kenner [Thu, 11 Aug 1994 16:56:59 +0000 (12:56 -0400)]
(expand_builtin): Relegate sin and cos to ffast-math.
From-SVN: r7886
Richard Kenner [Thu, 11 Aug 1994 16:48:40 +0000 (12:48 -0400)]
(expand_call): Ensure we call force_operand on structure_value_addr.
From-SVN: r7885
Richard Kenner [Thu, 11 Aug 1994 16:43:10 +0000 (12:43 -0400)]
(mostlyclean): Add missing -f.
From-SVN: r7884
Jeff Law [Tue, 9 Aug 1994 06:03:07 +0000 (00:03 -0600)]
pa.md (default set high): Do not accept function label arithmetic as a valid operand.
* pa.md (default set high): Do not accept function label arithmetic
as a valid operand.
(default lo_sum): Likewise.
From-SVN: r7883
Jeff Law [Tue, 9 Aug 1994 06:03:07 +0000 (00:03 -0600)]
pa.c (hppa_legitimize_address): Do nothing with function label arithmetic.
* pa.c (hppa_legitimize_address): Do nothing with function label
arithmetic.
(emit_move_sequence): Split up function label arithmetic so that
function's address is loaded first, then constant part is added to
the function's address.
(is_function_label_plus_const): New function.
From-SVN: r7882
Richard Kenner [Mon, 8 Aug 1994 23:56:06 +0000 (19:56 -0400)]
(print_operand_address): A patch for 2.5.8 ended up at the wrong place.
(print_operand_address): A patch for 2.5.8 ended up at the wrong
place. Moved.
From-SVN: r7881
Richard Kenner [Mon, 8 Aug 1994 23:55:43 +0000 (19:55 -0400)]
(TARGET_BITFIELD): New macro.
(TARGET_SWITCHES): Support for TARGET_BITFIELD.
From-SVN: r7880
Richard Kenner [Mon, 8 Aug 1994 23:55:09 +0000 (19:55 -0400)]
(all patterns that use ins/inss and ext/exts): Disallow use of these
instructions when -mnobitfield is specified.
From-SVN: r7879
Richard Kenner [Mon, 8 Aug 1994 23:50:27 +0000 (19:50 -0400)]
(write_rbrac): Set up to use fixed headers if __USE_FIXED_HEADERS__ is
defined.
From-SVN: r7878
Richard Kenner [Mon, 8 Aug 1994 23:41:47 +0000 (19:41 -0400)]
(create_definition): Warn about `#define a@'...
(create_definition): Warn about `#define a@', since a diagnostic is
now required (see ISO TC1's addition to subclause 6.8). Also warn
about `#define is-empty(x) (!x)'.
From-SVN: r7877
Richard Kenner [Mon, 8 Aug 1994 23:36:17 +0000 (19:36 -0400)]
(emit_reload_insns): Always clear new_spill_reg_store.
From-SVN: r7876
Richard Kenner [Mon, 8 Aug 1994 23:25:16 +0000 (19:25 -0400)]
(find_reloads): Force reload for paradoxical SUBREG of MEM if
BYTES_BIG_ENDIAN.
From-SVN: r7875
Richard Kenner [Mon, 8 Aug 1994 23:12:43 +0000 (19:12 -0400)]
(READONLY_DATA_SECTION): Remove definition.
From-SVN: r7874
Richard Kenner [Mon, 8 Aug 1994 21:08:00 +0000 (17:08 -0400)]
(expand_function_start): Only use static_chain_incoming_rtx once if it
is a REG and we have SMALL_REGISTER_CLASSES.
From-SVN: r7873
Richard Kenner [Mon, 8 Aug 1994 20:32:28 +0000 (16:32 -0400)]
(CLASS_CANNOT_CHANGE_SIZE): New macro.
From-SVN: r7872
Richard Kenner [Mon, 8 Aug 1994 20:31:51 +0000 (16:31 -0400)]
(find_free_reg): Fix typo in last change.
From-SVN: r7871
Richard Kenner [Sun, 7 Aug 1994 12:54:28 +0000 (08:54 -0400)]
(CLASS_CANNOT_CHANGE_SIZE): New macro.
From-SVN: r7870
Richard Kenner [Sun, 7 Aug 1994 12:53:44 +0000 (08:53 -0400)]
(eliminate_regs, case SUBREG): Add USE of pseudo so we don't
improperly delete an output reload.
From-SVN: r7869
Richard Kenner [Sun, 7 Aug 1994 12:53:02 +0000 (08:53 -0400)]
(push_reload): Make test in LOAD_EXTEND_OP case more precise; handle CLASS_CANNOT_CHANGE_SIZE.
(push_reload): Make test in LOAD_EXTEND_OP case more precise; handle
CLASS_CANNOT_CHANGE_SIZE.
(find_relods): When setting force_reloads, make LOAD_EXTEND_OP case
more precise.
From-SVN: r7868
Richard Kenner [Sun, 7 Aug 1994 12:52:33 +0000 (08:52 -0400)]
(regs_change_size): New variable.
(stupid_life_analysis): Alloc, init and pass it to stupid_free_reg.
(stupid_mark_regs): Set it.
(stupid_find_reg): New arg, CHANGES_SIZE; avoid regs in
CLASS_CANNOT_CHANGE_SIZE if defined and CHANGES_SIZE nonzero.
From-SVN: r7867
Richard Kenner [Sun, 7 Aug 1994 12:52:03 +0000 (08:52 -0400)]
(find_reg) If CLASS_CANNOT_CHANGE_SIZE, avoid its registers if
reg_changes_size.
From-SVN: r7866
Richard Kenner [Sun, 7 Aug 1994 12:51:35 +0000 (08:51 -0400)]
(qty_changes_size): New variable.
(alloc_qty{,_for_scratch}, update_qty_class): Set it.
(local_alloc): Allocate it.
(find_free_reg): If CLASS_CANNOT_CHANGE_SIZE, avoid its registers if
qty_changes_size.
From-SVN: r7865
Richard Kenner [Sun, 7 Aug 1994 12:51:03 +0000 (08:51 -0400)]
(reg_changes_size): New variable.
(allocate_for_life_analysis): Allocate and initialize it.
(mark_used_regs, case SUBREG): Set it.
From-SVN: r7864
Richard Kenner [Sun, 7 Aug 1994 12:50:40 +0000 (08:50 -0400)]
(reg_changes_size): Add declaration.
From-SVN: r7863
Mike Stump [Fri, 5 Aug 1994 20:25:20 +0000 (20:25 +0000)]
45th Cygnus<->FSF merge
From-SVN: r7862
Jason Merrill [Fri, 5 Aug 1994 19:02:42 +0000 (19:02 +0000)]
(expand_expr...
(expand_expr, COND_EXPR case): Use truthvalue_conversion
to make the condition for running cleanups acceptable to
invert_truthvalue.
From-SVN: r7861
Jim Wilson [Fri, 5 Aug 1994 16:29:21 +0000 (09:29 -0700)]
(expand_mult): Accept DImode for synth_mult only if CONST_DOUBLE_HIGH is zero.
(expand_mult): Accept DImode for synth_mult only if
CONST_DOUBLE_HIGH is zero. Reject negative values for synth_mult
if the mode is larger than HOST_BITS_PER_INT. Don't do the
negate_variant if the mode is larger than HOST_BITS_PER_INT.
From-SVN: r7860
Jim Wilson [Fri, 5 Aug 1994 16:22:40 +0000 (09:22 -0700)]
(DO_GLOBAL_CTORS_BODY): Use long instead of
HOST_WIDE_INT.
From-SVN: r7859
Jim Wilson [Fri, 5 Aug 1994 16:14:36 +0000 (09:14 -0700)]
(distclean): Delete it.
From-SVN: r7858
Jason Merrill [Fri, 5 Aug 1994 01:49:31 +0000 (01:49 +0000)]
(defer_cleanups_to): Put back line which was mistakenly
removed.
From-SVN: r7857
Doug Evans [Thu, 4 Aug 1994 01:36:07 +0000 (01:36 +0000)]
(v9 va_start): Pass an arg to __builtin_next_arg.
(v9 va_arg): Advance over float's.
From-SVN: r7856
Doug Evans [Thu, 4 Aug 1994 01:34:34 +0000 (01:34 +0000)]
(v9 sparc_builtin_saveregs): Save quadword fp regs on 16 byte boundaries.
(v9 sparc_builtin_saveregs): Save quadword fp regs on
16 byte boundaries. Handle non-zero number of named fp args.
From-SVN: r7855
Ian Lance Taylor [Wed, 3 Aug 1994 15:13:59 +0000 (15:13 +0000)]
Various changes to avoid clobbering glibc header files
From-SVN: r7854
Richard Kenner [Tue, 2 Aug 1994 23:06:41 +0000 (19:06 -0400)]
(simplify_unary_operation): Clean up some mode and size checks with
CONST_DOUBLEs; TRUNCATE should do nothing.
From-SVN: r7853
Richard Kenner [Tue, 2 Aug 1994 22:38:10 +0000 (18:38 -0400)]
(subst_prev_insn): Remove variable and all uses.
From-SVN: r7852
Jim Wilson [Tue, 2 Aug 1994 18:53:35 +0000 (11:53 -0700)]
(V9_SWITCHES): Add -mmedlow, -mmedany.
(TARGET_OPTIONS): Delete.
(CONDITIONAL_REGISTER_USAGE): Don't unfix %g4 if -mmedany.
From-SVN: r7851
Jim Wilson [Tue, 2 Aug 1994 18:51:03 +0000 (11:51 -0700)]
(sparc_code_model): Delete.
(sparc_override_options): Code model flags only useable with v9.
From-SVN: r7850
Jim Wilson [Tue, 2 Aug 1994 18:44:45 +0000 (11:44 -0700)]
(all DF/TFmode patterns): Use `e' in contraint field
instead of `f'.
From-SVN: r7849
Jim Wilson [Tue, 2 Aug 1994 18:41:16 +0000 (11:41 -0700)]
(enum reg_class): New values EXTRA_FP_REGS,
GENERAL_OR_EXTRA_FP_REGS for the v9 case.
(REG_CLASS_NAMES): Likewise.
(REG_CLASS_CONTENTS): Likewise.
(REGNO_REG_CLASS): Handle EXTRA_FP_REGS.
(REG_CLASS_FROM_LETTER): Likewise, as `e'.
Treat `e' like `f' in v8 case.
(FP_REG_CLASS_P): New macro.
(PREFERRED_RELOAD_CLASS): Use it.
(SECONDARY_INPUT_RELOAD_CLASS, SECONDARY_OUTPUT_RELOAD_CLASS,
SECONDARY_MEMORY_NEEDED, CLASS_MAX_NREGS, REGISTER_MOVE_COST):
Likewise.
From-SVN: r7848
Richard Kenner [Tue, 2 Aug 1994 11:00:20 +0000 (07:00 -0400)]
(arith64_operand): Integer CONST_DOUBLE is DImode.
From-SVN: r7847
Roland McGrath [Tue, 2 Aug 1994 00:05:29 +0000 (00:05 +0000)]
Initial revision
From-SVN: r7846
Richard Kenner [Mon, 1 Aug 1994 23:27:34 +0000 (19:27 -0400)]
(permanent_allocation): When freeing to momentary_function_firstobj,
set momentary_firstobj to be the next available location (i.e.,
momentary_function_firstobj).
From-SVN: r7845
Richard Kenner [Mon, 1 Aug 1994 22:52:34 +0000 (18:52 -0400)]
Handle _BSD_WCHAR_T_ like _WCHAR_T_, since at least BSD/386 1.1 uses the former instead of the latter.
Handle _BSD_WCHAR_T_ like _WCHAR_T_, since at least BSD/386 1.1 uses
the former instead of the latter. If _BSD_RUNE_T_ is defined, then
define rune_t when we define wchar_t. Test definedness of _GCC_SIZE_T
as well as _GCC_SIZE_T_; likewise for _GCC_PTRDIFF_T and _GCC_WCHAR_T.
From-SVN: r7844
Jeff Law [Mon, 1 Aug 1994 09:21:48 +0000 (03:21 -0600)]
pa-ghpux.h, pa-hpux.h (LINK_SPEC): Any -g argument implies static linking.
* pa-ghpux.h, pa-hpux.h (LINK_SPEC): Any -g argument implies
static linking.
From-SVN: r7843
Jason Merrill [Sun, 31 Jul 1994 21:31:00 +0000 (21:31 +0000)]
(expand_inline_function): Don't fall down trying to
pass things by invisible reference.
From-SVN: r7842
Richard Kenner [Sun, 31 Jul 1994 10:56:29 +0000 (06:56 -0400)]
(my_strerror): New function.
(error_from_errno, perror_with_name): Use it.
From-SVN: r7841
Richard Kenner [Sat, 30 Jul 1994 23:01:48 +0000 (19:01 -0400)]
Fix typo.
From-SVN: r7840
Richard Kenner [Sat, 30 Jul 1994 22:18:55 +0000 (18:18 -0400)]
(fold_truthop): Apply masks to constants.
From-SVN: r7839
Richard Kenner [Sat, 30 Jul 1994 22:14:22 +0000 (18:14 -0400)]
(print_node{,_brief}): Use correct printf code to print INTEGER_CST if
HOST_WIDE_INT is wider than int.
From-SVN: r7838
Richard Kenner [Sat, 30 Jul 1994 22:09:27 +0000 (18:09 -0400)]
({store,extract}_bit_field): Don't use bitfield insn if OP0 is
register and bitfield spans it.
From-SVN: r7837
Richard Kenner [Sat, 30 Jul 1994 19:06:58 +0000 (15:06 -0400)]
(print_operand): Integer CONST_DOUBLE is DImode.
From-SVN: r7836
Richard Kenner [Sat, 30 Jul 1994 19:05:30 +0000 (15:05 -0400)]
(PRINT_OPERAND): Integer CONST_DOUBLE is DImode.
From-SVN: r7835
Richard Kenner [Sat, 30 Jul 1994 18:57:19 +0000 (14:57 -0400)]
(reg_or_0_operand): Integer CONST_DOUBLE is DImode.
From-SVN: r7834
Richard Kenner [Sat, 30 Jul 1994 18:53:45 +0000 (14:53 -0400)]
(PRINT_OPERAND): Integer CONST_DOUBLE is DImode.
From-SVN: r7833
Richard Kenner [Sat, 30 Jul 1994 16:58:42 +0000 (12:58 -0400)]
(fold_rtx, case MEM): Surround TRUNCATE for jump table entry with a CONST.
(fold_rtx, case '1'): Handle operand 0 of a CONST.
(fold_rtx, case PLUS): Handle (const (minus (label_ref) (label_ref))).
From-SVN: r7832
Richard Kenner [Sat, 30 Jul 1994 16:54:26 +0000 (12:54 -0400)]
(tablejump): Rework to look like normal add but verify that label is for next insn and is tablejump...
(tablejump): Rework to look like normal add but verify that label is
for next insn and is tablejump; look for ADDR_DIFF_ELT.
From-SVN: r7831
Richard Kenner [Sat, 30 Jul 1994 16:53:17 +0000 (12:53 -0400)]
(CASE_VECTOR_PC_RELATIVE): Define.
(ASM_OUTPUT_ADDR_VEC_ELT): Abort.
(ASM_OUTPUT_ADDR_DIFF_ELT): Now what used to be previous definition.
From-SVN: r7830
Richard Kenner [Fri, 29 Jul 1994 23:26:59 +0000 (19:26 -0400)]
(finish_decl): Preserve initialializer if iterator.
From-SVN: r7829
Richard Kenner [Fri, 29 Jul 1994 23:07:15 +0000 (19:07 -0400)]
(bc_output_constructor): Return type now rtx.
From-SVN: r7828
Richard Kenner [Fri, 29 Jul 1994 23:06:41 +0000 (19:06 -0400)]
(change_main_variant): Return type now void.
From-SVN: r7827
Richard Kenner [Fri, 29 Jul 1994 23:06:08 +0000 (19:06 -0400)]
(write_{l,r}brac): Specify return type of int.
From-SVN: r7826
Richard Kenner [Fri, 29 Jul 1994 23:05:12 +0000 (19:05 -0400)]
(bc_sym_write): Change %d to %lu in printf calls.
From-SVN: r7825
Richard Kenner [Fri, 29 Jul 1994 23:04:10 +0000 (19:04 -0400)]
Add declaration of ctime.
From-SVN: r7824