platform/upstream/gcc.git
31 years ago(shift_cost): Now a vector.
Richard Kenner [Mon, 15 Mar 1993 02:26:55 +0000 (21:26 -0500)]
(shift_cost): Now a vector.

(shiftadd_cost): New vector for cost of (N * a + b) instructions.
(shiftsub_cost): New vector for cost of (N * a - b) instructions.
(lea_cost): Removed.
(init_expmed): Initialize new vectors.  Use ASHIFT, not LSHIFT.
Remove code initializing lea_cost.
(enum alg_code): New definition.
(synth_mult): Rewrite for better algorithms and faster operation.
(expand_mult): Rewrite code for constant multiplication.

From-SVN: r3735

31 years ago(build_objc_method_call, get_class_reference):
Richard Kenner [Sun, 14 Mar 1993 22:21:33 +0000 (17:21 -0500)]
(build_objc_method_call, get_class_reference):

Call assemble_external on anything we are about to generate a call to.
(get_super_receiver): Likewise.
(handle_class_ref): Put constant in readonly-data section, not text.
(build_objc_symtab_template): Correctly build index type for 0-length array.

From-SVN: r3734

31 years ago(simplify_plus_minus): Reject "simplifications" that are too complex
Richard Kenner [Sun, 14 Mar 1993 14:37:43 +0000 (09:37 -0500)]
(simplify_plus_minus): Reject "simplifications" that are too complex
in form.

From-SVN: r3733

31 years ago(simplify_plus_minus): Correct sign error in expanding NOT.
Richard Kenner [Sun, 14 Mar 1993 11:32:20 +0000 (06:32 -0500)]
(simplify_plus_minus): Correct sign error in expanding NOT.

From-SVN: r3732

31 years ago(choose_reload_regs): Verify reload_out[j != 0
Richard Stallman [Sun, 14 Mar 1993 05:02:30 +0000 (05:02 +0000)]
(choose_reload_regs): Verify reload_out[j != 0
before comparing with relaod_earlyclobber elements.

From-SVN: r3731

31 years ago(emit_call_1): Restore inhibit_defer_pop before popping args
Richard Stallman [Sun, 14 Mar 1993 02:08:37 +0000 (02:08 +0000)]
(emit_call_1): Restore inhibit_defer_pop before popping args
so that pops really do get deferred if appropriate.

From-SVN: r3730

31 years ago(simplify_plus_minus): When seeing if we have reduced the number of operands...
Richard Kenner [Sun, 14 Mar 1993 01:45:44 +0000 (20:45 -0500)]
(simplify_plus_minus): When seeing if we have reduced the number of operands...

(simplify_plus_minus): When seeing if we have reduced the number of
operands, ensure we count a CONST result as two operands.

From-SVN: r3729

31 years agoCorrectly define PUSH_ARGS_REVERSED.
Richard Kenner [Sat, 13 Mar 1993 23:13:22 +0000 (18:13 -0500)]
Correctly define PUSH_ARGS_REVERSED.

From-SVN: r3728

31 years agopa.c (eligible_for_epilogue_delay): Insns which access %r2 can not be used to...
Jeff Law [Sat, 13 Mar 1993 21:47:54 +0000 (14:47 -0700)]
pa.c (eligible_for_epilogue_delay): Insns which access %r2 can not be used to...

* pa.c eligible_for_epilogue_delay): Insns which access
%r2 can not be used to fill the epilogue's delay slot.

From-SVN: r3727

31 years ago(emit_swap_insn): If emitting after a cc0 setter, link the cc0 insns.
James Van Artsdalen [Sat, 13 Mar 1993 21:33:23 +0000 (21:33 +0000)]
(emit_swap_insn): If emitting after a cc0 setter, link the cc0 insns.

From-SVN: r3726

31 years agoAdd prototypes for static functions.
Richard Kenner [Sat, 13 Mar 1993 03:06:14 +0000 (22:06 -0500)]
Add prototypes for static functions.

(struct move_by_pieces): Move definition before function forward decls.

From-SVN: r3725

31 years ago(USE_C_ALLOCA): Define if not __GNUC__.
Richard Stallman [Fri, 12 Mar 1993 23:43:25 +0000 (23:43 +0000)]
(USE_C_ALLOCA): Define if not __GNUC__.

From-SVN: r3724

31 years agoentered into RCS
Roland McGrath [Fri, 12 Mar 1993 23:42:05 +0000 (23:42 +0000)]
entered into RCS

From-SVN: r3723

31 years ago(variable_size): Better error for div by 0 in size.
Richard Stallman [Fri, 12 Mar 1993 23:17:41 +0000 (23:17 +0000)]
(variable_size): Better error for div by 0 in size.

From-SVN: r3722

31 years ago(emit_push_insn): Handle failure of gen_movstr...
Richard Stallman [Fri, 12 Mar 1993 23:07:38 +0000 (23:07 +0000)]
(emit_push_insn): Handle failure of gen_movstr...

From-SVN: r3721

31 years ago(PROMOTE_MODE): Fix typo.
Richard Kenner [Fri, 12 Mar 1993 22:48:08 +0000 (17:48 -0500)]
(PROMOTE_MODE): Fix typo.

From-SVN: r3720

31 years ago(refers_to_mem_p): Use rtx_equal_p to see if bases are equal.
Richard Kenner [Fri, 12 Mar 1993 22:43:28 +0000 (17:43 -0500)]
(refers_to_mem_p): Use rtx_equal_p to see if bases are equal.

From-SVN: r3719

31 years ago(set_nonvarying_address_components): Fix type mismatch with caller.
Richard Kenner [Fri, 12 Mar 1993 22:39:19 +0000 (17:39 -0500)]
(set_nonvarying_address_components): Fix type mismatch with caller.

(refers_to_mem_p): Call properly in second call.

From-SVN: r3718

31 years ago(jump_optimize): Fix bug in last change.
Richard Kenner [Fri, 12 Mar 1993 22:25:25 +0000 (17:25 -0500)]
(jump_optimize): Fix bug in last change.

From-SVN: r3717

31 years ago(truncdfsf2): Rewrite to allow FLOAT_REGS in constraints for better register preferences.
James Van Artsdalen [Fri, 12 Mar 1993 09:34:38 +0000 (09:34 +0000)]
(truncdfsf2): Rewrite to allow FLOAT_REGS in constraints for better register preferences.

(truncdfsf2): Rewrite to allow FLOAT_REGS in constraints
   for better register preferences.
(movM): If REG_WAS_0, make sure the reg hasn't changed since then.
(cmpM expanders): Don't allow both operands to be MEM.
Use VOIDmode for the COMPARE rtx instead of CCmode.
(cmpM recognizers): Likewise.
Remove constraints for constants from operand 0.
(cmpdf,cmpsf recognizers): When using VOIDmode as mode of the COMPARE rtx,
   require that the mode be exactly VOIDmode.

From-SVN: r3716

31 years ago(get_true_reg): Don't ignore FLOAT_TRUNCATE.
James Van Artsdalen [Fri, 12 Mar 1993 09:27:29 +0000 (09:27 +0000)]
(get_true_reg): Don't ignore FLOAT_TRUNCATE.

(subst_stack_regs_pat): Substitute in FLOAT_TRUNCATE insns.
(compare_for_stack_reg): Reset insn code after swapping operands.

From-SVN: r3715

31 years ago(VOIDmode_compare_op): New operand predicate function.
James Van Artsdalen [Fri, 12 Mar 1993 09:26:43 +0000 (09:26 +0000)]
(VOIDmode_compare_op): New operand predicate function.

From-SVN: r3714

31 years ago(FLOAT_CLASS_P): New macro.
James Van Artsdalen [Fri, 12 Mar 1993 09:22:53 +0000 (09:22 +0000)]
(FLOAT_CLASS_P): New macro.

(REGISTER_MOVE_COST): Use it instead of comparing to FLOAT_REGS.
(PREFERRED_RELOAD_CLASS): Likewise.
(SECONDARY_MEMORY_NEEDED): Likewise.
(CLASS_MAX_NREGS): Likewise.
(SELECT_CC_MODE): Use VOIDmode for non-FP-equality comparisons.

From-SVN: r3713

31 years ago(movM): If REG_WAS_0, make sure the reg hasn't changed since then.
James Van Artsdalen [Fri, 12 Mar 1993 09:18:56 +0000 (09:18 +0000)]
(movM): If REG_WAS_0, make sure the reg hasn't changed since then.

From-SVN: r3712

31 years ago* (RETURN_IN_MEMORY): Handle BLKmode values.
Doug Evans [Fri, 12 Mar 1993 00:11:19 +0000 (00:11 +0000)]
* (RETURN_IN_MEMORY): Handle BLKmode values.

From-SVN: r3711

31 years ago(RTX_COST, case MULT): Handle s8addx and s4addx.
Richard Kenner [Fri, 12 Mar 1993 00:10:28 +0000 (19:10 -0500)]
(RTX_COST, case MULT): Handle s8addx and s4addx.

(RTX_COST, case MULT): Correctly assign cost to multiplies by a power of two.
(RTX_COST, case ASHIFT, ASHIFTRT, LSHIFTRT, IF_THEN_ELSE): New cases.

From-SVN: r3710

31 years ago* (RETURN_IN_MEMORY): Handle BLKmode values.
Doug Evans [Fri, 12 Mar 1993 00:10:21 +0000 (00:10 +0000)]
* (RETURN_IN_MEMORY): Handle BLKmode values.

From-SVN: r3709

31 years ago(CHEAP_REG): New macro; makes virtual regs cheap too.
Richard Kenner [Fri, 12 Mar 1993 00:02:37 +0000 (19:02 -0500)]
(CHEAP_REG): New macro; makes virtual regs cheap too.

(COST): Use CHEAP_REG.
(rtx_cost, case REG): Use CHEAP_REG to return zero for some REGs.

From-SVN: r3708

31 years ago* (aggregate_value_p): RETURN_IN_MEMORY handles BLKmode values.
Doug Evans [Thu, 11 Mar 1993 23:55:44 +0000 (23:55 +0000)]
* (aggregate_value_p): RETURN_IN_MEMORY handles BLKmode values.

From-SVN: r3707

31 years agopa.md (FP sCC insn): Delete.
Jeff Law [Thu, 11 Mar 1993 14:13:07 +0000 (07:13 -0700)]
pa.md (FP sCC insn): Delete.

* pa.md (FP sCC insn): Delete.
(sCC define_expands): FAIL instead of generating FP sCC insns.

From-SVN: r3706

31 years ago* pa.c (gen_scond_fp): Delete.
Jeff Law [Thu, 11 Mar 1993 14:12:53 +0000 (07:12 -0700)]
* pa.c (gen_scond_fp): Delete.

From-SVN: r3705

31 years ago* pa.h (toplevel): Delete declaration of gen_scond_fp.
Jeff Law [Thu, 11 Mar 1993 14:12:39 +0000 (07:12 -0700)]
* pa.h (toplevel): Delete declaration of gen_scond_fp.

From-SVN: r3704

31 years agocse.c (set_nonvarying_address_components): New function.
Jeff Law [Thu, 11 Mar 1993 12:46:36 +0000 (05:46 -0700)]
cse.c (set_nonvarying_address_components): New function.

* cse.c (set_nonvarying_address_components): New function.
(invalidate): Use set_nonvarying_address_components instead of
computing them.
(refers_to_mem_p): Likewise.  Simplify checks for conflicting
memory accesses.  Make static.

From-SVN: r3703

31 years ago* loop.c (addr_overlap_p): Delete.
Jeff Law [Thu, 11 Mar 1993 12:45:54 +0000 (05:45 -0700)]
* loop.c (addr_overlap_p): Delete.

From-SVN: r3702

31 years ago(define_label): Use current line number in error msg.
Richard Stallman [Thu, 11 Mar 1993 08:19:03 +0000 (08:19 +0000)]
(define_label): Use current line number in error msg.

From-SVN: r3701

31 years ago(const_binop): When evaluating a shift, ignore
Richard Stallman [Thu, 11 Mar 1993 08:18:16 +0000 (08:18 +0000)]
(const_binop): When evaluating a shift, ignore
overflows generated by force_fit_type.

From-SVN: r3700

31 years agoDelete ${LIB}/DONE just before exit.
Richard Stallman [Thu, 11 Mar 1993 04:53:06 +0000 (04:53 +0000)]
Delete ${LIB}/DONE just before exit.

From-SVN: r3699

31 years agoFix typo in last revision (/2 --> >> 1)
Jeff Law [Wed, 10 Mar 1993 17:53:17 +0000 (10:53 -0700)]
Fix typo in last revision (/2 --> >> 1)

From-SVN: r3698

31 years ago* pa.c (reg_or_cint_move_operand): Use cint_ok_for_move.
Jeff Law [Wed, 10 Mar 1993 17:45:14 +0000 (10:45 -0700)]
* pa.c (reg_or_cint_move_operand): Use cint_ok_for_move.

From-SVN: r3697

31 years agopa.c (cint_ok_for_move): New function.
Jeff Law [Wed, 10 Mar 1993 17:31:38 +0000 (10:31 -0700)]
pa.c (cint_ok_for_move): New function.

* pa.c (cint_ok_for_move): New function.  Returns 1 iff the given
CONST_INT can be loaded into a register in a single instruction.
(move_operand): Use cink_ok_for_move.

From-SVN: r3696

31 years ago* pa.md (add reg and large int): New define_splits for the combiner.
Jeff Law [Wed, 10 Mar 1993 17:31:14 +0000 (10:31 -0700)]
* pa.md (add reg and large int): New define_splits for the combiner.

From-SVN: r3695

31 years agojump.c (jump_optimize, [...]): Do this regardless of BRANCH_COST if HAVE_incscc or...
Jeff Law [Wed, 10 Mar 1993 17:26:53 +0000 (10:26 -0700)]
jump.c (jump_optimize, [...]): Do this regardless of BRANCH_COST if HAVE_incscc or HAVE_decscc is defined.

* jump.c (jump_optimize, clause for `if (foo) b++'):
Do this regardless of BRANCH_COST if HAVE_incscc or
HAVE_decscc is defined.

From-SVN: r3694

31 years ago(reg_or_cint_move_operand): New function.
Torbjorn Granlund [Wed, 10 Mar 1993 16:57:05 +0000 (16:57 +0000)]
(reg_or_cint_move_operand): New function.

(move_operand): Add header comment.

From-SVN: r3693

31 years ago(conditional move): Use %B for output when appropriate.
Torbjorn Granlund [Wed, 10 Mar 1993 16:56:43 +0000 (16:56 +0000)]
(conditional move): Use %B for output when appropriate.

(conditional move with second operand == 0): New pattern.

From-SVN: r3692

31 years ago(OBJC_GEN_METHOD_LABEL): Convert colons to _'s.
Richard Stallman [Wed, 10 Mar 1993 07:19:29 +0000 (07:19 +0000)]
(OBJC_GEN_METHOD_LABEL): Convert colons to _'s.

Don't use the category name or the number.

From-SVN: r3691

31 years ago(link_command_spec): New option -nostartfiles.
Richard Stallman [Wed, 10 Mar 1993 07:11:33 +0000 (07:11 +0000)]
(link_command_spec): New option -nostartfiles.

From-SVN: r3690

31 years agoMinor fix in last change.
Richard Stallman [Tue, 9 Mar 1993 23:57:34 +0000 (23:57 +0000)]
Minor fix in last change.

From-SVN: r3689

31 years ago(convert_to_complex): Avoid using comptypes.
Richard Stallman [Tue, 9 Mar 1993 23:55:57 +0000 (23:55 +0000)]
(convert_to_complex): Avoid using comptypes.

From-SVN: r3688

31 years agoClose #ifdef NEXT_OBJC_RUNTIME properly.
Michael Meissner [Tue, 9 Mar 1993 16:32:42 +0000 (16:32 +0000)]
Close #ifdef NEXT_OBJC_RUNTIME properly.

From-SVN: r3687

31 years agoHandle long options by translation to old-style ones.
Richard Stallman [Tue, 9 Mar 1993 05:47:14 +0000 (05:47 +0000)]
Handle long options by translation to old-style ones.

(translate_options): New function.
(option_map): New table.

From-SVN: r3686

31 years agoComment change.
Richard Stallman [Tue, 9 Mar 1993 05:15:15 +0000 (05:15 +0000)]
Comment change.

From-SVN: r3685

31 years ago(flag_volatile_global): Declared.
Richard Stallman [Tue, 9 Mar 1993 05:15:02 +0000 (05:15 +0000)]
(flag_volatile_global): Declared.

From-SVN: r3684

31 years ago(HARD_REGNO_MODE_OK): Add some casts.
Richard Stallman [Tue, 9 Mar 1993 00:14:51 +0000 (00:14 +0000)]
(HARD_REGNO_MODE_OK): Add some casts.

From-SVN: r3683

31 years ago(record_asm_reg_life): Cast class to int for indexing.
Richard Stallman [Tue, 9 Mar 1993 00:11:33 +0000 (00:11 +0000)]
(record_asm_reg_life): Cast class to int for indexing.

From-SVN: r3682

31 years ago(PUSH_DERIVED_LEVEL): Cast enumm constants to int.
Richard Stallman [Tue, 9 Mar 1993 00:10:48 +0000 (00:10 +0000)]
(PUSH_DERIVED_LEVEL): Cast enumm constants to int.

From-SVN: r3681

31 years ago(cse_gen_binary, simplify_plus_minus): New functions.
Richard Kenner [Mon, 8 Mar 1993 21:57:16 +0000 (16:57 -0500)]
(cse_gen_binary, simplify_plus_minus): New functions.

(find_best_addr): Use cse_gen_binary.
(simplify_binary_operation, fold_rtx): Likewise.
Remove most special-cases for PLUS and MINUS and call
simplify_plus_minus instead.
Clean up some tests for FP.

From-SVN: r3680

31 years ago(make_decl_rtl): Handle flag_volatile_global.
Richard Stallman [Mon, 8 Mar 1993 21:31:07 +0000 (21:31 +0000)]
(make_decl_rtl): Handle flag_volatile_global.

From-SVN: r3679

31 years ago(flag_volatile_global): New variable.
Richard Stallman [Mon, 8 Mar 1993 21:29:49 +0000 (21:29 +0000)]
(flag_volatile_global): New variable.

(f_options): Add option for it.

From-SVN: r3678

31 years ago(really_start_method): Always use OBJC_GEN_METHOD_LABEL.
Richard Stallman [Mon, 8 Mar 1993 21:17:33 +0000 (21:17 +0000)]
(really_start_method): Always use OBJC_GEN_METHOD_LABEL.

Pass method_slot as additional arg.
(OBJC_GEN_METHOD_LABEL): Add default definition.

From-SVN: r3677

31 years ago(OBJC_GEN_METHOD_LABEL): Accept additional arg.
Richard Stallman [Mon, 8 Mar 1993 21:13:00 +0000 (21:13 +0000)]
(OBJC_GEN_METHOD_LABEL): Accept additional arg.

From-SVN: r3676

31 years agoAdd prototypes for static functions.
Richard Kenner [Mon, 8 Mar 1993 12:24:14 +0000 (07:24 -0500)]
Add prototypes for static functions.

(struct cse_basic_block_data): Move to front of file since it constains
struct used in a prototype.
(refers_to_p, find_best_addr): Now static.

From-SVN: r3675

31 years agoAdd prototypes for static functions.
Richard Kenner [Mon, 8 Mar 1993 12:23:19 +0000 (07:23 -0500)]
Add prototypes for static functions.

(init_libfuncs): Put args in proper order.

From-SVN: r3674

31 years agoClean up prototypes for functions in expr.c and optabs.c and add some
Richard Kenner [Mon, 8 Mar 1993 12:22:39 +0000 (07:22 -0500)]
Clean up prototypes for functions in expr.c and optabs.c and add some
missing ones.

From-SVN: r3673

31 years agoAdd prototypes for static functions.
Richard Kenner [Sun, 7 Mar 1993 12:59:21 +0000 (07:59 -0500)]
Add prototypes for static functions.

(fill_simple_delay_slots): Add missing declaration of arg.

From-SVN: r3672

31 years ago(write_test_expr): Use INSN_CODE == -2, not 0, for constant
Richard Kenner [Sat, 6 Mar 1993 22:52:30 +0000 (17:52 -0500)]
(write_test_expr): Use INSN_CODE == -2, not 0, for constant
attributes.

From-SVN: r3671

31 years ago(choose_reload_regs): Handle SUBREG in reload_earlyclobber
Richard Stallman [Sat, 6 Mar 1993 20:09:57 +0000 (20:09 +0000)]
(choose_reload_regs): Handle SUBREG in reload_earlyclobber
when matching output reloads for setting reload_when_needed.

From-SVN: r3670

31 years agoAdd prototypes in forward declarations.
Richard Kenner [Sat, 6 Mar 1993 13:42:58 +0000 (08:42 -0500)]
Add prototypes in forward declarations.

Add some missing parameters to a few calls.

From-SVN: r3669

31 years ago(expand_call): Fix typo in unaligned code.
Richard Kenner [Sat, 6 Mar 1993 12:42:54 +0000 (07:42 -0500)]
(expand_call): Fix typo in unaligned code.

From-SVN: r3668

31 years agoInitial revision
Roland McGrath [Sat, 6 Mar 1993 08:19:15 +0000 (08:19 +0000)]
Initial revision

From-SVN: r3667

31 years agoentered into RCS
Roland McGrath [Sat, 6 Mar 1993 08:14:18 +0000 (08:14 +0000)]
entered into RCS

From-SVN: r3666

31 years agoInitial revision
Roland McGrath [Sat, 6 Mar 1993 08:13:58 +0000 (08:13 +0000)]
Initial revision

From-SVN: r3665

31 years agoentered into RCS
Roland McGrath [Sat, 6 Mar 1993 08:07:57 +0000 (08:07 +0000)]
entered into RCS

From-SVN: r3664

31 years ago(expand_assignment): Special handling for storing in RESULT_DECL.
Richard Stallman [Sat, 6 Mar 1993 00:48:19 +0000 (00:48 +0000)]
(expand_assignment): Special handling for storing in RESULT_DECL.

From-SVN: r3663

31 years agoAdd new define_split for doing sign-extended adds of some large
Richard Kenner [Fri, 5 Mar 1993 23:41:22 +0000 (18:41 -0500)]
Add new define_split for doing sign-extended adds of some large
constants using sNaddl.

From-SVN: r3662

31 years ago(simplify_binary_operation): Move integer CONST_DOUBLE folding out of REAL_IS_NOT_DOU...
Richard Kenner [Fri, 5 Mar 1993 22:52:35 +0000 (17:52 -0500)]
(simplify_binary_operation): Move integer CONST_DOUBLE folding out of REAL_IS_NOT_DOUBLE conditional.

(simplify_binary_operation): Move integer CONST_DOUBLE folding out of
REAL_IS_NOT_DOUBLE conditional.
(simplify_relational_operation): Put float CONST_DOUBLE folding under a
REAL_IS_NOT_DOUBLE conditional.
Add folding for integer CONST_DOUBLE comparisons.

From-SVN: r3661

31 years ago(fixup_var_refs_insns): If SMALL_REGISTER_CLASSES...
Richard Kenner [Fri, 5 Mar 1993 22:37:11 +0000 (17:37 -0500)]
(fixup_var_refs_insns): If SMALL_REGISTER_CLASSES...

(fixup_var_refs_insns): If SMALL_REGISTER_CLASSES, ensure we don't put
any insns between the setting of the function return register and it's use.

From-SVN: r3660

31 years agopa.h (FIXED_REGISTERS): %r2 is no longer fixed.
Jeff Law [Fri, 5 Mar 1993 20:13:59 +0000 (13:13 -0700)]
pa.h (FIXED_REGISTERS): %r2 is no longer fixed.

        * pa.h (FIXED_REGISTERS): %r2 is no longer fixed.
        (REG_ALLOC_ORDER): Treat %r2 as a caller-saved allocatable
        register.  %r30 is fixed and therefore a "special" register.
        %fr22-%fr31 are caller-saved, so allocate them before the
        callee-saved 1.1 fp registers.  Allocate fp registers before
        general registers.  Fix typo for register 79.

        * pa.h (FIRST_PSEUDO_REGISTER): Update to take into account
        registers which are no longer known to the compiler.
        (FIXED_REGISTERS): Likewise.
        (CALL_USED_REGISTERS): Likewise.
        (HARD_REGNO_NREGS): Likewise.
        (HARD_REGNO_MODE_OK): Likewise.
        (REGNO_REG_CLASS): Likewise.
        (FUNCTION_VALUE): Likewise.
        (LIBCALL_VALUE): Likewise.
        (FUNCTION_VALUE_REGNO_P): Likewise.
        (FUNCTION_ARG_REGNO_P): Likewise.
        (FUNCTION_ARG): Likewise.
        (REGNO_OK_FOR_FP_P): Likewise.
        (REGISTER_NAMES): Likewise.
        (REG_CLASS_CONTENTS): Likewise.  Add %r1 to GENERAL_OR_FP_REGS
        and GENERAL_OR_SNAKE_FP_REGS.
        (REG_ALLOC_ORDER): Likewise.  Document and make allocation order
        "regular" across 1.0 and 1.1 cpus.

From-SVN: r3659

31 years agopa.c (output_function_epilogue): Perform an early %r2 restore even if actual_fsize...
Jeff Law [Fri, 5 Mar 1993 20:13:08 +0000 (13:13 -0700)]
pa.c (output_function_epilogue): Perform an early %r2 restore even if actual_fsize is zero.

        * pa.c (output_function_epilogue): Perform an early %r2 restore
        even if actual_fsize is zero.  This can happen if %r2 is used
        as a temporary in a leaf function.

        * pa.c (compute_frame_size): Update to take into account
        register which are no longer known to the compiler.
        (output_function_prologue): Likewise.
        (output_function_epilogue): Likewise.
        (output_arg_descriptor): Likewise.

From-SVN: r3658

31 years ago(output_function_prologue, output_function_epilogue):
Jim Wilson [Fri, 5 Mar 1993 17:51:48 +0000 (09:51 -0800)]
(output_function_prologue, output_function_epilogue):

Add comments for frame_base_name usage in leaf_functions.

From-SVN: r3657

31 years agoFix typo in comment.
Jim Wilson [Fri, 5 Mar 1993 17:49:44 +0000 (09:49 -0800)]
Fix typo in comment.

From-SVN: r3656

31 years ago(main): Put argv[0] in collect_obstack instead of programname.
Jim Wilson [Fri, 5 Mar 1993 17:47:54 +0000 (09:47 -0800)]
(main): Put argv[0] in collect_obstack instead of programname.

From-SVN: r3655

31 years ago(note_mem_written): QImode varying structure memory accesses can alias scalars.
Jim Wilson [Fri, 5 Mar 1993 17:45:15 +0000 (09:45 -0800)]
(note_mem_written): QImode varying structure memory accesses can alias scalars.

From-SVN: r3654

31 years ago(init_emit_once): Initialize const_tiny_rtx for partial ints too.
Richard Stallman [Fri, 5 Mar 1993 06:27:22 +0000 (06:27 +0000)]
(init_emit_once): Initialize const_tiny_rtx for partial ints too.

From-SVN: r3653

31 years ago(store_parm_decls,combine_parm_decls): Call layout_decl for a parm declared...
Richard Stallman [Fri, 5 Mar 1993 05:43:51 +0000 (05:43 +0000)]
(store_parm_decls,combine_parm_decls): Call layout_decl for a parm declared...

(store_parm_decls,combine_parm_decls): Call layout_decl
for a parm declared float when it is changed to double under a
traditional compilation.

From-SVN: r3652

31 years ago(convert_to_pointer): Fix typo comparing size of integer and pointers.
Steve Chamberlain [Thu, 4 Mar 1993 22:18:45 +0000 (22:18 +0000)]
(convert_to_pointer): Fix typo comparing size of integer and pointers.

From-SVN: r3651

31 years ago(immed_double_const): Cope with MODE_PARTIAL_INT.
Steve Chamberlain [Thu, 4 Mar 1993 22:09:39 +0000 (22:09 +0000)]
(immed_double_const): Cope with MODE_PARTIAL_INT.

(output_constant_pool): Likewise.

From-SVN: r3650

31 years ago(handle_class_ref): Call assemble_external.
Richard Stallman [Thu, 4 Mar 1993 21:20:14 +0000 (21:20 +0000)]
(handle_class_ref): Call assemble_external.

From-SVN: r3649

31 years ago(convert_to_complex): Declared.
Richard Stallman [Thu, 4 Mar 1993 21:18:47 +0000 (21:18 +0000)]
(convert_to_complex): Declared.

From-SVN: r3648

31 years ago(emit_no_conflict_block): Don't move target to itself if that takes multiple insns.
Richard Stallman [Thu, 4 Mar 1993 20:37:02 +0000 (20:37 +0000)]
(emit_no_conflict_block): Don't move target to itself if that takes multiple insns.

(emit_no_conflict_block): Don't move target to itself
if that takes multiple insns.
(expand_binop): For complex mult and div, avoid fetching operand
components more than once from memory.

From-SVN: r3647

31 years ago(common_type): Handle complex types.
Richard Stallman [Thu, 4 Mar 1993 20:36:23 +0000 (20:36 +0000)]
(common_type): Handle complex types.

(lvalue_p): Handle REALPART_EXPR, IMAGPART_EXPR.
(build_binary_op, build_unary_op): Handle complex types.

From-SVN: r3646

31 years ago(truthvalue_conversion): Fix handling of COMPLEX_EXPR.
Richard Stallman [Thu, 4 Mar 1993 20:34:56 +0000 (20:34 +0000)]
(truthvalue_conversion): Fix handling of COMPLEX_EXPR.

Handle all complex values specially.

From-SVN: r3645

31 years ago(fold): Fix error in handling REALPART_EXPR and IMAGPART_EXPR.
Richard Stallman [Thu, 4 Mar 1993 20:34:20 +0000 (20:34 +0000)]
(fold): Fix error in handling REALPART_EXPR and IMAGPART_EXPR.

From-SVN: r3644

31 years agoAdd complex integer modes.
Richard Stallman [Thu, 4 Mar 1993 19:43:38 +0000 (19:43 +0000)]
Add complex integer modes.

From-SVN: r3643

31 years ago(init_decl_processing): Create complex types.
Richard Stallman [Thu, 4 Mar 1993 19:42:57 +0000 (19:42 +0000)]
(init_decl_processing): Create complex types.

(grokdeclarator): Handle complex keyword.
Distinguish int-by-default from int keyword.

From-SVN: r3642

31 years agoDeclare vars to hold complex types.
Richard Stallman [Thu, 4 Mar 1993 19:42:36 +0000 (19:42 +0000)]
Declare vars to hold complex types.

From-SVN: r3641

31 years ago(convert): Handle conversion to complex type.
Richard Stallman [Thu, 4 Mar 1993 19:42:13 +0000 (19:42 +0000)]
(convert): Handle conversion to complex type.

From-SVN: r3640

31 years ago(convert_to_real): Convert complex to real.
Richard Stallman [Thu, 4 Mar 1993 19:41:50 +0000 (19:41 +0000)]
(convert_to_real): Convert complex to real.

(convert_to_integer): Likewise.
(convert_to_complex): New function.

From-SVN: r3639

31 years ago(truthvalue_conversion): Handle COMPLEX_EXPR.
Richard Stallman [Thu, 4 Mar 1993 19:36:42 +0000 (19:36 +0000)]
(truthvalue_conversion): Handle COMPLEX_EXPR.

From-SVN: r3638

31 years ago(fold): Handle complex constants as "winning".
Richard Stallman [Thu, 4 Mar 1993 19:35:40 +0000 (19:35 +0000)]
(fold): Handle complex constants as "winning".

Handle REALPART_EXPR and IMAGPART_EXPR.

From-SVN: r3637

31 years ago(output_ior): Don't handle reg operands.
Torbjorn Granlund [Thu, 4 Mar 1993 18:50:56 +0000 (18:50 +0000)]
(output_ior): Don't handle reg operands.

From-SVN: r3636