Richard Kenner
7280c2a4f0
(find_auto_inc): Ensure that all proposed changes to insns are valid
...
before commiting to the auto-inc.
From-SVN: r7889
1994-08-11 13:13:20 -04:00
Richard Kenner
70a76f06ad
(BLOCK_PROFILER): Use $26 and $27 instead of $0 and $1.
...
From-SVN: r7888
1994-08-11 13:12:06 -04:00
Richard Kenner
853782273d
(ASM_OUTPUT_SOURCE_LINE): Call assemble_name.
...
From-SVN: r7887
1994-08-11 13:09:32 -04:00
Richard Kenner
ba558a85d2
(expand_builtin): Relegate sin and cos to ffast-math.
...
From-SVN: r7886
1994-08-11 12:56:59 -04:00
Richard Kenner
5582b006ea
(expand_call): Ensure we call force_operand on structure_value_addr.
...
From-SVN: r7885
1994-08-11 12:48:40 -04:00
Richard Kenner
89e7a14a5c
(mostlyclean): Add missing -f.
...
From-SVN: r7884
1994-08-11 12:43:10 -04:00
Jeff Law
8d768fa2ae
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
1994-08-09 00:03:07 -06:00
Jeff Law
326bc2de1d
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
1994-08-09 00:03:07 -06:00
Richard Kenner
6ce47c075f
(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
1994-08-08 19:56:06 -04:00
Richard Kenner
879cad45f2
(TARGET_BITFIELD): New macro.
...
(TARGET_SWITCHES): Support for TARGET_BITFIELD.
From-SVN: r7880
1994-08-08 19:55:43 -04:00
Richard Kenner
b8318e4845
(all patterns that use ins/inss and ext/exts): Disallow use of these
...
instructions when -mnobitfield is specified.
From-SVN: r7879
1994-08-08 19:55:09 -04:00
Richard Kenner
1a19d593a0
(write_rbrac): Set up to use fixed headers if __USE_FIXED_HEADERS__ is
...
defined.
From-SVN: r7878
1994-08-08 19:50:27 -04:00
Richard Kenner
fbcd336067
(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
1994-08-08 19:41:47 -04:00
Richard Kenner
73b2ad9e64
(emit_reload_insns): Always clear new_spill_reg_store.
...
From-SVN: r7876
1994-08-08 19:36:17 -04:00
Richard Kenner
beb5a9b86e
(find_reloads): Force reload for paradoxical SUBREG of MEM if
...
BYTES_BIG_ENDIAN.
From-SVN: r7875
1994-08-08 19:25:16 -04:00
Richard Kenner
1d19ceaaea
(READONLY_DATA_SECTION): Remove definition.
...
From-SVN: r7874
1994-08-08 19:12:43 -04:00
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