platform/upstream/gcc.git
31 years ago(install-float-h-cross): Don't ignore error when running enquire.
Richard Stallman [Mon, 25 Jan 1993 05:08:13 +0000 (05:08 +0000)]
(install-float-h-cross): Don't ignore error when running enquire.

From-SVN: r3323

31 years agoDo not give a warning for a plain 0 used in a pointer context.
Michael Meissner [Mon, 25 Jan 1993 03:40:07 +0000 (03:40 +0000)]
Do not give a warning for a plain 0 used in a pointer context.

From-SVN: r3322

31 years agoFix typo in prev change.
Richard Stallman [Sun, 24 Jan 1993 23:48:02 +0000 (23:48 +0000)]
Fix typo in prev change.

From-SVN: r3321

31 years ago(move/push address patterns):
Richard Stallman [Sun, 24 Jan 1993 23:44:50 +0000 (23:44 +0000)]
(move/push address patterns):

Don't use alternative number to distinguish pushes from moves.
Use just one alternative `g' in output constraint.

From-SVN: r3320

31 years ago(CLASS_LIKELY_SPILLED_P): Add default definition.
Richard Kenner [Sun, 24 Jan 1993 12:18:57 +0000 (07:18 -0500)]
(CLASS_LIKELY_SPILLED_P): Add default definition.

(alloc_qty_for_scratch, local_alloc): Use CLASS_LIKELY_SPILLED_P.

From-SVN: r3319

31 years ago(final_scan_insn): Call alter_subreg on duplicate operands (in case we
Richard Kenner [Sun, 24 Jan 1993 12:18:26 +0000 (07:18 -0500)]
(final_scan_insn): Call alter_subreg on duplicate operands (in case we
need to split the insn).

From-SVN: r3318

31 years ago(apply_distributive_law): Don't mess with float arith.
Richard Stallman [Sun, 24 Jan 1993 01:06:11 +0000 (01:06 +0000)]
(apply_distributive_law): Don't mess with float arith.

From-SVN: r3317

31 years agoUse new name objc-act.h.
Richard Stallman [Sun, 24 Jan 1993 00:41:50 +0000 (00:41 +0000)]
Use new name objc-act.h.

From-SVN: r3316

31 years ago(emit_store_flag): Reset ICODE using returned COMPARISON.
Richard Stallman [Sun, 24 Jan 1993 00:03:35 +0000 (00:03 +0000)]
(emit_store_flag): Reset ICODE using returned COMPARISON.

From-SVN: r3315

31 years ago(change_newlines): Renamed from delete_newlines.
Richard Stallman [Sat, 23 Jan 1993 23:56:08 +0000 (23:56 +0000)]
(change_newlines): Renamed from delete_newlines.

Insert a space in place of a newline.  Caller changed.

From-SVN: r3314

31 years ago* config/m68k/tower-as.h (STARTFILE_SPEC): Moved to tower.h.
Niklas Hallqvist [Sat, 23 Jan 1993 23:26:18 +0000 (23:26 +0000)]
* config/m68k/tower-as.h (STARTFILE_SPEC): Moved to tower.h.

From-SVN: r3313

31 years agotower.h (LIB_SPEC): Use %s instead of absolute path.
Niklas Hallqvist [Sat, 23 Jan 1993 23:25:55 +0000 (23:25 +0000)]
tower.h (LIB_SPEC): Use %s instead of absolute path.

* config/m68k/tower.h (LIB_SPEC): Use %s instead of absolute path.
(STARTFILE_SPEC): Moved here from tower-as.h.  Use %s instead of
absolute path.

From-SVN: r3312

31 years agoComment fix.
Richard Stallman [Sat, 23 Jan 1993 23:03:57 +0000 (23:03 +0000)]
Comment fix.

From-SVN: r3311

31 years ago(find_basic_blocks): Don't mark labels in nonlocal_label_list
Richard Stallman [Sat, 23 Jan 1993 22:16:52 +0000 (22:16 +0000)]
(find_basic_blocks): Don't mark labels in nonlocal_label_list
that were deleted due to having no references.

From-SVN: r3310

31 years ago(reload): After calling count_possible_groups, see if we have to proceed with allocat...
Richard Kenner [Sat, 23 Jan 1993 22:13:03 +0000 (17:13 -0500)]
(reload): After calling count_possible_groups, see if we have to proceed with allocating a group.

(reload): After calling count_possible_groups, see if we have to proceed
with allocating a group.
(count_possible_groups): Use HARD_REG_SET, not a char array, for consistency.

From-SVN: r3309

31 years ago(ASM_OUTPUT_DOUBLE_OPERAND): Delete space before arglist.
Richard Stallman [Sat, 23 Jan 1993 21:29:51 +0000 (21:29 +0000)]
(ASM_OUTPUT_DOUBLE_OPERAND): Delete space before arglist.

From-SVN: r3308

31 years ago(cross-test): Depend on GCC_PARTS.
Richard Stallman [Sat, 23 Jan 1993 20:16:48 +0000 (20:16 +0000)]
(cross-test): Depend on GCC_PARTS.

From-SVN: r3307

31 years ago(ADJUST_COST): Add new definition.
Richard Kenner [Sat, 23 Jan 1993 12:14:52 +0000 (07:14 -0500)]
(ADJUST_COST): Add new definition.

From-SVN: r3306

31 years agoUse pwd if PWDCMD is undefined. Add missing echo command.
Jim Wilson [Fri, 22 Jan 1993 23:54:42 +0000 (15:54 -0800)]
Use pwd if PWDCMD is undefined.  Add missing echo command.

From-SVN: r3305

31 years agoCygnus<-->FSF merge.
Brendan Kehoe [Fri, 22 Jan 1993 23:10:33 +0000 (18:10 -0500)]
Cygnus<-->FSF merge.

From-SVN: r3304

31 years agoCygnus<-->FSF merge
Brendan Kehoe [Fri, 22 Jan 1993 23:05:01 +0000 (18:05 -0500)]
Cygnus<-->FSF merge

From-SVN: r3303

31 years ago(SIZE_TYPE): Define.
Torbjorn Granlund [Fri, 22 Jan 1993 20:08:29 +0000 (20:08 +0000)]
(SIZE_TYPE): Define.

(NO_DOLLAR_IN_LABEL): Define.

From-SVN: r3302

31 years ago* pa.c (secondary_reload_class): Simplify.
Jeff Law [Fri, 22 Jan 1993 17:19:18 +0000 (10:19 -0700)]
* pa.c (secondary_reload_class): Simplify.

From-SVN: r3301

31 years ago(emit_library_call): Correct mis-applied patch.
Richard Kenner [Fri, 22 Jan 1993 12:56:45 +0000 (07:56 -0500)]
(emit_library_call): Correct mis-applied patch.

From-SVN: r3300

31 years ago(our_file_name): New variable.
Richard Kenner [Fri, 22 Jan 1993 12:56:23 +0000 (07:56 -0500)]
(our_file_name): New variable.

(find_a_file): Ignore filename equal to that in our_file_name.
(main): Initialize our_file_name.

From-SVN: r3299

31 years ago* pa.c (emit_move_sequence): Handle secondary reloads for SAR.
Jeff Law [Thu, 21 Jan 1993 16:34:59 +0000 (09:34 -0700)]
* pa.c (emit_move_sequence): Handle secondary reloads for SAR.

From-SVN: r3298

31 years agopa.h (REG_CLASSES): Delete GENERAL_OR_FP_OR_SNAKE_FP register class, it's not needed...
Jeff Law [Thu, 21 Jan 1993 16:34:04 +0000 (09:34 -0700)]
pa.h (REG_CLASSES): Delete GENERAL_OR_FP_OR_SNAKE_FP register class, it's not needed anymore.

* pa.h (REG_CLASSES): Delete GENERAL_OR_FP_OR_SNAKE_FP register
class, it's not needed anymore.  Delete all references.  'Z'
register class is now "ALL_REGS".

From-SVN: r3297

31 years ago(cmpM_cc): Allow first operand to be a MEM.
James Van Artsdalen [Wed, 20 Jan 1993 06:48:48 +0000 (06:48 +0000)]
(cmpM_cc): Allow first operand to be a MEM.

Don't allow both operands to be MEM.
(float addM3,subM3,divM3,mulM3 recognizers): Don't allow either operand
to be a constant.
(all float patterns, FLOAT_EXTEND operands): Don't allow GENERAL_REGS
for float_extended operand.
(all float patterns, FLOAT operands): Change constraints to get better
register classification.
(fix_truncMN2 patterns): Likewise.
(floatMN2 patterns): Likewise.

From-SVN: r3296

31 years ago(PREFERRED_RELOAD_CLASS): Narrow ALL_REGS to GENERAL_REGS.
James Van Artsdalen [Wed, 20 Jan 1993 06:45:28 +0000 (06:45 +0000)]
(PREFERRED_RELOAD_CLASS): Narrow ALL_REGS to GENERAL_REGS.

(PREFERRED_OUTPUT_RELOAD_CLASS): New macro.  Narrow ALL_REGS to GENERAL_REGS.
(SECONDARY_MEMORY_NEEDED): New macro.

From-SVN: r3295

31 years ago(all functions): Use NULL_RTX instead of 0 for rtx comparisons.
James Van Artsdalen [Wed, 20 Jan 1993 06:39:06 +0000 (06:39 +0000)]
(all functions): Use NULL_RTX instead of 0 for rtx comparisons.

(emit_pop_insn): Emit insn with mode QImode: insn contains stack-regs.
(emit_hard_swap_insn): Delete.
(emit_swap_insn): Merge with emit_hard_swap_insn.
Delete WHEN arg and change all callers.
If previous insn was a push from REG, omit swap.
If previous insn wrote reg-stack top to REG, omit swap.
Emit swap insn with mode QImode: insn contains stack-regs.
Emit swap insn after previous float insn, instead of before this one.
(swap_rtx_condition): New function.
(compare_for_stack_reg): If op 0 of COMPARE is not a stack reg, exchange
ops 0 and 1 and swap cc0 user condition.

From-SVN: r3294

31 years ago(cmplpower2_operand): New function.
Jim Wilson [Wed, 20 Jan 1993 03:48:54 +0000 (19:48 -0800)]
(cmplpower2_operand): New function.

From-SVN: r3293

31 years ago(addsi3): Clean up condition for when to use subo.
Jim Wilson [Wed, 20 Jan 1993 03:48:11 +0000 (19:48 -0800)]
(addsi3): Clean up condition for when to use subo.

(umulsidi3): New pattern.
(non-canonical nand, nor): Remove paterns.
(clrbit, notbit static bit): New patterns.
(setbit, clrbit, notbit dynamic bit): New patterns.
(setbit static bit non-canonical): Remove pattern.
(muldf3, mulsf3, multf3): Add % to operand1.
(test recognizers): Use TAB efter mnemonic.

From-SVN: r3292

31 years ago(update_reg_dead_notes): New function.
Jim Wilson [Wed, 20 Jan 1993 01:16:59 +0000 (17:16 -0800)]
(update_reg_dead_notes): New function.

(fill_simple_delay_slots): Call new function when moving
instruction forward into a delay slot.

From-SVN: r3291

31 years ago(sched_analyze_1...
Jim Wilson [Wed, 20 Jan 1993 01:13:48 +0000 (17:13 -0800)]
(sched_analyze_1...

(sched_analyze_1, sched_analyze_2): Ifdef out code added
for handling psuedo register equivalents that was added Dec 31 1992.

From-SVN: r3290

31 years ago(emit_cmp_insn, emit_float_lib_cmp): libcall comparisons return word_mode.
Jim Wilson [Wed, 20 Jan 1993 01:07:34 +0000 (17:07 -0800)]
(emit_cmp_insn, emit_float_lib_cmp): libcall comparisons return word_mode.

From-SVN: r3289

31 years ago(cmpdi2, ucmpdi2): comparison result type is now word_mode.
Jim Wilson [Wed, 20 Jan 1993 01:07:04 +0000 (17:07 -0800)]
(cmpdi2, ucmpdi2): comparison result type is now word_mode.

From-SVN: r3288

31 years ago(__eqdf2, __nedf2, __gtdf2, __gedf2, __ltdf2, __ledf2,
Jim Wilson [Wed, 20 Jan 1993 01:06:43 +0000 (17:06 -0800)]
(__eqdf2, __nedf2, __gtdf2, __gedf2, __ltdf2, __ledf2,

__eqsf2, __nesf2, __gtsf2, __gesf2, __ltsf2, __lesf2):  comparison
result type is now word_mode.

From-SVN: r3287

31 years ago(print_operand, case 'k'): New case.
Richard Kenner [Tue, 19 Jan 1993 23:51:32 +0000 (18:51 -0500)]
(print_operand, case 'k'): New case.

From-SVN: r3286

31 years ago(plus of gtu patterns): Add case to handle immediates.
Richard Kenner [Tue, 19 Jan 1993 23:50:54 +0000 (18:50 -0500)]
(plus of gtu patterns): Add case to handle immediates.

From-SVN: r3285

31 years ago(find_reg): Add comment about nonlocal labels.
Richard Kenner [Tue, 19 Jan 1993 23:24:27 +0000 (18:24 -0500)]
(find_reg): Add comment about nonlocal labels.

From-SVN: r3284

31 years ago(find_free_reg): Add comment about nonlocal labels.
Richard Kenner [Tue, 19 Jan 1993 23:23:39 +0000 (18:23 -0500)]
(find_free_reg): Add comment about nonlocal labels.

From-SVN: r3283

31 years ago(output_epilog): Only restore the cr's that we actually used;
Richard Kenner [Tue, 19 Jan 1993 22:54:22 +0000 (17:54 -0500)]
(output_epilog): Only restore the cr's that we actually used;

previously, we saved and restored all of them.

From-SVN: r3282

31 years ago(fixup_var_refs_1): Set INSN_CODE to -1 before seeing if new insn form
James Van Artsdalen [Tue, 19 Jan 1993 21:27:54 +0000 (21:27 +0000)]
(fixup_var_refs_1): Set INSN_CODE to -1 before seeing if new insn form
is recognized.

From-SVN: r3281

31 years ago(REG_CLASS_FROM_LETTER): Remove partly incorrect PA documentation.
Torbjorn Granlund [Tue, 19 Jan 1993 21:03:36 +0000 (21:03 +0000)]
(REG_CLASS_FROM_LETTER): Remove partly incorrect PA documentation.

From-SVN: r3280

31 years ago(print_operand): Handle 'S' and 'B' for conditions.
Torbjorn Granlund [Tue, 19 Jan 1993 21:03:05 +0000 (21:03 +0000)]
(print_operand): Handle 'S' and 'B' for conditions.

Handle 'I' for printing 'i' when CONST_INT.
Handle 'k' for ones-complement of CONST_INT.
(incscc_operator): Remove.

From-SVN: r3279

31 years ago(define_function_unit for memory): Memory is pipelined.
Torbjorn Granlund [Tue, 19 Jan 1993 21:00:43 +0000 (21:00 +0000)]
(define_function_unit for memory): Memory is pipelined.

(sCC patterns): Use %char notation instead of nested if stmts.
(branch matchers): Likewise.
(incscc, negscc): Likewise.  Add ? constraint for 3-insn alternative.
(incscc): Split into `incscc' and `decscc' to make this really
match.
(incscc/decscc special cases): New patterns using carry bit.

(many patterns): Use canonical address format.  Use %r
register notation.  Use GEN_INT.

(main move SF recognizer): Allow 0 for copying to general register.

(zero_extendhisi2): Remove DEFINE_EXPAND.
(zero_extendqihi2): Likewise.
(zero_extendqisi2): Likewise.
(comment before sign extension): Remove the lie.

From-SVN: r3278

31 years ago(build_compound_expr): Use non_lvalue if value is 0.
Richard Stallman [Tue, 19 Jan 1993 15:09:34 +0000 (15:09 +0000)]
(build_compound_expr): Use non_lvalue if value is 0.

From-SVN: r3277

31 years ago(non_lvalue): Result must not be null ptr constant.
Richard Stallman [Tue, 19 Jan 1993 15:09:12 +0000 (15:09 +0000)]
(non_lvalue): Result must not be null ptr constant.

(omit_one_operand): Use non_lvalue.
(fold, case COMPOUND_EXPR): Use non_lvalue if value is 0.

From-SVN: r3276

31 years ago(combine_instructions): Clear reg_last_set_label.
Richard Kenner [Tue, 19 Jan 1993 13:28:55 +0000 (08:28 -0500)]
(combine_instructions): Clear reg_last_set_label.

From-SVN: r3275

31 years ago(local_prefix): new prefix, the default is /usr/local.
Richard Stallman [Tue, 19 Jan 1993 08:54:40 +0000 (08:54 +0000)]
(local_prefix): new prefix, the default is /usr/local.

(cccp.o): change LOCAL_INCLUDE_DIR to $(local_prefix)/include.

From-SVN: r3274

31 years agoTargets and deps objc-actions.* renamed to objc-act.*.
Richard Stallman [Tue, 19 Jan 1993 03:23:00 +0000 (03:23 +0000)]
Targets and deps objc-actions.* renamed to objc-act.*.

From-SVN: r3273

31 years agoInclude objc-act.h.
Richard Stallman [Tue, 19 Jan 1993 03:21:31 +0000 (03:21 +0000)]
Include objc-act.h.

From-SVN: r3272

31 years agoComment change.
Richard Stallman [Tue, 19 Jan 1993 03:20:52 +0000 (03:20 +0000)]
Comment change.

From-SVN: r3271

31 years ago(encode_method_def): Null-terminate encoding.
Richard Stallman [Tue, 19 Jan 1993 03:18:50 +0000 (03:18 +0000)]
(encode_method_def): Null-terminate encoding.

(build_ivar_list_initializer): Null-terminate type encoding.

From-SVN: r3270

31 years ago(include_defaults): Do use GCC_INCLUDE_DIR for cross compiler.
Richard Stallman [Mon, 18 Jan 1993 20:30:49 +0000 (20:30 +0000)]
(include_defaults): Do use GCC_INCLUDE_DIR for cross compiler.

Move TOOL_INCLUDE_DIR later if cross.

From-SVN: r3269

31 years ago(emit_library_call): Handle OUTGOING_REG_PARM_STACK_SPACE.
Jim Wilson [Mon, 18 Jan 1993 18:55:02 +0000 (10:55 -0800)]
(emit_library_call): Handle OUTGOING_REG_PARM_STACK_SPACE.

Use NULL_TREE instead of (tree) 0.

From-SVN: r3268

31 years ago(emit_move_insn, expand_expr): Fix typos in comments.
Jim Wilson [Mon, 18 Jan 1993 18:52:38 +0000 (10:52 -0800)]
(emit_move_insn, expand_expr): Fix typos in comments.

From-SVN: r3267

31 years ago(initialize_builtins): Add uses of new macros
Jim Wilson [Mon, 18 Jan 1993 18:47:57 +0000 (10:47 -0800)]
(initialize_builtins): Add uses of new macros
NO_BUILTIN_SIZE_TYPE and NO_BUILTIN_PTRDIFF_TYPE.

From-SVN: r3266

31 years ago(ROUND): Change macro name to ROUND_PARM.
Jim Wilson [Mon, 18 Jan 1993 18:44:27 +0000 (10:44 -0800)]
(ROUND): Change macro name to ROUND_PARM.

From-SVN: r3265

31 years ago(i960_function_arg_advance, i960_function_arg): Likewise.
Jim Wilson [Mon, 18 Jan 1993 18:44:06 +0000 (10:44 -0800)]
(i960_function_arg_advance, i960_function_arg): Likewise.

From-SVN: r3264

31 years ago(make_signed_type): Consistently use HOST_BITS_PER_WIDE_INT.
Jim Wilson [Mon, 18 Jan 1993 18:41:46 +0000 (10:41 -0800)]
(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

31 years agoDelete header files from include before copying them in
Ian Lance Taylor [Mon, 18 Jan 1993 16:12:57 +0000 (16:12 +0000)]
Delete header files from include before copying them in

From-SVN: r3262

31 years ago(choose_temp_base, main): Fix "off by one" errors in sizes of
Richard Kenner [Mon, 18 Jan 1993 11:23:11 +0000 (06:23 -0500)]
(choose_temp_base, main): Fix "off by one" errors in sizes of
allocated strings.

From-SVN: r3261

31 years ago(process_command): Fix typo in last change.
Richard Stallman [Mon, 18 Jan 1993 05:34:03 +0000 (05:34 +0000)]
(process_command): Fix typo in last change.

From-SVN: r3260

31 years agopa.h (FP_REG_CLASS_P): New macro.
Jeff Law [Sun, 17 Jan 1993 18:07:59 +0000 (11:07 -0700)]
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

31 years ago(emit_move_sequence): Fix spacing.
Torbjorn Granlund [Sun, 17 Jan 1993 15:50:34 +0000 (15:50 +0000)]
(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

31 years ago* pa.c (shadd_constant_p): New function.
Jeff Law [Sat, 16 Jan 1993 02:11:15 +0000 (19:11 -0700)]
* pa.c (shadd_constant_p): New function.

From-SVN: r3257

31 years agopa.h (LEGITIMIZE_ADDRESS): Handle (plus (mult (X) (Y)) (Z)) when Y is 2, 4, or 8...
Jeff Law [Sat, 16 Jan 1993 02:10:32 +0000 (19:10 -0700)]
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

31 years ago* integrate.c (FIXED_BASE_PLUS_P): Fix typo.
Jeff Law [Sat, 16 Jan 1993 00:32:00 +0000 (17:32 -0700)]
* integrate.c (FIXED_BASE_PLUS_P): Fix typo.

From-SVN: r3255

31 years agoloop.c (move_movables): Clear INSN_CODE for eachinsn as we perform register replacements.
Jeff Law [Fri, 15 Jan 1993 21:41:27 +0000 (14:41 -0700)]
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

31 years agoWith previous change, don't fail on `-l'.
Brendan Kehoe [Fri, 15 Jan 1993 21:30:53 +0000 (16:30 -0500)]
With previous change, don't fail on `-l'.

From-SVN: r3253

31 years agoUndo previous change.
Brendan Kehoe [Fri, 15 Jan 1993 21:01:03 +0000 (16:01 -0500)]
Undo previous change.

From-SVN: r3252

31 years agoAvoid problems with relative $(srcdir) when installing syslimits.h.
Ian Lance Taylor [Fri, 15 Jan 1993 06:10:54 +0000 (06:10 +0000)]
Avoid problems with relative $(srcdir) when installing syslimits.h.

From-SVN: r3251

31 years agoc-decl.c (c_decode_option): Set WARN_UNINITIALIZED to 2 with -Wall...
Brendan Kehoe [Fri, 15 Jan 1993 00:35:00 +0000 (19:35 -0500)]
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

31 years agogcc.c (process_command): Only accept input files which exist and can be read...
Brendan Kehoe [Fri, 15 Jan 1993 00:19:25 +0000 (19:19 -0500)]
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

31 years agocccp.c (main): Trim down to the basename of what's to go in PROGNAME.
Brendan Kehoe [Fri, 15 Jan 1993 00:19:10 +0000 (19:19 -0500)]
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

31 years ago* pa.h (CONDITIONAL_REGISTER_USAGE): Do not make %r27 a global_reg.
Jeff Law [Thu, 14 Jan 1993 23:55:59 +0000 (16:55 -0700)]
* pa.h (CONDITIONAL_REGISTER_USAGE): Do not make %r27 a global_reg.

From-SVN: r3247

31 years agopa.c (output_function_prologue): Combine stack adjustment and first GR save when...
Jeff Law [Thu, 14 Jan 1993 23:45:40 +0000 (16:45 -0700)]
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

31 years agoChange `config/' to `config/mips/'.
Richard Kenner [Thu, 14 Jan 1993 23:23:21 +0000 (18:23 -0500)]
Change `config/' to `config/mips/'.

From-SVN: r3245

31 years agoFix typo.
Jeff Law [Thu, 14 Jan 1993 22:00:22 +0000 (15:00 -0700)]
Fix typo.

From-SVN: r3244

31 years agopa.h (LEGITIMIZE_ADDRESS): Rework to create REG or REG+D addresses instead of REG...
Jeff Law [Thu, 14 Jan 1993 21:50:18 +0000 (14:50 -0700)]
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

31 years agoBuild include files in build directory when doing make all.
Ian Lance Taylor [Thu, 14 Jan 1993 20:10:31 +0000 (20:10 +0000)]
Build include files in build directory when doing make all.

From-SVN: r3242

31 years ago(CONST_OK_FOR_LETTER_P): Change meaning of 'K'.
Torbjorn Granlund [Thu, 14 Jan 1993 19:34:47 +0000 (19:34 +0000)]
(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

31 years agoCorrect typo in comment.
Jim Wilson [Thu, 14 Jan 1993 19:30:29 +0000 (11:30 -0800)]
Correct typo in comment.

From-SVN: r3240

31 years ago(egrep and sed loop): Don't print messages about files that need no change.
Jim Wilson [Thu, 14 Jan 1993 19:29:26 +0000 (11:29 -0800)]
(egrep and sed loop): Don't print messages about files that need no change.

From-SVN: r3239

31 years ago(move_operand): Allow all CONST_INTs that can be moved to general registers with...
Torbjorn Granlund [Thu, 14 Jan 1993 19:28:19 +0000 (19:28 +0000)]
(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

31 years ago(muldf+1, muldf+2): Add patterns for fsmuld and fdmulq.
Jim Wilson [Thu, 14 Jan 1993 19:23:09 +0000 (11:23 -0800)]
(muldf+1, muldf+2):  Add patterns for fsmuld and fdmulq.

From-SVN: r3237

31 years ago(CPP_SPEC): Add -mfrw support.
Jim Wilson [Thu, 14 Jan 1993 19:21:29 +0000 (11:21 -0800)]
(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

31 years agoDocument sparclite integer multiply cycle times.
Jim Wilson [Thu, 14 Jan 1993 19:20:51 +0000 (11:20 -0800)]
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

31 years agoClarify numerous *_operand comments.
Jim Wilson [Thu, 14 Jan 1993 19:20:09 +0000 (11:20 -0800)]
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

31 years ago(do_tablejump): Pass 1 for unsigned flag to emit_cmp_insn.
Jim Wilson [Thu, 14 Jan 1993 19:16:40 +0000 (11:16 -0800)]
(do_tablejump): Pass 1 for unsigned flag to emit_cmp_insn.

From-SVN: r3233

31 years ago(move patterns): Reorganize pattern order.
Torbjorn Granlund [Thu, 14 Jan 1993 19:11:55 +0000 (19:11 +0000)]
(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

31 years ago(copy_rtx): A MEM with constant address is not sharable.
Jim Wilson [Thu, 14 Jan 1993 18:33:41 +0000 (10:33 -0800)]
(copy_rtx): A MEM with constant address is not sharable.

Undo Dec 27 change.

From-SVN: r3231

31 years ago(cmpstr patterns): Fix mode mismatch in SET.
James Van Artsdalen [Thu, 14 Jan 1993 12:46:45 +0000 (12:46 +0000)]
(cmpstr patterns): Fix mode mismatch in SET.

From-SVN: r3230

31 years ago(expand_asm_operands): For clobbering memory,
Richard Stallman [Thu, 14 Jan 1993 07:15:14 +0000 (07:15 +0000)]
(expand_asm_operands): For clobbering memory,

generate (MEM (SCRATCH)) inside the CLOBBER.

From-SVN: r3229

31 years agoRemoved REAL_LD_NAME
Ian Lance Taylor [Wed, 13 Jan 1993 23:29:10 +0000 (23:29 +0000)]
Removed REAL_LD_NAME

From-SVN: r3228

31 years agoUse TOOLDIR_BASE_PREFIX, not TOOLDIR_PREFIX
Ian Lance Taylor [Wed, 13 Jan 1993 22:37:01 +0000 (22:37 +0000)]
Use TOOLDIR_BASE_PREFIX, not TOOLDIR_PREFIX

From-SVN: r3227

31 years agoEliminated install-cross-tools
Ian Lance Taylor [Wed, 13 Jan 1993 22:37:01 +0000 (22:37 +0000)]
Eliminated install-cross-tools

From-SVN: r3226

31 years agoFix ffsdi2 return types.
Michael Meissner [Wed, 13 Jan 1993 20:36:07 +0000 (20:36 +0000)]
Fix ffsdi2 return types.

From-SVN: r3225

31 years agoFix printing multiple file section.
Michael Meissner [Wed, 13 Jan 1993 17:02:41 +0000 (17:02 +0000)]
Fix printing multiple file section.

From-SVN: r3224