Richard Kenner [Wed, 30 Mar 1994 22:37:08 +0000 (17:37 -0500)]
(standard_68881_constant_p): Return 0 if NO_ASM_FMOVECR defined.
From-SVN: r6928
Richard Kenner [Wed, 30 Mar 1994 22:36:47 +0000 (17:36 -0500)]
(NO_ASM_FMOVECR): Defined.
From-SVN: r6927
Richard Kenner [Wed, 30 Mar 1994 22:30:32 +0000 (17:30 -0500)]
(FUNCTION_PROLOGUE): use __GLOBAL_OFFSET_TABLE_, not _GLOBAL_OFFSET_TABLE_.
(LEGITIMATE_CONSTANT_P, LEGITIMATE_PIC_OPERAND_P): Use
LEGITIMATE_PIC_OPERAND_P, not LEGITIMATE_CONSTANT_P,
to set current_function_uses_pic_offset_table.
(INDIRECTABLE_1_ADDRESS_P): Baseregisters are not legal
for {LABEL,SYMBOL}_REFS when emitting pic.
(GO_IF_INDEXABLE_ADDRESS): INDIRECTABLE_1_ADDRESSes are indexable too.
From-SVN: r6926
Richard Kenner [Wed, 30 Mar 1994 22:30:05 +0000 (17:30 -0500)]
(global_symbolic_reference_mentioned_p): New parameter F.
(print_operand_address): When generating pic baseregisters are only
allowed if offset is CONST_INT. For {SYMBOL,LABEL}_REF a indexregister
has to be used instead. (sb) is no longer emitted for constant
absolute addresses. (output_move_double): Use CONSTANT_P instead of
CONSTANT_ADDRESS_P.
From-SVN: r6925
Richard Kenner [Wed, 30 Mar 1994 22:21:05 +0000 (17:21 -0500)]
(process_command, case 'B'): If name is "stageN/", add "include" to
system include prefix.
From-SVN: r6924
Richard Kenner [Wed, 30 Mar 1994 22:16:20 +0000 (17:16 -0500)]
Fix copyright notice.
From-SVN: r6923
Richard Kenner [Wed, 30 Mar 1994 22:15:20 +0000 (17:15 -0500)]
Include <stdarg.h> instead of "gstdarg.h"; similarly for varargs.
From-SVN: r6922
Richard Kenner [Wed, 30 Mar 1994 21:59:47 +0000 (16:59 -0500)]
(strip_compound_expr): New function.
(fold): Call it; avoid exponential work when simplifying binary op over
a COND_EXPR.
From-SVN: r6921
Richard Kenner [Wed, 30 Mar 1994 21:52:21 +0000 (16:52 -0500)]
(cse_insn): Add missing definition of var TEM; clean up shadowed uses.
From-SVN: r6920
Richard Kenner [Wed, 30 Mar 1994 21:38:29 +0000 (16:38 -0500)]
(sparc_type_code): Revise so it supports non-C types.
From-SVN: r6919
Jim Wilson [Wed, 30 Mar 1994 19:52:12 +0000 (11:52 -0800)]
(string.h): Don't include when inhibit_libc is defined.
From-SVN: r6918
Torbjorn Granlund [Wed, 30 Mar 1994 06:48:43 +0000 (06:48 +0000)]
(output_move_double): Use `%.' where appropriate.
From-SVN: r6917
Chris Smith [Tue, 29 Mar 1994 12:45:13 +0000 (12:45 +0000)]
*** empty log message ***
From-SVN: r6916
Richard Kenner [Mon, 28 Mar 1994 23:36:50 +0000 (18:36 -0500)]
(ASM_IDENTIFY_GCC): Define to be non-null.
From-SVN: r6915
Richard Stallman [Mon, 28 Mar 1994 01:28:04 +0000 (01:28 +0000)]
(decl_attributes): `mode' attribute now takes string arg.
From-SVN: r6914
Richard Stallman [Mon, 28 Mar 1994 01:27:48 +0000 (01:27 +0000)]
(attrib): Handle string args as expressions,
merging the two rules. `mode' attribute now takes a string arg.
Delete the rule for an identifier as arg.
From-SVN: r6913
Doug Evans [Sun, 27 Mar 1994 19:42:26 +0000 (19:42 +0000)]
Back out this patch:
(attrib): Use `identifier' instead of `IDENTIFIER' since names that
are (e.g.) typedef names are still OK.
From-SVN: r6912
Richard Kenner [Sat, 26 Mar 1994 12:43:02 +0000 (07:43 -0500)]
Change addres for rfg.
From-SVN: r6911
Richard Kenner [Sat, 26 Mar 1994 12:23:31 +0000 (07:23 -0500)]
Change address for rfg.
From-SVN: r6910
Richard Kenner [Sat, 26 Mar 1994 01:17:04 +0000 (20:17 -0500)]
i386.md (movhi, movqi): Properly recognized unsigned forms of -1 for
dec[bw] insns.
From-SVN: r6909
Richard Kenner [Sat, 26 Mar 1994 00:53:32 +0000 (19:53 -0500)]
(expand_expr, case ADDR_EXPR): Return const0_rtx if taking address of
an ERROR_MARK; also do some minor cleanup.
From-SVN: r6908
Richard Kenner [Fri, 25 Mar 1994 23:58:51 +0000 (18:58 -0500)]
(MOTOROLA_BSR): Defined.
From-SVN: r6907
Richard Kenner [Fri, 25 Mar 1994 23:58:13 +0000 (18:58 -0500)]
(call): If (new) MOTOROLA_BSR defined, try to emit 'bsr'.
From-SVN: r6906
Richard Kenner [Fri, 25 Mar 1994 23:44:26 +0000 (18:44 -0500)]
(expand_call): Don't require both -W and -Winline to say that call can't be inlined.
(expand_call): Don't require both -W and -Winline to say that call can't be
inlined.
Warn if inlining is tried but fails.
From-SVN: r6905
Richard Kenner [Fri, 25 Mar 1994 23:16:01 +0000 (18:16 -0500)]
(for_lint): Variable renamed from `lint'.
From-SVN: r6904
Richard Kenner [Fri, 25 Mar 1994 22:52:34 +0000 (17:52 -0500)]
(CONST_COSTS): Reflect the change in m68k.md.
From-SVN: r6903
Richard Kenner [Fri, 25 Mar 1994 22:51:43 +0000 (17:51 -0500)]
(movsi): New strategy for moving small constants into dregs, if it
can't be done with moveq.
From-SVN: r6902
Richard Kenner [Fri, 25 Mar 1994 22:02:56 +0000 (17:02 -0500)]
(expand_expr, case ABS_EXPR): Compare with 0 of proper mode.
From-SVN: r6901
Richard Kenner [Fri, 25 Mar 1994 21:12:56 +0000 (16:12 -0500)]
(fold, case *_DIV_EXPR): Correct result when product of constants
overflows.
From-SVN: r6900
Richard Kenner [Fri, 25 Mar 1994 19:50:09 +0000 (14:50 -0500)]
(output_prolog): Correctly compute floating-reg save area offset.
From-SVN: r6899
Richard Kenner [Fri, 25 Mar 1994 19:30:41 +0000 (14:30 -0500)]
(output_function_prologue): Use link.w on 68040; emit pea fp + movl
sp,fp instead of linkw 0 for 6804.0
From-SVN: r6898
Richard Kenner [Fri, 25 Mar 1994 19:20:54 +0000 (14:20 -0500)]
(unroll_loop): Remove decl of unused variable V.
(precondition_loop_p): Remove decls of unused variables.
(final_giv_value): Remove decl of unused variable CODE.
From-SVN: r6897
Richard Kenner [Fri, 25 Mar 1994 19:20:14 +0000 (14:20 -0500)]
(stabilize_reference_1): Remove decl of unused variable.
From-SVN: r6896
Richard Kenner [Fri, 25 Mar 1994 19:19:39 +0000 (14:19 -0500)]
(compile_file): Remove unused label.
From-SVN: r6895
Richard Kenner [Fri, 25 Mar 1994 19:19:11 +0000 (14:19 -0500)]
(sdbout_symbol): Remove decl of unused variable LETTER.
(sdbout_type): Remove decl of unused variable TEM.
From-SVN: r6894
Richard Kenner [Fri, 25 Mar 1994 19:18:28 +0000 (14:18 -0500)]
(clear_units): Remove decl of unused variable UNIT.
(actual_hazard_this_instance): Remove decl of unused variable I.
(actual_hazard): Remove two block-scope decls of unused variable BEST.
(sched_analyze_1): Remove decls of unused variables OFFSET and BIT.
(sched_analyze): Remove decl of unused variable DEST.
(sched_note_set): Remove decl of unused variable J.
(create_reg_dead_note): Remove decl of unused variable BACKLINK.
(new_sometimes_live): Remove decl of unused variable I.
(schedule_block): Remove decls of unused variables LAST_NOTE and REGNO.
(schedule_insns): Remove decls of unused variables I and INSNS.
From-SVN: r6893
Richard Kenner [Fri, 25 Mar 1994 19:17:54 +0000 (14:17 -0500)]
(get_token): Remove decl of unused variable QUOTE.
(get_token): Remove unused label AGAIN.
From-SVN: r6892
Richard Kenner [Fri, 25 Mar 1994 19:17:23 +0000 (14:17 -0500)]
(read_rtx): Remove decl of unused variable STRINGBUFSIZE.
From-SVN: r6891
Richard Kenner [Fri, 25 Mar 1994 19:16:50 +0000 (14:16 -0500)]
(find_reloads_address): Remove two block-scope decls of unused
variable OLDREF.
From-SVN: r6890
Richard Kenner [Fri, 25 Mar 1994 19:16:16 +0000 (14:16 -0500)]
(init_loop): Remove decls of unused variables.
(loop_optimize): Remove decl of unused variable END.
(combine_movables): Remove decls of unused variables.
(check_final_value): Remove decl of unused variable TEM.
(check_dbra_loop): Remove decls of unused variables.
(maybe_eliminate_biv): Remove decls of unused variables SET and V.
From-SVN: r6889
Richard Kenner [Fri, 25 Mar 1994 19:15:42 +0000 (14:15 -0500)]
(invert_jump): Remove decl of unused variable OLABEL.
From-SVN: r6888
Richard Kenner [Fri, 25 Mar 1994 19:14:33 +0000 (14:14 -0500)]
(save_for_inline_nocopy): Remove decls of unused vars.
(expand_inline_function): Remove two block-scope decls of unused variable COPY.
From-SVN: r6887
Richard Kenner [Fri, 25 Mar 1994 19:14:10 +0000 (14:14 -0500)]
(global_conflicts): Move decl of unused variable I into #if 0 block.
From-SVN: r6886
Richard Kenner [Fri, 25 Mar 1994 19:13:46 +0000 (14:13 -0500)]
(break_out_subroutines): Remove decl of unused variable.
From-SVN: r6885
Richard Kenner [Fri, 25 Mar 1994 19:10:15 +0000 (14:10 -0500)]
(expand_units): Remove decl of unused variable.
From-SVN: r6884
Richard Kenner [Fri, 25 Mar 1994 19:09:34 +0000 (14:09 -0500)]
(main): Remove decl of unused variable MAX_ISSUE_TIME.
From-SVN: r6883
Richard Kenner [Fri, 25 Mar 1994 19:08:19 +0000 (14:08 -0500)]
(read_scan_file): Remove decl of unused variable RPTR.
(write_rbrac): Remove decl of unused variable PARTIAL.
(main): Likewise.
From-SVN: r6882
Richard Kenner [Fri, 25 Mar 1994 19:07:46 +0000 (14:07 -0500)]
(output_source_line): Remove decl of unused variable.
From-SVN: r6881
Richard Kenner [Fri, 25 Mar 1994 19:02:00 +0000 (14:02 -0500)]
(f_rep): Remove decl of unused variable F1.
From-SVN: r6880
Richard Kenner [Fri, 25 Mar 1994 19:01:23 +0000 (14:01 -0500)]
(reset_used_flags): Remove decl of unused variable.
(gen_sequence): Remove decl of unused variable NEWVEC.
From-SVN: r6879
Richard Kenner [Fri, 25 Mar 1994 19:00:51 +0000 (14:00 -0500)]
(dbxout_symbol): Remove decls of unused variables.
From-SVN: r6878
Richard Kenner [Fri, 25 Mar 1994 19:00:02 +0000 (14:00 -0500)]
(cse_insn): Remove decl of unused variable TEM.
From-SVN: r6877
Richard Kenner [Fri, 25 Mar 1994 18:59:11 +0000 (13:59 -0500)]
(try_combine): Remove decls of unused variables.
(subst): Remove decls of unused variables ORIG_CODE.
(simplify_if_then_else): Remove decl of unused variable C2.
(make_compound_operation): Remove decl of unused variable COUNT.
(known_cond): Remove decl of unused variable NEW.
(make_field_assignment): Remove decl of unused variable OURDEST.
(simplify_and_const_int): Remove decls of unused variables.
(simplify_shift_const): Remove decl of unused variable INNER.
From-SVN: r6876
Richard Kenner [Fri, 25 Mar 1994 18:57:48 +0000 (13:57 -0500)]
(putenv): Remove decl of unused variable STR_LEN.
(main): Remove decls of unused variables LEN and CLEN.
From-SVN: r6875
Richard Kenner [Fri, 25 Mar 1994 18:57:04 +0000 (13:57 -0500)]
(convert_arguments): Remove decls of unused variables.
From-SVN: r6874
Richard Kenner [Fri, 25 Mar 1994 18:56:40 +0000 (13:56 -0500)]
(primary): Remove decl of unused variable CONTEXT.
From-SVN: r6873
Richard Kenner [Fri, 25 Mar 1994 18:55:59 +0000 (13:55 -0500)]
(push_parm_decl): Move decl of unused variable OLDDECL into #if 0
block.
From-SVN: r6872
Richard Kenner [Fri, 25 Mar 1994 18:55:26 +0000 (13:55 -0500)]
(truthvalue_conversion): Remove decl of unused CODE.
From-SVN: r6871
Richard Kenner [Fri, 25 Mar 1994 18:55:03 +0000 (13:55 -0500)]
(gen_decl): Remove decl of unused variable.
From-SVN: r6870
Richard Kenner [Fri, 25 Mar 1994 18:54:16 +0000 (13:54 -0500)]
(bc_emit_bytecode): Remove decl of unused variable NPUSHES.
From-SVN: r6869
Jeff Law [Fri, 25 Mar 1994 18:39:40 +0000 (11:39 -0700)]
pa.h (DBX_REGISTER_NUMBER): Fix numerous bugs in handling of FP registers and the SAR register.
* pa.h (DBX_REGISTER_NUMBER): Fix numerous bugs in handling
of FP registers and the SAR register.
From-SVN: r6868
Richard Kenner [Fri, 25 Mar 1994 17:57:53 +0000 (12:57 -0500)]
(init_stmt_for_function): Clear stack_block_stack.
From-SVN: r6867
Richard Kenner [Fri, 25 Mar 1994 17:46:42 +0000 (12:46 -0500)]
(reload): Fix error in last change; only check against group reloads
and check all reloads.
From-SVN: r6866
Doug Evans [Thu, 24 Mar 1994 18:19:27 +0000 (18:19 +0000)]
(v_pedwarn_with_decl): Don't cause compilation to fail
from pedantic errors in system header files.
From-SVN: r6865
Richard Kenner [Thu, 24 Mar 1994 10:58:02 +0000 (05:58 -0500)]
Add case for Bull dpx20.
From-SVN: r6864
Frederic Pierresteguy [Thu, 24 Mar 1994 08:05:32 +0000 (09:05 +0100)]
(CPP_PREDEFINES): Fix typo.
From-SVN: r6863
Richard Kenner [Thu, 24 Mar 1994 01:10:41 +0000 (20:10 -0500)]
(reload): Fix error in last change; compute MODE before it's used.
From-SVN: r6862
Jim Wilson [Wed, 23 Mar 1994 23:56:41 +0000 (15:56 -0800)]
(dbxout_parms): For parameter living in psuedo-reg that
was optimized away, use declared type instead of passed type.
From-SVN: r6861
Richard Kenner [Wed, 23 Mar 1994 23:54:09 +0000 (18:54 -0500)]
(get_condition): Exit if we don't recognize SET_SRC of a SET that
modifies OP0.
From-SVN: r6860
Mike Stump [Wed, 23 Mar 1994 23:33:53 +0000 (23:33 +0000)]
30th Cygnus<->FSF merge.
From-SVN: r6859
Jim Wilson [Wed, 23 Mar 1994 22:28:28 +0000 (14:28 -0800)]
(mips_asm_file_start): Add comment on TARGET_GP_OPT code.
From-SVN: r6858
Richard Kenner [Wed, 23 Mar 1994 22:28:26 +0000 (17:28 -0500)]
(simplify_rtx, case FLOAT_TRUNCATE): Simplify
case of (float_truncate (abs (float_extend X))).
From-SVN: r6857
Jim Wilson [Wed, 23 Mar 1994 22:20:35 +0000 (14:20 -0800)]
(va_start): Add call to builtin_next_arg.
From-SVN: r6856
Jim Wilson [Wed, 23 Mar 1994 22:19:23 +0000 (14:19 -0800)]
(va_start): Pass LASTARG as a parameter to
builtin_next_arg.
From-SVN: r6855
Jim Wilson [Wed, 23 Mar 1994 22:16:55 +0000 (14:16 -0800)]
(expand_builtin, BUILT_IN_NEXT_ARG case): Verify that
parameter is last named argument.
From-SVN: r6854
Jim Wilson [Wed, 23 Mar 1994 22:15:56 +0000 (14:15 -0800)]
(init_decl_processing): Change builtin_next_arg type so
that it accepts any parameter instead of none.
From-SVN: r6853
Richard Kenner [Wed, 23 Mar 1994 21:57:20 +0000 (16:57 -0500)]
Change rfg's address.
From-SVN: r6852
Jim Wilson [Wed, 23 Mar 1994 00:04:49 +0000 (16:04 -0800)]
(override_options): Delete unnecessary accidental comment.
From-SVN: r6851
Jim Wilson [Wed, 23 Mar 1994 00:03:38 +0000 (16:03 -0800)]
(movsi): Add special handling for constants which are illegal addresses when pic.
(movsi): Add special handling for constants which are
illegal addresses when pic.
(tablejump_internal1, tablejump_internal2): Emit .cpadd when
TARGET_ABICALLS. Adjust length to include .cpadd.
From-SVN: r6850
Jim Wilson [Wed, 23 Mar 1994 00:03:04 +0000 (16:03 -0800)]
(GO_IF_LEGITIMATE_ADDRESS): Also pretend that we have REG plus CONST_INT addresses by deleting an else.
(GO_IF_LEGITIMATE_ADDRESS): Also pretend that we have REG
plus CONST_INT addresses by deleting an else.
(CONSTANT_ADDRESS_P): When pic, don't accept addresses which are
symbol_ref plus a large integer.
(LEGITIMATE_PIC_OPERAND_P): Likewise.
(LEGITIMIZE_ADDRESS): When pic, convert addresses which are
symbol_reg plus a large integer, to reg plus a large integer.
(ASM_OUTPUT_ADDR_DIFF_ELT): Use .gpword instead of subtracting
labels.
From-SVN: r6849
Jim Wilson [Wed, 23 Mar 1994 00:02:25 +0000 (16:02 -0800)]
(pic_address_needs_scratch): New function.
(override_options): Set flag_pic when TARGET_ABICALLS.
From-SVN: r6848
Jim Wilson [Wed, 23 Mar 1994 00:01:58 +0000 (16:01 -0800)]
(MIPS_DEFAULT_GVALUE): Define to zero.
From-SVN: r6847
Jim Wilson [Tue, 22 Mar 1994 23:57:28 +0000 (15:57 -0800)]
(TRAMPOLINE_TEMPLATE): Add `move $25,$3' for when TARGET_ABICALLS.
(TRAMPOLINE_TEMPLATE): Add `move $25,$3' for when
TARGET_ABICALLS. Delete padding for 64 bit case. Adjust offsets.
(TRAMPOLINE_SIZE): Increase from 9 to 10 words for 32 bit case.
(INITIALIZE_TRAMPOLINE): Increase offsets by 4 bytes for 32 bit case.
From-SVN: r6846
Michael Meissner [Tue, 22 Mar 1994 20:50:40 +0000 (20:50 +0000)]
Provide HANDLE_PRAGMA_WEAK and ASM_OUTPUT_DEF.
From-SVN: r6845
Per Bothner [Tue, 22 Mar 1994 00:04:34 +0000 (16:04 -0800)]
Make sstring buf extern (rather than "common").
From-SVN: r6844
Richard Kenner [Mon, 21 Mar 1994 22:15:32 +0000 (17:15 -0500)]
(preserve_temp_slots): If argument is REG, see if it is address of a
temp slot we know about.
From-SVN: r6843
Richard Kenner [Mon, 21 Mar 1994 22:14:41 +0000 (17:14 -0500)]
(expand_expr, case ADDR_EXPR): Update temp slot address if we put it
in a register; mark result as pointer.
From-SVN: r6842
Jim Wilson [Mon, 21 Mar 1994 22:08:57 +0000 (14:08 -0800)]
(source_label_number): New variable.
(dbxout_source_file): Use it. Output an Ltext label.
From-SVN: r6841
Jim Wilson [Mon, 21 Mar 1994 22:07:03 +0000 (14:07 -0800)]
(duplicate_decls): When pedantic, warn when any static
declaraction follows a non-static.
From-SVN: r6840
Jim Wilson [Mon, 21 Mar 1994 22:05:05 +0000 (14:05 -0800)]
(seq, sne, sgt, slt, sge, sle): Add support for
!TARGET_HARD_QUAD.
From-SVN: r6839
Richard Kenner [Mon, 21 Mar 1994 21:58:47 +0000 (16:58 -0500)]
(reload): More accurately compute nongroup needs.
(reloads_conflict): New function.
From-SVN: r6838
Doug Evans [Mon, 21 Mar 1994 21:20:56 +0000 (21:20 +0000)]
(__builtin_saveregs): Fix return type.
From-SVN: r6837
Richard Kenner [Mon, 21 Mar 1994 12:36:48 +0000 (07:36 -0500)]
(FIXED_REGNO_P): Treate global regs as fixed.
(CHEAP_REGNO): Renamed from CHEAP_REG.
(CHEAP_REG): New macro; user var in hard reg is cheap.
(COST): Pass RTL to CHEAP_REG, not regno.
(rtx_cost, case REG): Likewise.
From-SVN: r6836
Richard Kenner [Mon, 21 Mar 1994 00:38:40 +0000 (19:38 -0500)]
(PRINT_OPERAND): Print float infinity and NaN's as +/-99e999.
From-SVN: r6835
Richard Kenner [Sun, 20 Mar 1994 22:42:01 +0000 (17:42 -0500)]
(ALIGN_SYMTABLE_OFFSET): Define to align symbol table sections to a quadword boundary...
(ALIGN_SYMTABLE_OFFSET): Define to align symbol table sections to a
quadword boundary, to avoid alignment problems with native nm on
OSF1/1.3 and higher.
From-SVN: r6834
Richard Kenner [Sun, 20 Mar 1994 22:41:13 +0000 (17:41 -0500)]
(update_headers): Align symbol table sections, using ALIGN_SYMTABLE_OFFSET.
(update_headers): Align symbol table sections, using
ALIGN_SYMTABLE_OFFSET. Provide a default definition which does no
alignment.
From-SVN: r6833
Richard Kenner [Sun, 20 Mar 1994 11:50:18 +0000 (06:50 -0500)]
(try_split): Rename third parameter as LAST.
(try_split): Rename third parameter as LAST. Recursively call
try_split for each new insn created.
From-SVN: r6832
Richard Kenner [Sun, 20 Mar 1994 11:38:17 +0000 (06:38 -0500)]
(mark_used_regs_combine): Correct typo.
From-SVN: r6831
Richard Kenner [Sun, 20 Mar 1994 11:28:18 +0000 (06:28 -0500)]
(CHECK_FLOAT_VALUE): Add missing continuation character.
From-SVN: r6830
Richard Kenner [Sun, 20 Mar 1994 11:27:53 +0000 (06:27 -0500)]
(build_real): Add `overflow' var; pass to CHECK_FLOAT_VALUE.
From-SVN: r6829