Commit Graph

7960 Commits

Author SHA1 Message Date
Richard Kenner
ac9e20f0fb (expand_function_start): Only use static_chain_incoming_rtx once if it
is a REG and we have SMALL_REGISTER_CLASSES.

From-SVN: r7873
1994-08-08 17:08:00 -04:00
Richard Kenner
580d323043 (CLASS_CANNOT_CHANGE_SIZE): New macro.
From-SVN: r7872
1994-08-08 16:32:28 -04:00
Richard Kenner
899d4140a3 (find_free_reg): Fix typo in last change.
From-SVN: r7871
1994-08-08 16:31:51 -04:00
Richard Kenner
c31dfe4dc6 (CLASS_CANNOT_CHANGE_SIZE): New macro.
From-SVN: r7870
1994-08-07 08:54:28 -04:00
Richard Kenner
59e2c378c2 (eliminate_regs, case SUBREG): Add USE of pseudo so we don't
improperly delete an output reload.

From-SVN: r7869
1994-08-07 08:53:44 -04:00
Richard Kenner
486d850940 (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
1994-08-07 08:53:02 -04:00
Richard Kenner
cc33944ac1 (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
1994-08-07 08:52:33 -04:00
Richard Kenner
d546b10a8e (find_reg) If CLASS_CANNOT_CHANGE_SIZE, avoid its registers if
reg_changes_size.

From-SVN: r7866
1994-08-07 08:52:03 -04:00
Richard Kenner
0f64b8f696 (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
1994-08-07 08:51:35 -04:00
Richard Kenner
80f8f04ad1 (reg_changes_size): New variable.
(allocate_for_life_analysis): Allocate and initialize it.
(mark_used_regs, case SUBREG): Set it.

From-SVN: r7864
1994-08-07 08:51:03 -04:00
Richard Kenner
ffceec83e4 (reg_changes_size): Add declaration.
From-SVN: r7863
1994-08-07 08:50:40 -04:00
Mike Stump
a292b002ee 45th Cygnus<->FSF merge
From-SVN: r7862
1994-08-05 20:25:20 +00:00
Jason Merrill
fd67d2b620 (expand_expr...
(expand_expr, COND_EXPR case): Use truthvalue_conversion
        to make the condition for running cleanups acceptable to
        invert_truthvalue.

From-SVN: r7861
1994-08-05 19:02:42 +00:00
Jim Wilson
ceb1d26880 (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
1994-08-05 09:29:21 -07:00
Jim Wilson
976ef4f727 (DO_GLOBAL_CTORS_BODY): Use long instead of
HOST_WIDE_INT.

From-SVN: r7859
1994-08-05 09:22:40 -07:00
Jim Wilson
26f887e56d (distclean): Delete it.
From-SVN: r7858
1994-08-05 09:14:36 -07:00
Jason Merrill
4ea8537b90 (defer_cleanups_to): Put back line which was mistakenly
removed.

From-SVN: r7857
1994-08-05 01:49:31 +00:00
Doug Evans
8469d2903b (v9 va_start): Pass an arg to __builtin_next_arg.
(v9 va_arg): Advance over float's.

From-SVN: r7856
1994-08-04 01:36:07 +00:00
Doug Evans
a7acd9111d (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
1994-08-04 01:34:34 +00:00
Ian Lance Taylor
29421402b7 Various changes to avoid clobbering glibc header files
From-SVN: r7854
1994-08-03 15:13:59 +00:00
Richard Kenner
8e0ac43b33 (simplify_unary_operation): Clean up some mode and size checks with
CONST_DOUBLEs; TRUNCATE should do nothing.

From-SVN: r7853
1994-08-02 19:06:41 -04:00
Richard Kenner
3adde2a5c6 (subst_prev_insn): Remove variable and all uses.
From-SVN: r7852
1994-08-02 18:38:10 -04:00
Jim Wilson
2454c8d449 (V9_SWITCHES): Add -mmedlow, -mmedany.
(TARGET_OPTIONS): Delete.
(CONDITIONAL_REGISTER_USAGE): Don't unfix %g4 if -mmedany.

From-SVN: r7851
1994-08-02 11:53:35 -07:00
Jim Wilson
00dc0e0a65 (sparc_code_model): Delete.
(sparc_override_options): Code model flags only useable with v9.

From-SVN: r7850
1994-08-02 11:51:03 -07:00
Jim Wilson
b6d3c4ba80 (all DF/TFmode patterns): Use `e' in contraint field
instead of `f'.

From-SVN: r7849
1994-08-02 11:44:45 -07:00
Jim Wilson
24b6339643 (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
1994-08-02 11:41:16 -07:00
Richard Kenner
26fe82a7ce (arith64_operand): Integer CONST_DOUBLE is DImode.
From-SVN: r7847
1994-08-02 07:00:20 -04:00
Roland McGrath
f82b3ad0e1 Initial revision
From-SVN: r7846
1994-08-02 00:05:29 +00:00
Richard Kenner
c61f7d6959 (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
1994-08-01 19:27:34 -04:00
Richard Kenner
73c8c157ad 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
1994-08-01 18:52:34 -04:00
Jeff Law
b93f0d4924 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
1994-08-01 03:21:48 -06:00
Jason Merrill
9175051cae (expand_inline_function): Don't fall down trying to
pass things by invisible reference.

From-SVN: r7842
1994-07-31 21:31:00 +00:00
Richard Kenner
02cc38b5ee (my_strerror): New function.
(error_from_errno, perror_with_name): Use it.

From-SVN: r7841
1994-07-31 06:56:29 -04:00
Richard Kenner
7106180777 Fix typo.
From-SVN: r7840
1994-07-30 19:01:48 -04:00
Richard Kenner
474636f3e8 (fold_truthop): Apply masks to constants.
From-SVN: r7839
1994-07-30 18:18:55 -04:00
Richard Kenner
910d169398 (print_node{,_brief}): Use correct printf code to print INTEGER_CST if
HOST_WIDE_INT is wider than int.

From-SVN: r7838
1994-07-30 18:14:22 -04:00
Richard Kenner
39e0911f45 ({store,extract}_bit_field): Don't use bitfield insn if OP0 is
register and bitfield spans it.

From-SVN: r7837
1994-07-30 18:09:27 -04:00
Richard Kenner
311b7cd795 (print_operand): Integer CONST_DOUBLE is DImode.
From-SVN: r7836
1994-07-30 15:06:58 -04:00
Richard Kenner
0b41202241 (PRINT_OPERAND): Integer CONST_DOUBLE is DImode.
From-SVN: r7835
1994-07-30 15:05:30 -04:00
Richard Kenner
5b486ce001 (reg_or_0_operand): Integer CONST_DOUBLE is DImode.
From-SVN: r7834
1994-07-30 14:57:19 -04:00
Richard Kenner
b030b8c204 (PRINT_OPERAND): Integer CONST_DOUBLE is DImode.
From-SVN: r7833
1994-07-30 14:53:45 -04:00
Richard Kenner
67a3773731 (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
1994-07-30 12:58:42 -04:00
Richard Kenner
96c9d70dda (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
1994-07-30 12:54:26 -04:00
Richard Kenner
260ced47a7 (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
1994-07-30 12:53:17 -04:00
Richard Kenner
3861b61380 (finish_decl): Preserve initialializer if iterator.
From-SVN: r7829
1994-07-29 19:26:59 -04:00
Richard Kenner
be97202388 (bc_output_constructor): Return type now rtx.
From-SVN: r7828
1994-07-29 19:07:15 -04:00
Richard Kenner
5cf3f46752 (change_main_variant): Return type now void.
From-SVN: r7827
1994-07-29 19:06:41 -04:00
Richard Kenner
ccddffd588 (write_{l,r}brac): Specify return type of int.
From-SVN: r7826
1994-07-29 19:06:08 -04:00
Richard Kenner
1395fc236b (bc_sym_write): Change %d to %lu in printf calls.
From-SVN: r7825
1994-07-29 19:05:12 -04:00
Richard Kenner
b077f3ac2f Add declaration of ctime.
From-SVN: r7824
1994-07-29 19:04:10 -04:00