platform/upstream/gcc.git
31 years ago(_forward, fflags): made target error phrone
Kresten Krab Thorup [Tue, 13 Apr 1993 00:49:57 +0000 (00:49 +0000)]
(_forward, fflags): made target error phrone

(_forward, fflags): made target error phrone
(objc-msg.o, _forward): Now uses explicit path in stead of implicit $<

From-SVN: r4111

31 years ago(ASM_OUTPUT_FLOAT_OPERAND): Use CODE.
Tom Wood [Mon, 12 Apr 1993 23:53:15 +0000 (23:53 +0000)]
(ASM_OUTPUT_FLOAT_OPERAND): Use CODE.

From-SVN: r4110

31 years ago(get_static_reference, get_objcect_reference,
Tom Wood [Mon, 12 Apr 1993 23:52:10 +0000 (23:52 +0000)]
(get_static_reference, get_objcect_reference,

start_protocol): Make a tree vector for new protocol types.
(start_class): The tree vector for class types is longer.

From-SVN: r4109

31 years ago(CLASS_PROTOCOL_LIST, PROTOCOL_LIST,
Tom Wood [Mon, 12 Apr 1993 23:51:07 +0000 (23:51 +0000)]
(CLASS_PROTOCOL_LIST, PROTOCOL_LIST,

PROTOCOL_FORWARD_DECL, TYPE_PROTOCOL_LIST): Rearrange use of type
members to avoid use of noncopied_parts.

From-SVN: r4108

31 years ago(install-common): Delete $(bindir)/$(target)-gcc
Jim Wilson [Mon, 12 Apr 1993 21:59:19 +0000 (14:59 -0700)]
(install-common): Delete $(bindir)/$(target)-gcc
before trying to install it.

From-SVN: r4107

31 years ago(CONSTANT_ALIGNMENT): Only increase alignment of string constants.
Jim Wilson [Mon, 12 Apr 1993 19:53:31 +0000 (12:53 -0700)]
(CONSTANT_ALIGNMENT): Only increase alignment of string constants.

From-SVN: r4106

31 years ago(library_prefix): Delete variable.
Jim Wilson [Mon, 12 Apr 1993 19:50:01 +0000 (12:50 -0700)]
(library_prefix): Delete variable.

(process_command): Delete uses of library_prefix.
(do_spec_1, D case): Delete use of library_prefix.

From-SVN: r4105

31 years ago(emit_stack_save): At end, call validize_mem when inside sequence.
Jim Wilson [Mon, 12 Apr 1993 19:48:02 +0000 (12:48 -0700)]
(emit_stack_save): At end, call validize_mem when inside sequence.

From-SVN: r4104

31 years ago(fold...
Jim Wilson [Mon, 12 Apr 1993 19:45:58 +0000 (12:45 -0700)]
(fold...

(fold, COMPOUND_EXPR case): When pedantic, don't
simplify a COMPOUND_EXPR, so that it won't be mistaken for an
lvalue or an integer constant expression.

From-SVN: r4103

31 years ago(internal_build_compound_expr): When pedantic...
Jim Wilson [Mon, 12 Apr 1993 19:44:47 +0000 (12:44 -0700)]
(internal_build_compound_expr): When pedantic...

(internal_build_compound_expr): When pedantic, don't
simplify a COMPOUND_EXPR, so that it won't be mistaken for an
lvalue or an integer constant expression.

From-SVN: r4102

31 years ago(adddi3/subdi3): Allow immediate constants.
Richard Kenner [Mon, 12 Apr 1993 19:28:24 +0000 (15:28 -0400)]
(adddi3/subdi3): Allow immediate constants.

From-SVN: r4101

31 years ago(print_operand): Sort all cases in alphabetical order.
Richard Kenner [Mon, 12 Apr 1993 19:27:55 +0000 (15:27 -0400)]
(print_operand): Sort all cases in alphabetical order.

(print_operand, case 'G'): New case.
(output_epilog): Know that "GNU Obj-C" is the language string for Objective-C.

From-SVN: r4100

31 years ago(record_value_for_reg): Properly set SUBST_LOW_CUID for last change;
Richard Kenner [Mon, 12 Apr 1993 19:23:44 +0000 (15:23 -0400)]
(record_value_for_reg): Properly set SUBST_LOW_CUID for last change;

otherwise won't get best value.

From-SVN: r4099

31 years ago(jump_optimize, clause for `x=a; if (...) x=b;'): Do this regardless
Richard Kenner [Mon, 12 Apr 1993 17:23:50 +0000 (13:23 -0400)]
(jump_optimize, clause for `x=a; if (...) x=b;'): Do this regardless
of BRANCH_COST if HAVE_conditional_move defined.

From-SVN: r4098

31 years ago(-awake:): added methods
Kresten Krab Thorup [Mon, 12 Apr 1993 15:50:02 +0000 (15:50 +0000)]
(-awake:): added methods

From-SVN: r4097

31 years agoUpdate for new runtime
Kresten Krab Thorup [Mon, 12 Apr 1993 15:44:52 +0000 (15:44 +0000)]
Update for new runtime

From-SVN: r4096

31 years ago*** empty log message ***
Kresten Krab Thorup [Mon, 12 Apr 1993 15:44:37 +0000 (15:44 +0000)]
*** empty log message ***

From-SVN: r4095

31 years agonow "#include"s objc-archive.h
Kresten Krab Thorup [Mon, 12 Apr 1993 15:44:25 +0000 (15:44 +0000)]
now "#include"s objc-archive.h

From-SVN: r4094

31 years ago(__objc_init_install_dtable,
Kresten Krab Thorup [Mon, 12 Apr 1993 15:44:02 +0000 (15:44 +0000)]
(__objc_init_install_dtable,

__objc_install_dtable_for_class): Call to
__objc_resolve_class_links moved to the latter.

From-SVN: r4093

31 years agoStripped anything added by
Kresten Krab Thorup [Mon, 12 Apr 1993 15:43:31 +0000 (15:43 +0000)]
Stripped anything added by
kane@cc.purdue.edu which is not considered "minor changes"

From-SVN: r4092

31 years agoDeleted #include "mutext.h"
Kresten Krab Thorup [Mon, 12 Apr 1993 15:42:44 +0000 (15:42 +0000)]
Deleted #include "mutext.h"

From-SVN: r4091

31 years ago(-read:, -write:): added
Kresten Krab Thorup [Mon, 12 Apr 1993 15:41:52 +0000 (15:41 +0000)]
(-read:, -write:): added
Stripped anything added by
kane@cc.purdue.edu which is not considered "minor changes"

From-SVN: r4090

31 years ago(objc_write_reference) added
Kresten Krab Thorup [Mon, 12 Apr 1993 15:12:59 +0000 (15:12 +0000)]
(objc_write_reference) added

From-SVN: r4089

31 years agoUpdated for new runtime
Kresten Krab Thorup [Mon, 12 Apr 1993 15:00:55 +0000 (15:00 +0000)]
Updated for new runtime

From-SVN: r4088

31 years agoDefine MKTEMP_EACH_FILE and NO_PRECOMPILES.
Richard Stallman [Mon, 12 Apr 1993 05:35:04 +0000 (05:35 +0000)]
Define MKTEMP_EACH_FILE and NO_PRECOMPILES.

From-SVN: r4087

31 years ago(strip_off_ending): Add .atr for Ada.
Richard Kenner [Sun, 11 Apr 1993 19:22:53 +0000 (15:22 -0400)]
(strip_off_ending): Add .atr for Ada.

From-SVN: r4086

31 years ago(can_combine_p): Don't move an UNSPEC_VOLATILE.
Richard Stallman [Sun, 11 Apr 1993 18:46:06 +0000 (18:46 +0000)]
(can_combine_p):  Don't move an UNSPEC_VOLATILE.

From-SVN: r4085

31 years ago(add_to_delay_list): Clear any cached block information for INSN.
Richard Kenner [Sun, 11 Apr 1993 13:24:02 +0000 (09:24 -0400)]
(add_to_delay_list): Clear any cached block information for INSN.

From-SVN: r4084

31 years ago(layout_record): After copying the offsets of a field that is an anonymous union...
Richard Kenner [Sun, 11 Apr 1993 10:41:55 +0000 (06:41 -0400)]
(layout_record): After copying the offsets of a field that is an anonymous union to the offsets of the fields of that union...

(layout_record): After copying the offsets of a field that is an
anonymous union to the offsets of the fields of that union, zero the
offset of the anonymous field in case it is used to access the inner
fields.

From-SVN: r4083

31 years ago(make_compound_operation, case xSHIFTRT):
Richard Kenner [Sun, 11 Apr 1993 10:39:54 +0000 (06:39 -0400)]
(make_compound_operation, case xSHIFTRT):

Clean up code so more readable and don't restrict to case where C2 >= C1.
Pass correct (inner) code to recursive call.
(make_compound_operation, case SUBREG): Pass the code of our operand
to recursive call, not SUBREG, and make another recursive call after
calling force_to_mode.

From-SVN: r4082

31 years ago(expand_divmod): When adjusting op0 for trunc_div or trunc_mod...
Richard Stallman [Sun, 11 Apr 1993 08:08:54 +0000 (08:08 +0000)]
(expand_divmod): When adjusting op0 for trunc_div or trunc_mod...

(expand_divmod): When adjusting op0 for trunc_div or
trunc_mod, using shifts (not branches), make a new pseudo for the
result.  Don't use target for adjusted_op0.

From-SVN: r4081

31 years ago(ONLY_INT_FIELDS): No longer needed.
Richard Kenner [Sat, 10 Apr 1993 15:00:08 +0000 (11:00 -0400)]
(ONLY_INT_FIELDS): No longer needed.

From-SVN: r4080

31 years ago(alpha_sa_size): Need to save $26 if it is used or if any other register is saved...
Richard Kenner [Sat, 10 Apr 1993 14:56:57 +0000 (10:56 -0400)]
(alpha_sa_size): Need to save $26 if it is used or if any other register is saved...

(alpha_sa_size): Need to save $26 if it is used or if any other
register is saved, but not just because a stack space is needed.
(output_prolog): Add code to probe the stack if we allocate more than
4096 bytes; required by chapter 7 (for threads).
Know when to save $26.
(output_epilog): Know when to restore $26.

From-SVN: r4079

31 years ago(add/sub): Correct predicates and constraints for sNaddX and addX insns...
Richard Kenner [Sat, 10 Apr 1993 14:56:02 +0000 (10:56 -0400)]
(add/sub): Correct predicates and constraints for sNaddX and addX insns...

(add/sub): Correct predicates and constraints for sNaddX and addX insns; we
can use sNsubX and subX to add small negative constants.
Don't split addition to SP since we want to update it just once.
(beq, bne): Use subtract, not compare for ints; it's more efficient.
(define_split for comparisons): Always prefer add/sub if it will work.
(probe_stack, allocate_stack): New patterns.

From-SVN: r4078

31 years agoInitial revision
Tom Wood [Sat, 10 Apr 1993 01:05:19 +0000 (01:05 +0000)]
Initial revision

From-SVN: r4077

31 years agoUpdate to new runtimes.
Tom Wood [Sat, 10 Apr 1993 01:05:19 +0000 (01:05 +0000)]
Update to new runtimes.

From-SVN: r4076

31 years agoInitial revision
Tom Wood [Sat, 10 Apr 1993 01:03:51 +0000 (01:03 +0000)]
Initial revision

From-SVN: r4075

31 years ago(free_tree_list): New variable.
Jim Wilson [Sat, 10 Apr 1993 00:02:10 +0000 (17:02 -0700)]
(free_tree_list): New variable.

(digest_init): Set free_tree_list.
(process_init_constructor): Use add_double to do arithmetic with
double integers instead of using fold/build to to arithmetic in
type of array index.  Use free_tree_list when available instead of
generating a new tree_list.

From-SVN: r4074

31 years agoMove machine independent portions to nextstep.h and nextstep.c.
Tom Wood [Fri, 9 Apr 1993 23:45:19 +0000 (23:45 +0000)]
Move machine independent portions to nextstep.h and nextstep.c.

Move machine independent portions to
nextstep.h and nextstep.c.  Update to NeXTSTEP 3.0 and 3.1.

From-SVN: r4073

31 years agoInitial revision
Tom Wood [Fri, 9 Apr 1993 23:45:02 +0000 (23:45 +0000)]
Initial revision

From-SVN: r4072

31 years ago> Default to bsd if vendor is next.
Tom Wood [Fri, 9 Apr 1993 23:43:20 +0000 (23:43 +0000)]
> Default to bsd if vendor is next.

From-SVN: r4071

31 years ago(lang_options): Add -fgnu-runtime and -fnext-runtime.
Tom Wood [Fri, 9 Apr 1993 23:14:18 +0000 (23:14 +0000)]
(lang_options): Add -fgnu-runtime and -fnext-runtime.

From-SVN: r4070

31 years agoAdd support for protocols, classes, and strings.
Tom Wood [Fri, 9 Apr 1993 23:12:37 +0000 (23:12 +0000)]
Add support for protocols, classes, and strings.

Add support for protocols, classes, and
strings.  Update the runtime targets for the new GNU runtimes as
well as existing NeXT runtimes.

From-SVN: r4069

31 years ago*** empty log message ***
Tom Wood [Fri, 9 Apr 1993 23:12:37 +0000 (23:12 +0000)]
*** empty log message ***

From-SVN: r4068

31 years ago(comptypes, convert_for_assignment): Check for Objective-C protocols (non-reflexive...
Tom Wood [Fri, 9 Apr 1993 23:11:51 +0000 (23:11 +0000)]
(comptypes, convert_for_assignment): Check for Objective-C protocols (non-reflexive use of maybe_objc_comptypes).

(comptypes, convert_for_assignment): Check for
Objective-C protocols (non-reflexive use of maybe_objc_comptypes).
(comp_target_types): Rewrite so that maybe_objc_comptypes checks
protocols when processing an Objective-C module.  For C modules,
the code path is unchanged.
(convert_for_assignment): Improve the error message for
incompatible message arguments.

From-SVN: r4067

31 years ago(is_class_name, maybe_objc_method_name,
Tom Wood [Fri, 9 Apr 1993 23:11:34 +0000 (23:11 +0000)]
(is_class_name, maybe_objc_method_name,

build_objc_string): New functions.

From-SVN: r4066

31 years ago> (grokfield): Check for statically allocated objects.
Tom Wood [Fri, 9 Apr 1993 23:10:58 +0000 (23:10 +0000)]
> (grokfield): Check for statically allocated objects.

From-SVN: r4065

31 years agoAdd declarations for functions in objc-act.c.
Tom Wood [Fri, 9 Apr 1993 23:10:47 +0000 (23:10 +0000)]
Add declarations for functions in objc-act.c.

(doing_objc_thang): Declare here.

From-SVN: r4064

31 years agoIncorporate the Objective-C keywords from
Tom Wood [Fri, 9 Apr 1993 23:07:39 +0000 (23:07 +0000)]
Incorporate the Objective-C keywords from
objc-parse.gperf and add the new keywords.

From-SVN: r4063

31 years ago(RID_IN, RID_OUT, RID_INOUT, RID_BYCOPY, RID_ONEWAY,
Tom Wood [Fri, 9 Apr 1993 23:06:58 +0000 (23:06 +0000)]
(RID_IN, RID_OUT, RID_INOUT, RID_BYCOPY, RID_ONEWAY,

RID_ID): New Objective-C keywords.

From-SVN: r4062

31 years agoAccept i370, mvs.
Richard Stallman [Fri, 9 Apr 1993 21:53:00 +0000 (21:53 +0000)]
Accept i370, mvs.

For i370-ibm*, assume mvs by default.
Later, likewise, for i370-*.
For -mvs*, assume ibm as default vendor.

From-SVN: r4061

31 years agoMore of previous change.
Richard Stallman [Fri, 9 Apr 1993 21:47:48 +0000 (21:47 +0000)]
More of previous change.

From-SVN: r4060

31 years ago(yylex): Use MAP_CHARACTER if it's defined.
Richard Stallman [Fri, 9 Apr 1993 21:46:58 +0000 (21:46 +0000)]
(yylex): Use MAP_CHARACTER if it's defined.

From-SVN: r4059

31 years agoUpdated to handle current Makefile and new config/i386/go32.h.
Richard Stallman [Fri, 9 Apr 1993 21:43:42 +0000 (21:43 +0000)]
Updated to handle current Makefile and new config/i386/go32.h.

From-SVN: r4058

31 years ago(no_precomp): Make it 1 by default.
Richard Stallman [Fri, 9 Apr 1993 21:42:29 +0000 (21:42 +0000)]
(no_precomp): Make it 1 by default.

From-SVN: r4057

31 years agoentered into RCS
Roland McGrath [Fri, 9 Apr 1993 21:40:31 +0000 (21:40 +0000)]
entered into RCS

From-SVN: r4056

31 years agoInitial revision
Richard Stallman [Fri, 9 Apr 1993 21:40:24 +0000 (21:40 +0000)]
Initial revision

From-SVN: r4055

31 years agoInstall as $(target)-gcc, not gcc-$(target)
Ian Lance Taylor [Fri, 9 Apr 1993 19:34:47 +0000 (19:34 +0000)]
Install as $(target)-gcc, not gcc-$(target)

From-SVN: r4054

31 years agoDon't put #ifndefs in limits.h if they are already there
Ian Lance Taylor [Fri, 9 Apr 1993 19:12:20 +0000 (19:12 +0000)]
Don't put #ifndefs in limits.h if they are already there

From-SVN: r4053

31 years ago(combine.o): Includes hard-reg-set.h.
Richard Kenner [Fri, 9 Apr 1993 01:45:43 +0000 (21:45 -0400)]
(combine.o): Includes hard-reg-set.h.

From-SVN: r4052

31 years agoInclude hard-reg-set.h.
Richard Kenner [Fri, 9 Apr 1993 01:44:57 +0000 (21:44 -0400)]
Include hard-reg-set.h.

(reg_nonzero_bits): Should be unsigned.
(reg_last_set_{mode,nonzero_bits,sign_bit_copies}): New variables.
(combine_instructions): Allocate and initialized them.
(nonzero_bits, num_sign_bit_copies, case REG): Use new variables to get
information on regs we've seen before.
(record_value_for_reg): Set new variables for register being modified.
(record_dead_and_set_regs): Invalidate regs clobbered by CALL_INSN.

From-SVN: r4051

31 years ago(force_to_mode...
Richard Kenner [Fri, 9 Apr 1993 01:39:46 +0000 (21:39 -0400)]
(force_to_mode...

(force_to_mode, case xSHIFT): Don't narrow the mode unless we can be
sure that the shift count is smaller than the size of the mode.

From-SVN: r4050

31 years ago(do_store_flag, case GT_EXPR, LE_EXPR): Don't confuse highest unsigned
Richard Kenner [Fri, 9 Apr 1993 01:38:46 +0000 (21:38 -0400)]
(do_store_flag, case GT_EXPR, LE_EXPR): Don't confuse highest unsigned
value with -1.

From-SVN: r4049

31 years ago(enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add new
Richard Kenner [Fri, 9 Apr 1993 01:35:57 +0000 (21:35 -0400)]
(enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add new
register class GEN_AND_FLOAT_REGS.

From-SVN: r4048

31 years agoTypo in last change.
Richard Stallman [Fri, 9 Apr 1993 01:35:55 +0000 (01:35 +0000)]
Typo in last change.

From-SVN: r4047

31 years ago(c-parse.y, objc-parse.y): Use sed, not awk.
Richard Stallman [Fri, 9 Apr 1993 00:20:09 +0000 (00:20 +0000)]
(c-parse.y, objc-parse.y): Use sed, not awk.

From-SVN: r4046

31 years ago(finish_enum): Store layout results into variant types.
Richard Stallman [Fri, 9 Apr 1993 00:00:06 +0000 (00:00 +0000)]
(finish_enum): Store layout results into variant types.

From-SVN: r4045

31 years ago(mark_set_1): Clear reg_next_use at the proper place.
Richard Stallman [Thu, 8 Apr 1993 22:42:43 +0000 (22:42 +0000)]
(mark_set_1): Clear reg_next_use at the proper place.

From-SVN: r4044

31 years agoAllow libgcc2.a to be built using fixed header files
Ian Lance Taylor [Thu, 8 Apr 1993 14:53:33 +0000 (14:53 +0000)]
Allow libgcc2.a to be built using fixed header files

From-SVN: r4043

31 years agoMove tree.h prototypes of c-* functions to c-tree.h
Michael Meissner [Thu, 8 Apr 1993 10:57:49 +0000 (10:57 +0000)]
Move tree.h prototypes of c-* functions to c-tree.h

From-SVN: r4042

31 years ago(mark_set_1): Clear reg_next_use for all kinds of regs.
Richard Stallman [Wed, 7 Apr 1993 22:13:16 +0000 (22:13 +0000)]
(mark_set_1): Clear reg_next_use for all kinds of regs.

From-SVN: r4041

31 years agoAdd -fpic support back in.
Michael Meissner [Wed, 7 Apr 1993 13:17:34 +0000 (13:17 +0000)]
Add -fpic support back in.

From-SVN: r4040

31 years ago(va_arg): Cast argument pointer to (char *).
Jim Wilson [Wed, 7 Apr 1993 01:33:35 +0000 (18:33 -0700)]
(va_arg): Cast argument pointer to (char *).

From-SVN: r4039

31 years ago(start_function): Inhibit missing prototype warning for `main'.
Richard Stallman [Tue, 6 Apr 1993 22:07:51 +0000 (22:07 +0000)]
(start_function): Inhibit missing prototype warning for `main'.

From-SVN: r4038

31 years agotree.h (require_complete_type, [...]): Add prototypes.
Brendan Kehoe [Tue, 6 Apr 1993 21:25:12 +0000 (17:25 -0400)]
tree.h (require_complete_type, [...]): Add prototypes.

        * tree.h (require_complete_type, lookup_name_current_level): Add
        prototypes.

From-SVN: r4037

31 years ago(loop_iterations): When computing comparison_value, use
Jim Wilson [Tue, 6 Apr 1993 19:38:34 +0000 (12:38 -0700)]
(loop_iterations): When computing comparison_value, use
reg_set_p to identify instructions that modify it.

From-SVN: r4036

31 years ago(lshldi3, lshrdi3): Define.
Jim Wilson [Tue, 6 Apr 1993 19:36:49 +0000 (12:36 -0700)]
(lshldi3, lshrdi3): Define.

From-SVN: r4035

31 years ago(STAGESTUFF): Add insn-opinit.c, stamp-opinit, and genopinit.
Jim Wilson [Tue, 6 Apr 1993 19:34:36 +0000 (12:34 -0700)]
(STAGESTUFF): Add insn-opinit.c, stamp-opinit, and genopinit.

From-SVN: r4034

31 years ago(do_include): For missing header file...
Jim Wilson [Tue, 6 Apr 1993 19:32:37 +0000 (12:32 -0700)]
(do_include): For missing header file...

(do_include): For missing header file, if -M, don't
output dependencies, and warning not error if no dependency is
needed.

From-SVN: r4033

31 years ago(decl_attributes...
Jim Wilson [Tue, 6 Apr 1993 19:30:45 +0000 (12:30 -0700)]
(decl_attributes...

(decl_attributes, format case): Error if num_arg does
not point to a string type argument, or if first_arg_num not the
anonymous argument.

From-SVN: r4032

31 years ago(init_function_start): Always set
Jim Wilson [Tue, 6 Apr 1993 19:28:47 +0000 (12:28 -0700)]
(init_function_start): Always set
current_funtion_returns_pcc_struct if PCC_STATIC_STRUCT_RETURN defined.

From-SVN: r4031

31 years ago(movdi): End by returning the last template; otherwise
Jim Wilson [Tue, 6 Apr 1993 19:26:49 +0000 (12:26 -0700)]
(movdi): End by returning the last template; otherwise
we return junk for a template.

From-SVN: r4030

31 years agoentered into RCS
Roland McGrath [Tue, 6 Apr 1993 19:23:20 +0000 (19:23 +0000)]
entered into RCS

From-SVN: r4029

31 years agoAdd prototypes.
Jim Wilson [Tue, 6 Apr 1993 19:09:26 +0000 (12:09 -0700)]
Add prototypes.

From-SVN: r4028

31 years agoMore mips gas changes, allow -gdwarf on OSF/1
Michael Meissner [Tue, 6 Apr 1993 16:09:50 +0000 (16:09 +0000)]
More mips gas changes, allow -gdwarf on OSF/1

From-SVN: r4027

31 years ago(emit_reload_insns): Cast enum array index to int.
Richard Stallman [Tue, 6 Apr 1993 05:49:35 +0000 (05:49 +0000)]
(emit_reload_insns): Cast enum array index to int.

From-SVN: r4026

31 years agopa.c (print_stw, print_ldw): Delete.
Jeff Law [Tue, 6 Apr 1993 00:52:19 +0000 (18:52 -0600)]
pa.c (print_stw, print_ldw): Delete.

* pa.c (print_stw, print_ldw): Delete.
(eligible_for_epilogue_delay): Delete.
(hppa_epilogue_delay_slots): Delete.
(store_reg, load_reg, set_reg_plus_d): New helper functions.
(output_function_prologue): Only emit assembler pseudo-ops
to denote the start of a function.  Place the correct
value into hp_profile_label_name if profiling.
(output_function_epilogue): Only emit assembler pseudo-ops
to deonte the end of a function.
(hppa_expand_prologue): New function to emit all prologue
code as RTL.
(hppa_expand_epilogue): Likewise for the epilogue.
(compute_frame_size): Update to account for using %r4 as an
allocatable register if the frame pointer was eliminated.

From-SVN: r4025

31 years agopa.h (FIXED_REGISTERS): %r4 is no longer fixed.
Jeff Law [Tue, 6 Apr 1993 00:51:37 +0000 (18:51 -0600)]
pa.h (FIXED_REGISTERS): %r4 is no longer fixed.

* pa.h  (FIXED_REGISTERS): %r4 is no longer fixed.
(CALL_USED_REGISTERS): %r4 is no longer CALL_USED either.
(REG_ALLOC_ORDER): Move %r4 up in the allocation order.
(DELAY_SLOTS_FOR_EPILOGUE): Delete.
(ELIGIBLE_FOR_EPILOGUE_DELAY): Delete.

From-SVN: r4024

31 years agopa.md (prologue, epilogue): New define_expands.
Jeff Law [Tue, 6 Apr 1993 00:51:12 +0000 (18:51 -0600)]
pa.md (prologue, epilogue): New define_expands.

* pa.md (prologue, epilogue): New define_expands.
(return_internal, call_profiler): New define_insns.

From-SVN: r4023

31 years ago(expand_expr, case SAVE_EXPR): Pass promoted type to store_expr.
Richard Kenner [Mon, 5 Apr 1993 10:57:19 +0000 (06:57 -0400)]
(expand_expr, case SAVE_EXPR): Pass promoted type to store_expr.

From-SVN: r4022

31 years ago(store_constructor): Properly compute size of array when
Richard Stallman [Mon, 5 Apr 1993 10:55:34 +0000 (10:55 +0000)]
(store_constructor): Properly compute size of array when
clearing the whole array.

From-SVN: r4021

31 years agoc-decl.c (lookup_name_current_level): Make non-static.
Per Bothner [Mon, 5 Apr 1993 06:59:02 +0000 (23:59 -0700)]
c-decl.c (lookup_name_current_level):  Make non-static.

From-SVN: r4020

31 years ago(expr_no_commas, from ASSIGN op):
Richard Stallman [Mon, 5 Apr 1993 06:36:22 +0000 (06:36 +0000)]
(expr_no_commas, from ASSIGN op):

Store ERROR_MARK as the original code.

From-SVN: r4019

31 years agopa.md (movdi patterns): Do not accept 1.0 FP registers in the constraints.
Jeff Law [Mon, 5 Apr 1993 00:19:36 +0000 (18:19 -0600)]
pa.md (movdi patterns): Do not accept 1.0 FP registers in the constraints.

* pa.md (movdi patterns): Do not accept 1.0 FP registers in
the constraints.
(floatunsdisf, floatunsdidf expanders): Disable unless TARGET_SNAKE.
(floatdisf2, floatdidf2 patterns): Likewise.
(fix_truncdisf2, fix_truncdidf2): Likewise

From-SVN: r4018

31 years agopa.h (HARD_REGNO_MODE_OK): Do not accept integer modes greater than 32 bits in 1...
Jeff Law [Mon, 5 Apr 1993 00:18:07 +0000 (18:18 -0600)]
pa.h (HARD_REGNO_MODE_OK): Do not accept integer modes greater than 32 bits in 1.0 FP registers.

* pa.h (HARD_REGNO_MODE_OK): Do not accept integer modes
greater than 32 bits in 1.0 FP registers.
* pa.md (movdi patterns): Do not accept 1.0 FP registers.
(floatunsdisf, floatunsdidf expanders): Disable unless TARGET_SNAKE.
(floatdisf2, floatdidf2 patterns): Likewise.
(fix_truncdisf2, fix_truncdidf2): Likewise.

From-SVN: r4017

31 years agopa.md (dbra pattern): Extend to allow any 5 bit increment...
Jeff Law [Mon, 5 Apr 1993 00:12:54 +0000 (18:12 -0600)]
pa.md (dbra pattern): Extend to allow any 5 bit increment...

* pa.md (dbra pattern): Extend to allow any 5 bit increment,
any comparison operator for the compare against zero, and
no longer require the REG_NONNEG note.

From-SVN: r4016

31 years agopa.md (movsi for FP regs): Delete special case patterns.
Jeff Law [Mon, 5 Apr 1993 00:08:54 +0000 (18:08 -0600)]
pa.md (movsi for FP regs): Delete special case patterns.

* pa.md (movsi for FP regs): Delete special case patterns.
(movdi for FP regs): Likewise.
(movsi main recognizer): Allow fp<->memory copies.
(movdi main recognizer): Likewise.

From-SVN: r4015

31 years agopa.c (short_memory_operand): Delete.
Jeff Law [Mon, 5 Apr 1993 00:08:33 +0000 (18:08 -0600)]
pa.c (short_memory_operand): Delete.

* pa.c (short_memory_operand): Delete.
(emit_move_sequence): Do not use short_memory_operand When testing
for secondary reloads for FP loads/stores.

From-SVN: r4014

31 years agopa.h (EXTRA_CONSTRAINT): Refine 'T' constraint to not accept pseudos which did not...
Jeff Law [Mon, 5 Apr 1993 00:07:08 +0000 (18:07 -0600)]
pa.h (EXTRA_CONSTRAINT): Refine 'T' constraint to not accept pseudos which did not get hard registers.

* pa.h (EXTRA_CONSTRAINT): Refine 'T' constraint to not accept
pseudos which did not get hard registers.  Do not use
short_memory_operand.

From-SVN: r4013

31 years ago(FUNCTION_OUTGOING_VALUE): Remove.
Torbjorn Granlund [Sun, 4 Apr 1993 22:57:55 +0000 (22:57 +0000)]
(FUNCTION_OUTGOING_VALUE): Remove.

(FUNCTION_VALUE_REGNO_P): Return regs depend on TARGET_SNAKE.

From-SVN: r4012