Commit Graph

3381 Commits

Author SHA1 Message Date
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
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