Commit Graph

3254 Commits

Author SHA1 Message Date
Jim Wilson
89742723e5 (emit_move_insn, expand_expr): Fix typos in comments.
From-SVN: r3267
1993-01-18 10:52:38 -08:00
Jim Wilson
8da4cd09fb (initialize_builtins): Add uses of new macros
NO_BUILTIN_SIZE_TYPE and NO_BUILTIN_PTRDIFF_TYPE.

From-SVN: r3266
1993-01-18 10:47:57 -08:00
Jim Wilson
b46db6e4f4 (ROUND): Change macro name to ROUND_PARM.
From-SVN: r3265
1993-01-18 10:44:27 -08:00
Jim Wilson
025a8875ba (i960_function_arg_advance, i960_function_arg): Likewise.
From-SVN: r3264
1993-01-18 10:44:06 -08:00
Jim Wilson
1375607443 (make_signed_type): Consistently use HOST_BITS_PER_WIDE_INT.
(make_signed_type): Consistently use
HOST_BITS_PER_WIDE_INT.  Correct minor formatting problems.
(fixup_signed_type): Use HOST_BITS_PER_WIDE_INT and HOST_WIDE_INT
like make_signed_type does.
(fixup_unsigned_type): Correct minor formatting problem.

From-SVN: r3263
1993-01-18 10:41:46 -08:00
Ian Lance Taylor
1f050b9b26 Delete header files from include before copying them in
From-SVN: r3262
1993-01-18 16:12:57 +00:00
Richard Kenner
aee42e2745 (choose_temp_base, main): Fix "off by one" errors in sizes of
allocated strings.

From-SVN: r3261
1993-01-18 06:23:11 -05:00
Richard Stallman
dd30a199df (process_command): Fix typo in last change.
From-SVN: r3260
1993-01-18 05:34:03 +00:00
Jeff Law
5de7c240a0 pa.h (FP_REG_CLASS_P): New macro.
* pa.h (FP_REG_CLASS_P): New macro.
	(REGISTER_MOVE_COST): Use FP_REG_CLASS_P to simplify.  Make
	copies from the SAR so expensive that they should never happen.

From-SVN: r3259
1993-01-17 11:07:59 -07:00
Torbjorn Granlund
f133af4c91 (emit_move_sequence): Fix spacing.
(compute_zdepi_operands): Fix header comment.
(many functions): Use %%r register syntax.  Use canonical (0,%rN)
address format.
(output_function_prologue): No need to test frame_pointer_needed
in else clause of `if (frame_pointer_needed)'.
(output_function_prologue): Test boolean merge_sp_adjust_with_store
for zeroness, not for equality with 1.
(fmpyaddoperands): Use new variable mode for mode of operands[0].
(fmpysuboperands): Likewise.

From-SVN: r3258
1993-01-17 15:50:34 +00:00
Jeff Law
c226422058 * pa.c (shadd_constant_p): New function.
From-SVN: r3257
1993-01-15 19:11:15 -07:00
Jeff Law
85bc031ea4 pa.h (LEGITIMIZE_ADDRESS): Handle (plus (mult (X) (Y)) (Z)) when Y is 2, 4, or 8 specially.
* pa.h LEGITIMIZE_ADDRESS): Handle (plus (mult (X) (Y)) (Z))
	when Y is 2, 4, or 8 specially.

From-SVN: r3256
1993-01-15 19:10:32 -07:00
Jeff Law
f9b06ea445 * integrate.c (FIXED_BASE_PLUS_P): Fix typo.
From-SVN: r3255
1993-01-15 17:32:00 -07:00
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