platform/upstream/gcc.git
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

31 years ago* pa.h (ASM_OUTPUT_INTERNAL_LABEL): Fix typo.
Jeff Law [Wed, 13 Jan 1993 15:03:36 +0000 (08:03 -0700)]
* pa.h (ASM_OUTPUT_INTERNAL_LABEL): Fix typo.

From-SVN: r3223

31 years ago(expand_increment): Handle all preincrements by building
Richard Stallman [Wed, 13 Jan 1993 12:07:28 +0000 (12:07 +0000)]
(expand_increment): Handle all preincrements by building
arithmetic and calling expand_assignment.

From-SVN: r3222

31 years ago(rpc/types.h): Change const extern to extern const.
Richard Stallman [Wed, 13 Jan 1993 10:59:15 +0000 (10:59 +0000)]
(rpc/types.h): Change const extern to extern const.

From-SVN: r3221

31 years ago(include_defaults):
Richard Stallman [Wed, 13 Jan 1993 09:06:31 +0000 (09:06 +0000)]
(include_defaults):

Put GCC_INCLUDE_DIR just before the system dirs whose files are fixed.

From-SVN: r3220

31 years ago(risky-stage1, etc): Use $(GCC_PARTS) as what to mv.
Richard Stallman [Wed, 13 Jan 1993 08:05:37 +0000 (08:05 +0000)]
(risky-stage1, etc): Use $(GCC_PARTS) as what to mv.

From-SVN: r3219

31 years ago(CPP_SPEC, LIB_SPEC, LINK_SPEC): Add -compat-bsd conditionals.
Richard Stallman [Wed, 13 Jan 1993 07:56:48 +0000 (07:56 +0000)]
(CPP_SPEC, LIB_SPEC, LINK_SPEC): Add -compat-bsd conditionals.

From-SVN: r3218

31 years ago(_ffsdi2): Use the correct names for structure elements of type DIunion.
Richard Stallman [Wed, 13 Jan 1993 04:30:11 +0000 (04:30 +0000)]
(_ffsdi2): Use the correct names for structure elements of type DIunion.

From-SVN: r3217

31 years ago(variable_size): Change back to NULL_PTR.
Richard Stallman [Wed, 13 Jan 1993 04:25:24 +0000 (04:25 +0000)]
(variable_size): Change back to NULL_PTR.

From-SVN: r3216

31 years ago(reload): Clear reload_in_progress even if reloading fails.
Richard Stallman [Wed, 13 Jan 1993 02:04:37 +0000 (02:04 +0000)]
(reload): Clear reload_in_progress even if reloading fails.

From-SVN: r3215

31 years ago* cse.c (fold_rtx): Call itself with missing arg INSN as NULL_RTX.
Brendan Kehoe [Tue, 12 Jan 1993 23:31:09 +0000 (18:31 -0500)]
* cse.c (fold_rtx): Call itself with missing arg INSN as NULL_RTX.

From-SVN: r3214

31 years agodbxout.c (dbxout_type): Call with missing third arg as 0.
Brendan Kehoe [Tue, 12 Jan 1993 23:30:59 +0000 (18:30 -0500)]
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

31 years agoemit-rtl.c (emit_jump_insn_before): Call make_jump_insn_raw with only one argument.
Brendan Kehoe [Tue, 12 Jan 1993 23:30:47 +0000 (18:30 -0500)]
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

31 years ago* expr.c (group_insns): Make void, since it never returns an rtx.
Brendan Kehoe [Tue, 12 Jan 1993 23:30:32 +0000 (18:30 -0500)]
* expr.c (group_insns): Make void, since it never returns an rtx.

From-SVN: r3211

31 years ago* fold-const.c (fold): Only call force_fit_type with one arg.
Brendan Kehoe [Tue, 12 Jan 1993 23:30:21 +0000 (18:30 -0500)]
* fold-const.c (fold): Only call force_fit_type with one arg.

From-SVN: r3210

31 years agointegrate.c (const_equiv): Delete decl, since it's never defined.
Brendan Kehoe [Tue, 12 Jan 1993 23:29:55 +0000 (18:29 -0500)]
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

31 years agostor-layout.c (variable_size): Call expand_expr with a NULL_RTX, not a NULL_PTR.
Brendan Kehoe [Tue, 12 Jan 1993 23:29:42 +0000 (18:29 -0500)]
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

31 years agocalls.c (emit_call_1): Pass a NULL_RTX into emit_call_insn for missing last arg.
Brendan Kehoe [Tue, 12 Jan 1993 23:29:29 +0000 (18:29 -0500)]
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

31 years ago(stat.h): Don't depend upon specific formal parameter names when...
Jim Wilson [Tue, 12 Jan 1993 22:55:32 +0000 (14:55 -0800)]
(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

31 years ago(main): Set signal handler for SIGPIPE.
Jim Wilson [Tue, 12 Jan 1993 22:52:37 +0000 (14:52 -0800)]
(main): Set signal handler for SIGPIPE.

(pipe_closed): New function, to handle SIGPIPE.

From-SVN: r3205