3220 Commits

Author SHA1 Message Date
Jim Wilson
b4c65118c4 (do_tablejump): Pass 1 for unsigned flag to emit_cmp_insn.
From-SVN: r3233
1993-01-14 11:16:40 -08:00
Torbjorn Granlund
ac153498d0 (move patterns): Reorganize pattern order.
(move patterns): Reorganize pattern order.  Cleanup.  Merge
CONST_INT patterns into main patterns for SImode, HImode, QImode.
Add patterns to recognize predecrement cases in SImode, HImode,
QImode.  Remove 'y' constraint from SImode recognizer.
(main MImode, QImode recognizers): Handle SAR move from greg.
Change constaints to match the SImode pattern.
(cmov): Move near other conditional patterns.
(all file): Replace all occurences of srcsi_operand with move_operand.
Replace `ldo X(0),d' with `ldi X,d'.
(rotlsi3): Remove SET_ATTRs.
(rotrsi3): Likewise.

From-SVN: r3232
1993-01-14 19:11:55 +00:00
Jim Wilson
cc81e6253b (copy_rtx): A MEM with constant address is not sharable.
Undo Dec 27 change.

From-SVN: r3231
1993-01-14 10:33:41 -08:00
James Van Artsdalen
1dde5fd23a (cmpstr patterns): Fix mode mismatch in SET.
From-SVN: r3230
1993-01-14 12:46:45 +00:00
Richard Stallman
bffc6177e3 (expand_asm_operands): For clobbering memory,
generate (MEM (SCRATCH)) inside the CLOBBER.

From-SVN: r3229
1993-01-14 07:15:14 +00:00
Ian Lance Taylor
a556433125 Removed REAL_LD_NAME
From-SVN: r3228
1993-01-13 23:29:10 +00:00
Ian Lance Taylor
53cc3d6317 Use TOOLDIR_BASE_PREFIX, not TOOLDIR_PREFIX
From-SVN: r3227
1993-01-13 22:37:01 +00:00
Ian Lance Taylor
57cd2ea140 Eliminated install-cross-tools
From-SVN: r3226
1993-01-13 22:37:01 +00:00
Michael Meissner
de6cbba6ea Fix ffsdi2 return types.
From-SVN: r3225
1993-01-13 20:36:07 +00:00
Michael Meissner
f11f1fb5ce Fix printing multiple file section.
From-SVN: r3224
1993-01-13 17:02:41 +00:00
Jeff Law
697f12ec0c * pa.h (ASM_OUTPUT_INTERNAL_LABEL): Fix typo.
From-SVN: r3223
1993-01-13 08:03:36 -07:00
Richard Stallman
ca300798ae (expand_increment): Handle all preincrements by building
arithmetic and calling expand_assignment.

From-SVN: r3222
1993-01-13 12:07:28 +00:00
Richard Stallman
8230fba78a (rpc/types.h): Change const extern to extern const.
From-SVN: r3221
1993-01-13 10:59:15 +00:00
Richard Stallman
9d9dadd252 (include_defaults):
Put GCC_INCLUDE_DIR just before the system dirs whose files are fixed.

From-SVN: r3220
1993-01-13 09:06:31 +00:00
Richard Stallman
6fb2615385 (risky-stage1, etc): Use $(GCC_PARTS) as what to mv.
From-SVN: r3219
1993-01-13 08:05:37 +00:00
Richard Stallman
8b377b71b9 (CPP_SPEC, LIB_SPEC, LINK_SPEC): Add -compat-bsd conditionals.
From-SVN: r3218
1993-01-13 07:56:48 +00:00
Richard Stallman
aa66bd06e4 (_ffsdi2): Use the correct names for structure elements of type DIunion.
From-SVN: r3217
1993-01-13 04:30:11 +00:00
Richard Stallman
607207cf7d (variable_size): Change back to NULL_PTR.
From-SVN: r3216
1993-01-13 04:25:24 +00:00
Richard Stallman
a3ec87a808 (reload): Clear reload_in_progress even if reloading fails.
From-SVN: r3215
1993-01-13 02:04:37 +00:00
Brendan Kehoe
a3b5c94a75 * cse.c (fold_rtx): Call itself with missing arg INSN as NULL_RTX.
From-SVN: r3214
1993-01-12 18:31:09 -05:00
Brendan Kehoe
798d99ff90 dbxout.c (dbxout_type): Call with missing third arg as 0.
* dbxout.c (dbxout_type) [case FILE_TYPE, SET_TYPE]: Call with
	missing third arg as 0.

From-SVN: r3213
1993-01-12 18:30:59 -05:00
Brendan Kehoe
85cf32bc87 emit-rtl.c (emit_jump_insn_before): Call make_jump_insn_raw with only one argument.
* emit-rtl.c (emit_jump_insn_before): Call make_jump_insn_raw with
	only one argument.
	(emit_jump_insn_after): Likewise.
	(emit_jump_insn): Likewise.

From-SVN: r3212
1993-01-12 18:30:47 -05:00
Brendan Kehoe
f76a70d580 * expr.c (group_insns): Make void, since it never returns an rtx.
From-SVN: r3211
1993-01-12 18:30:32 -05:00
Brendan Kehoe
3d9a7827ed * fold-const.c (fold): Only call force_fit_type with one arg.
From-SVN: r3210
1993-01-12 18:30:21 -05:00
Brendan Kehoe
c3c305882b integrate.c (const_equiv): Delete decl, since it's never defined.
* integrate.c (const_equiv): Delete decl, since it's never defined.
	(fold_out_const_cc0): Likewise.
	* loop.c (delete_insn_forces): Likewise.
	* final.c (alter_cond): Delete decl, since it's never defined.

From-SVN: r3209
1993-01-12 18:29:55 -05:00
Brendan Kehoe
c958ca9fb6 stor-layout.c (variable_size): Call expand_expr with a NULL_RTX, not a NULL_PTR.
* stor-layout.c (variable_size): Call expand_expr with a NULL_RTX,
	not a NULL_PTR.

From-SVN: r3208
1993-01-12 18:29:42 -05:00
Brendan Kehoe
e992302c10 calls.c (emit_call_1): Pass a NULL_RTX into emit_call_insn for missing last arg.
* calls.c (emit_call_1): Pass a NULL_RTX into emit_call_insn for
	missing last arg.

From-SVN: r3207
1993-01-12 18:29:29 -05:00
Jim Wilson
49ced9eab3 (stat.h): Don't depend upon specific formal parameter names when...
(stat.h):  Don't depend upon specific formal
parameter names when locating static functions to convert
to prototype form.  Also be more selective about what
strings to prepend underbars to during renaming of formal
parameters and local variables in static functions.

From-SVN: r3206
1993-01-12 14:55:32 -08:00
Jim Wilson
9e263fc414 (main): Set signal handler for SIGPIPE.
(pipe_closed): New function, to handle SIGPIPE.

From-SVN: r3205
1993-01-12 14:52:37 -08:00
Richard Kenner
a7c5971afb (compare_from_rtx): Allow simplify_relational_operation to fail.
From-SVN: r3204
1993-01-12 17:47:54 -05:00
Richard Stallman
1b6f3c1c6a (init_optabs): Use plain `ffs' for SImode ffs_optab libcall.
From-SVN: r3203
1993-01-12 08:31:09 +00:00
Richard Stallman
eccf291b0c (LIB2FUNCS): Add _ffsdi2.
From-SVN: r3202
1993-01-12 08:30:09 +00:00
Richard Stallman
1f53ee05f8 (init_decl_processing): Declare ffs as builtin.
From-SVN: r3201
1993-01-12 08:17:48 +00:00
Richard Stallman
b52a4b72c0 (egrep and sed loop): Don't print messages about files that need no change.
From-SVN: r3200
1993-01-12 07:53:32 +00:00
Richard Stallman
d0691cfba9 (macroexpand): Before concatenated empty rest arg,
do copy constant chars, but delete last run of nonwhitespace chars.
(rescan): Handle Newline-Hyphen in expand_to_temp_buffer
as well as when scanning a macro body.

(main): If we are creating a new dependency file with -MD
or -MMD, use "w" fopen mode instead of "a".

(rescan): Prevent token pasting before macro call.
(macroexpand): Prevent token pasting around an arg unless it's raw.

(main): Implement -iwithprefix.

(check_preconditions, do_error, do_warning, do_xifdef):
Don't use signed chars to index into arrays; they might be negative.

From-SVN: r3199
1993-01-12 07:49:01 +00:00
Jim Wilson
df8b4049a7 (eligible_for_epilogue_delay): Delete unused variable `this_function_name'.
(eligible_for_epilogue_delay): Delete unused variable
`this_function_name'.
(output_fp_move_double): Delete unused var `addr'.
(output_fp_move_quad): Likewise.
(fregs_ever_live): Delete unused static var.
(output_function_epilogue): Delete `n_fregs' and `i'.
(sparc_frw_output_function_prologue): Delete `regno'.
(sparc_frw_output_function_epilogue): Delete `load_nop'.

From-SVN: r3198
1993-01-11 15:04:35 -08:00
Jim Wilson
2a72bac75f (reload): Delete unused variable inc_groups.
From-SVN: r3197
1993-01-11 14:41:43 -08:00
Jim Wilson
26c5587d43 (TARGET_SWITCHES): Add no-fpu and hard-float.
(CONDITIONAL_REGISTER_USAGE): Define for ! TARGET_FPU.
(BASE_RETURN_VALUE_REG): Use reg 8 when ! TARGET_FPU.
(BASE_OUTGOING_VALUE_REG): Use reg 24 when ! TARGET_FPU.

From-SVN: r3196
1993-01-11 14:26:45 -08:00
Jim Wilson
ab5519b721 (*): Make all fp patterns conditional on TARGET_FPU.
(movtf, movdf, movsf): Add !TARGET_FPU versions.
(sfmode return): Add pattern for when !TARGET_FPU.
(movsi+2, movsf+1): Use %@ instead of %%fp.
(mulsidi3, umulsidi3): Rewrite, to avoid extending constants.

From-SVN: r3195
1993-01-11 14:25:36 -08:00
Jim Wilson
883bc78075 Do not consider //* to be a C++ comment which needs to be fixed.
From-SVN: r3194
1993-01-11 14:21:52 -08:00
Jeff Law
e515e50793 * pa.h (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Fix typos.
From-SVN: r3193
1993-01-11 13:03:09 -07:00
Brendan Kehoe
12cfc83018 tree.h (value_member, [...]): Add decls with prototypes.
* tree.h (value_member, purpose_member, binfo_member,
	tree_int_cst_equal, tree_int_cst_lt, index_type_equal,
	expand_decl_init): Add decls with prototypes.

From-SVN: r3192
1993-01-11 14:21:04 -05:00
Brendan Kehoe
1b212aa85f Cygnus<-->FSF merge.
From-SVN: r3191
1993-01-11 14:06:50 -05:00
Paul Eggert
d09c632362 # Fix misspellings in comments.
From-SVN: r3190
1993-01-11 05:12:26 +00:00
James Van Artsdalen
8268133ae5 Include i386/xm-i386.h.
Remove redundant defines.

From-SVN: r3189
1993-01-11 02:43:11 +00:00
James Van Artsdalen
f3b38b4d36 (alloca): Delete - already defined in xm-i386.h.
From-SVN: r3188
1993-01-11 02:42:40 +00:00
James Van Artsdalen
9c530261cb (extendsidi2,zero_extendsidi2): New patterns.
(adddi3,subdi3): Don't emit code for low part if known to be zero.

From-SVN: r3187
1993-01-11 00:18:24 +00:00
Jeff Law
43940f6bb9 pa.c (output_global_address): Handle (high (const (plus ...))).
* pa.c (output_global_address): Handle (high (const (plus ...))).
	(secondary_reload_class): If TARGET_KERNEL, then loading a
	symbolic address, or the high part of a symbolic address requires
	%r1 as a secondary reload register.
	(emit_move_sequence, SYMBOL_REF case): If TARGET_KERNEL, then handle
	secondary reload created for a symbolic (high (const (plus ...))).
	No longer show DP relocation; read_only and normal operands emit the
	same RTL now.
	Emit the same RTL before and after reload, only change how the
	scratch/temporary register is chosen.

From-SVN: r3186
1993-01-10 15:59:50 -07:00
Jeff Law
9f309ba3e7 pa.md (reload_insi, [...]): Use new "Z" constraint instead of "z" constraint.
* pa.md (reload_insi, reload_outsi): Use new "Z" constraint instead
	of "z" constraint.
	(load HIGH patterns): Rewrite to not show DP relocation.

From-SVN: r3185
1993-01-10 15:59:33 -07:00
Jeff Law
4e82968e32 pa.h (GENERAL_OR_FP_OR_SNAKE_FP_REGS): New register class.
* pa.h (GENERAL_OR_FP_OR_SNAKE_FP_REGS): New register class.
	(LEGITIMIZE_ADDRESS): No longer show DP relocation.  Simplify.

From-SVN: r3184
1993-01-10 15:59:10 -07:00