Commit Graph

3391 Commits

Author SHA1 Message Date
Jeff Law da0c128ece loop.c (move_movables): Clear INSN_CODE for eachinsn as we perform register replacements.
* loop.c (move_movables): Clear INSN_CODE for eachinsn as
	we perform register replacements.
	(strength_reduce): Likewise.

From-SVN: r3254
1993-01-15 14:41:27 -07:00
Brendan Kehoe cb25ac928c With previous change, don't fail on `-l'.
From-SVN: r3253
1993-01-15 16:30:53 -05:00
Brendan Kehoe c716c35df1 Undo previous change.
From-SVN: r3252
1993-01-15 16:01:03 -05:00
Ian Lance Taylor ff852b457f Avoid problems with relative $(srcdir) when installing syslimits.h.
From-SVN: r3251
1993-01-15 06:10:54 +00:00
Brendan Kehoe a2468e45b4 c-decl.c (c_decode_option): Set WARN_UNINITIALIZED to 2 with -Wall...
* c-decl.c (c_decode_option): Set WARN_UNINITIALIZED to 2 with
        -Wall, being careful to preserve it if it's already set.
        * cp-decl2.c (lang_decode_option): Likewise.
        * toplev.c (main): Warn about using -Wuninitialized without -O.

From-SVN: r3250
1993-01-14 19:35:00 -05:00
Brendan Kehoe 48fb792a91 gcc.c (process_command): Only accept input files which exist and can be read...
* gcc.c (process_command): Only accept input files which exist and
        can be read; prevent link phase if an input file was rejected.
        (error_count): Make into a static global variable.

From-SVN: r3249
1993-01-14 19:19:25 -05:00
Brendan Kehoe 3dac0de51f cccp.c (main): Trim down to the basename of what's to go in PROGNAME.
* cccp.c (main): Trim down to the basename of what's to go in
        PROGNAME.

From-SVN: r3248
1993-01-14 19:19:10 -05:00
Jeff Law 96f66730d8 * pa.h (CONDITIONAL_REGISTER_USAGE): Do not make %r27 a global_reg.
From-SVN: r3247
1993-01-14 16:55:59 -07:00
Jeff Law 4971c587de pa.c (output_function_prologue): Combine stack adjustment and first GR save when reasonable to do so.
* pa.c (output_function_prologue): Combine stack adjustment and
	first GR save when reasonable to do so.
	(output_function_epilogue): Combine stack adjustment and first
	GR restore when reasonable to do so.  Avoid load/use stall for
	RP restore in common cases.

From-SVN: r3246
1993-01-14 16:45:40 -07:00
Richard Kenner 6627e97414 Change `config/' to `config/mips/'.
From-SVN: r3245
1993-01-14 18:23:21 -05:00
Jeff Law 0bfe5f016e Fix typo.
From-SVN: r3244
1993-01-14 15:00:22 -07:00
Jeff Law f014712100 pa.h (LEGITIMIZE_ADDRESS): Rework to create REG or REG+D addresses instead of REG+REG addresses.
* pa.h (LEGITIMIZE_ADDRESS): Rework to create REG or REG+D
	addresses instead of REG+REG addresses.

From-SVN: r3243
1993-01-14 14:50:18 -07:00
Ian Lance Taylor ba1811f11f Build include files in build directory when doing make all.
From-SVN: r3242
1993-01-14 20:10:31 +00:00
Torbjorn Granlund 7e8b33d906 (CONST_OK_FOR_LETTER_P): Change meaning of 'K'.
(CONST_OK_FOR_LETTER_P): Change meaning of 'K'.  Add new
alternative 'N'.  Use VAL_*_BITS_P macros when possible.
(LEGITIMATE_CONSTANT_P) Fix comment.
(FITS_14_BITS): Remove.
(SMALL_INT): Remove.

From-SVN: r3241
1993-01-14 19:34:47 +00:00
Jim Wilson 19197caa01 Correct typo in comment.
From-SVN: r3240
1993-01-14 11:30:29 -08:00
Jim Wilson c954107988 (egrep and sed loop): Don't print messages about files that need no change.
From-SVN: r3239
1993-01-14 11:29:26 -08:00
Torbjorn Granlund a1747d2c89 (move_operand): Allow all CONST_INTs that can be moved to general registers with one insn.
(move_operand): Allow all CONST_INTs that can be moved to
general registers with one insn.
(pre_cint_operand): New predicate for predecrementing ldwm/stwm insns.
(zdepi_cint_p): New function.
(depi_cint_operand): Remove.
(and_mask_p): New name for consec_zeros_p.  All callers changed.
(srcsi_operand): Removed.
(all file): Use INT_14_BITS instead of synonym SMALL_INT.
(emit_move_sequence): Clean up CONST_INT case.
(compute_zdepi_operands): New name for
compute_xdepi_operands_from_integer.  Change second parm to return
plain integers (was RTXes).
(print_operand): Handle 'Z' for 'zdepi' source used to movCONST_INT.

From-SVN: r3238
1993-01-14 19:28:19 +00:00
Jim Wilson 8d2f437448 (muldf+1, muldf+2): Add patterns for fsmuld and fdmulq.
From-SVN: r3237
1993-01-14 11:23:09 -08:00
Jim Wilson 5b485d2c39 (CPP_SPEC): Add -mfrw support.
(OVERRIDE_OPTIONS): Define.  Can't omit frame pointer or do pic
when profiling.
(REG_USED_SO_FAR): Delete.
(CONST_COSTS): Give SMALL_INT constants cost of 0.  Make UDIV,
DIV, MOD, UMOD more expensive.  Make FIX same cost as FLOAT.
(TARGET_FRW): Define.
(TARGET_DEFAULTS): Add -mfrw flag.
(INITIAL_FRAME_POINTER_OFFSET): Add -mfrw support.
(BASE_OUTGOING_VALUE_REG, BASE_INCOMING_ARG_REG): Likewise.
(FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
(DELAY_SLOTS_FOR_EPILOGUE, ELIGIBLE_FOR_EPILOGUE_DELAY): Likewise.
(EXPAND_BUILTIN_SAVEREGS): Likewise.

From-SVN: r3236
1993-01-14 11:21:29 -08:00
Jim Wilson 114b9aa4cd Document sparclite integer multiply cycle times.
(movdf, !TARGET_FPU): Remove tests for floating point registers.
(divsi3, udivsi3): Correct length attribute.
(ffssi2): Define for sparclite.

From-SVN: r3235
1993-01-14 11:20:51 -08:00
Jim Wilson 228b4037f0 Clarify numerous *_operand comments.
(SPARC_STACK_ALIGN): Delete.
(sparc_frw_output_function_epilogue): Delete unused variable
load_only_r15.
(sparc_frw_epilogue_delay_slots): Delete r15/fmask test.

From-SVN: r3234
1993-01-14 11:20:09 -08:00
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