Commit Graph

7070 Commits

Author SHA1 Message Date
Jim Wilson
9b190d1c88 (addsi3_internal): Don't output subtract.
(subsi3_internal): Don't output add.
(smulsi3_highpart, umulsi3_highpart): Add missing third operand to
mips_move_1word call.

From-SVN: r6933
1994-03-31 16:48:54 -08:00
Jim Wilson
850980198a (mips_rtx_classify, md_register_operand,
fpsw_register_operand, cmp2_op, uns_cmp_op, fcmp_op): Delete.
(mips_const_double_ok, mips_fill_delay_slot, output_block_move,
print_operand, function_epilogue): Don't treat gas differently
than native assembler.
(equality_op, cmp_op): Delete use of classify_op.
(override_options): Delete uses of mips_rtx_classify.
(final_prescan_insn): Simplify based on other changes.

From-SVN: r6932
1994-03-31 16:48:24 -08:00
Jim Wilson
9a863c83a4 (mips_rtx_classify, cmp2_op, fcmp_op,
fpsw_register_operand, md_register_operand, uns_cmp_op,
classify_op, additive_op, divmod_op, unsigned_op, CLASS_*_OP,
NOTICE_UPDATE_CC): Delete.
(RTX_COSTS): Use different numbers for R3000/R6000/R4000.
(REGISTER_MOVE_COST): Use cost of 2 within same register class, 4
for FP to GR copy, 6 otherwise.
(ADJUST_COST): Give anti and output dependencies zero cost.
(PREDICATE_CODES): Delete obsolete functions from list.

From-SVN: r6931
1994-03-31 16:47:52 -08:00
Ian Lance Taylor
4a3b7dbedd Change R/S 6000 macros to use new mnemonics under -mnew-mnemonics
From-SVN: r6930
1994-03-31 17:10:42 +00:00
Richard Kenner
255cf280a5 (reload): Fix typo in previous change.
From-SVN: r6929
1994-03-30 20:36:58 -05:00
Richard Kenner
a5d54cc570 (standard_68881_constant_p): Return 0 if NO_ASM_FMOVECR defined.
From-SVN: r6928
1994-03-30 17:37:08 -05:00
Richard Kenner
ffc991ac54 (NO_ASM_FMOVECR): Defined.
From-SVN: r6927
1994-03-30 17:36:47 -05:00
Richard Kenner
1ed37bfd37 (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
1994-03-30 17:30:32 -05:00
Richard Kenner
4fa6668b45 (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
1994-03-30 17:30:05 -05:00
Richard Kenner
6b0639bc6c (process_command, case 'B'): If name is "stageN/", add "include" to
system include prefix.

From-SVN: r6924
1994-03-30 17:21:05 -05:00
Richard Kenner
2486d0db1d Fix copyright notice.
From-SVN: r6923
1994-03-30 17:16:20 -05:00
Richard Kenner
04fe43855a Include <stdarg.h> instead of "gstdarg.h"; similarly for varargs.
From-SVN: r6922
1994-03-30 17:15:20 -05:00
Richard Kenner
b5f3b6b60b (strip_compound_expr): New function.
(fold): Call it; avoid exponential work when simplifying binary op over
a COND_EXPR.

From-SVN: r6921
1994-03-30 16:59:47 -05:00
Richard Kenner
92f9aa5176 (cse_insn): Add missing definition of var TEM; clean up shadowed uses.
From-SVN: r6920
1994-03-30 16:52:21 -05:00
Richard Kenner
b0468b846e (sparc_type_code): Revise so it supports non-C types.
From-SVN: r6919
1994-03-30 16:38:29 -05:00
Jim Wilson
ffa969a1c4 (string.h): Don't include when inhibit_libc is defined.
From-SVN: r6918
1994-03-30 11:52:12 -08:00
Torbjorn Granlund
07eced4de9 (output_move_double): Use `%.' where appropriate.
From-SVN: r6917
1994-03-30 06:48:43 +00:00
Chris Smith
8f53028050 *** empty log message ***
From-SVN: r6916
1994-03-29 12:45:13 +00:00
Richard Kenner
4c3730343e (ASM_IDENTIFY_GCC): Define to be non-null.
From-SVN: r6915
1994-03-28 18:36:50 -05:00
Richard Stallman
838e9ea20d (decl_attributes): `mode' attribute now takes string arg.
From-SVN: r6914
1994-03-28 01:28:04 +00:00
Richard Stallman
309c23f7dd (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
1994-03-28 01:27:48 +00:00
Doug Evans
423b04b06f Back out this patch:
(attrib): Use `identifier' instead of `IDENTIFIER' since names that
are (e.g.) typedef names are still OK.

From-SVN: r6912
1994-03-27 19:42:26 +00:00
Richard Kenner
473c744153 Change addres for rfg.
From-SVN: r6911
1994-03-26 07:43:02 -05:00
Richard Kenner
8db070d167 Change address for rfg.
From-SVN: r6910
1994-03-26 07:23:31 -05:00
Richard Kenner
c64ca3e9be i386.md (movhi, movqi): Properly recognized unsigned forms of -1 for
dec[bw] insns.

From-SVN: r6909
1994-03-25 20:17:04 -05:00
Richard Kenner
682ba3a67b (expand_expr, case ADDR_EXPR): Return const0_rtx if taking address of
an ERROR_MARK; also do some minor cleanup.

From-SVN: r6908
1994-03-25 19:53:32 -05:00
Richard Kenner
2b9791d49f (MOTOROLA_BSR): Defined.
From-SVN: r6907
1994-03-25 18:58:51 -05:00
Richard Kenner
1c2bb219e9 (call): If (new) MOTOROLA_BSR defined, try to emit 'bsr'.
From-SVN: r6906
1994-03-25 18:58:13 -05:00
Richard Kenner
0481a55e99 (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
1994-03-25 18:44:26 -05:00
Richard Kenner
253245dfd1 (for_lint): Variable renamed from `lint'.
From-SVN: r6904
1994-03-25 18:16:01 -05:00
Richard Kenner
25a1b9189d (CONST_COSTS): Reflect the change in m68k.md.
From-SVN: r6903
1994-03-25 17:52:34 -05:00
Richard Kenner
5bf136183f (movsi): New strategy for moving small constants into dregs, if it
can't be done with moveq.

From-SVN: r6902
1994-03-25 17:51:43 -05:00
Richard Kenner
3d0f0ad043 (expand_expr, case ABS_EXPR): Compare with 0 of proper mode.
From-SVN: r6901
1994-03-25 17:02:56 -05:00
Richard Kenner
3122945e76 (fold, case *_DIV_EXPR): Correct result when product of constants
overflows.

From-SVN: r6900
1994-03-25 16:12:56 -05:00
Richard Kenner
0273f32645 (output_prolog): Correctly compute floating-reg save area offset.
From-SVN: r6899
1994-03-25 14:50:09 -05:00
Richard Kenner
e4e873f1a2 (output_function_prologue): Use link.w on 68040; emit pea fp + movl
sp,fp instead of linkw 0 for 6804.0

From-SVN: r6898
1994-03-25 14:30:41 -05:00
Richard Kenner
629c5b5020 (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
1994-03-25 14:20:54 -05:00
Richard Kenner
dc9d517851 (stabilize_reference_1): Remove decl of unused variable.
From-SVN: r6896
1994-03-25 14:20:14 -05:00
Richard Kenner
b689c575f0 (compile_file): Remove unused label.
From-SVN: r6895
1994-03-25 14:19:39 -05:00
Richard Kenner
e35c06f577 (sdbout_symbol): Remove decl of unused variable LETTER.
(sdbout_type): Remove decl of unused variable TEM.

From-SVN: r6894
1994-03-25 14:19:11 -05:00
Richard Kenner
e02f385ab5 (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
1994-03-25 14:18:28 -05:00
Richard Kenner
d6924effb5 (get_token): Remove decl of unused variable QUOTE.
(get_token): Remove unused label AGAIN.

From-SVN: r6892
1994-03-25 14:17:54 -05:00
Richard Kenner
0df564e54c (read_rtx): Remove decl of unused variable STRINGBUFSIZE.
From-SVN: r6891
1994-03-25 14:17:23 -05:00
Richard Kenner
f81c389dd5 (find_reloads_address): Remove two block-scope decls of unused
variable OLDREF.

From-SVN: r6890
1994-03-25 14:16:50 -05:00
Richard Kenner
bd5a664eb5 (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
1994-03-25 14:16:16 -05:00
Richard Kenner
5de22273e1 (invert_jump): Remove decl of unused variable OLABEL.
From-SVN: r6888
1994-03-25 14:15:42 -05:00
Richard Kenner
29ff151469 (save_for_inline_nocopy): Remove decls of unused vars.
(expand_inline_function): Remove two block-scope decls of unused variable COPY.

From-SVN: r6887
1994-03-25 14:14:33 -05:00
Richard Kenner
2049526b76 (global_conflicts): Move decl of unused variable I into #if 0 block.
From-SVN: r6886
1994-03-25 14:14:10 -05:00
Richard Kenner
87bd049049 (break_out_subroutines): Remove decl of unused variable.
From-SVN: r6885
1994-03-25 14:13:46 -05:00
Richard Kenner
24f89e3de0 (expand_units): Remove decl of unused variable.
From-SVN: r6884
1994-03-25 14:10:15 -05:00