Commit Graph

7851 Commits

Author SHA1 Message Date
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
Richard Kenner
4acc00bf75 (expand_function_start): Initialize VALUE_ADDRESS.
From-SVN: r7823
1994-07-29 18:50:41 -04:00
Richard Kenner
0e9cff7f3a (build_unary_op, case *INCREMENT_EXPR): Add size in bytes, not value
of sizeof.

From-SVN: r7822
1994-07-29 18:33:29 -04:00
Richard Kenner
acb76ce3b4 (tst?f): Use CONST0_RTX instead of incorrect call to
immed_real_const_1.

From-SVN: r7821
1994-07-29 17:50:14 -04:00
Richard Kenner
72bb971732 (move_block_to_reg): Do nothing if NREGS == 0.
From-SVN: r7820
1994-07-29 17:36:13 -04:00
Richard Kenner
4f84546511 (special_symbol, do_xifdef): Don't access value.defn of a T_CONST.
From-SVN: r7819
1994-07-29 17:16:58 -04:00
Jason Merrill
e5952538c4 (DO_GLOBAL_CTORS_BODY): Reverse order of execution
of constuctor lists.

From-SVN: r7818
1994-07-29 19:03:37 +00:00
Jason Merrill
566b213ab1 Reverse order of execution of
destructor lists.

From-SVN: r7817
1994-07-29 19:03:37 +00:00
Richard Kenner
2c1c10ec5a (output_decl...
(output_decl, case FUNCTION_DECL): Corrected and simplified code that
determined when to generate varargs or ANSI stdargs variable length
parameter list DWARF information.

From-SVN: r7816
1994-07-28 19:56:18 -04:00
Richard Kenner
62acb9781f (expand_expr, case CONJ_EXPR): Use correct mode for parts of a complex
expression.

From-SVN: r7815
1994-07-28 19:48:33 -04:00