platform/upstream/gcc.git
31 years ago(operand_subword): Use REAL_VALUE_TO_TARGET_SINGLE to convert to target float.
Richard Stallman [Wed, 31 Mar 1993 05:48:38 +0000 (05:48 +0000)]
(operand_subword): Use REAL_VALUE_TO_TARGET_SINGLE to convert to target float.

If REAL_ARITHMETIC is defined, let real.c handle incompatible host
and target floating point bit patterns.
(init_emit_once): Add machine_mode argument to REAL_VALUE_ATOF.

From-SVN: r3938

31 years ago(split_double) : Use REAL_VALUE macros to extract ints
Richard Stallman [Wed, 31 Mar 1993 05:46:40 +0000 (05:46 +0000)]
(split_double) :  Use REAL_VALUE macros to extract ints
from float mode CONST_DOUBLEs.

From-SVN: r3937

31 years ago(yylex): Convert real decimal constants directly to the precision specified by the...
Richard Stallman [Wed, 31 Mar 1993 05:44:03 +0000 (05:44 +0000)]
(yylex): Convert real decimal constants directly to the precision specified by the letter at the end of the number.

(yylex): Convert real decimal constants directly
to the precision specified by the letter at the end of the number.
Pass mode arg to REAL_VALUE_ATOF to specify precision.
Move the "out of range of double" error check.

From-SVN: r3936

31 years ago(real.o): New target.
Richard Stallman [Wed, 31 Mar 1993 05:41:37 +0000 (05:41 +0000)]
(real.o): New target.

(OBJS): Add real.o.

From-SVN: r3935

31 years agoIf REAL_ARITHMETIC is defined or if LONG_DOUBLE_TYPE_SIZE is 96...
Richard Stallman [Wed, 31 Mar 1993 05:39:37 +0000 (05:39 +0000)]
If REAL_ARITHMETIC is defined or if LONG_DOUBLE_TYPE_SIZE is 96...

If REAL_ARITHMETIC is defined or if LONG_DOUBLE_TYPE_SIZE
is 96, then define REAL_VALUE_ macros to invoke functions in real.c.

(REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT):
New macros truncate toward zero to integer value but
return REAL_VALUE_TYPE.

(REAL_VALUE_TO_DECIMAL): New macro defaults to
fprintf if no REAL_ARITHMETIC, otherwise uses real.c for
binary to decimal conversion.  Used in ASM_OUTPUT_ macros.

From-SVN: r3934

31 years agoInitial revision
Richard Stallman [Wed, 31 Mar 1993 05:30:24 +0000 (05:30 +0000)]
Initial revision

From-SVN: r3933

31 years ago* Jeff for Tege.
Jeff Law [Tue, 30 Mar 1993 22:02:05 +0000 (15:02 -0700)]
* Jeff for Tege.

* pa.md (sminsi3, smaxsi3): Fix bug in last change.

From-SVN: r3932

31 years agofkx
Michael Meissner [Tue, 30 Mar 1993 21:50:50 +0000 (21:50 +0000)]
fkx

fix CLASS_MAX_NREGS to reflect -mfloat64 and -msoft-float.

From-SVN: r3931

31 years ago(record_dead_and_set_regs): Record death of all hard regs when a multi-reg object...
Richard Kenner [Tue, 30 Mar 1993 20:37:29 +0000 (15:37 -0500)]
(record_dead_and_set_regs): Record death of all hard regs when a multi-reg object in hard regs dies.

(record_dead_and_set_regs): Record death of all hard regs when a multi-reg
object in hard regs dies.
(move_deaths): Handle the case when we only have to move part of a
multi-register death note.

From-SVN: r3930

31 years ago(find_regno_note): Find note that overlaps REGNO, not just one that
Richard Kenner [Tue, 30 Mar 1993 20:36:43 +0000 (15:36 -0500)]
(find_regno_note): Find note that overlaps REGNO, not just one that
mentions REGNO explicitly.

From-SVN: r3929

31 years ago(form_sum): Use mode of inputs when making new PLUS.
Richard Kenner [Tue, 30 Mar 1993 20:34:11 +0000 (15:34 -0500)]
(form_sum): Use mode of inputs when making new PLUS.

From-SVN: r3928

31 years ago(OBJS): Add insn-opinit.o.
Richard Kenner [Tue, 30 Mar 1993 20:31:01 +0000 (15:31 -0500)]
(OBJS): Add insn-opinit.o.

(insn-opinit.o, insn-opinit.c, stamp-opinit): New rules.
(genopinit, genopinit.o): Likewise.

From-SVN: r3927

31 years ago(init_reload): Don't initialize optabs here.
Richard Kenner [Tue, 30 Mar 1993 20:30:29 +0000 (15:30 -0500)]
(init_reload): Don't initialize optabs here.

From-SVN: r3926

31 years ago(extendtab, fixtab, fixtrunctab, floattab): Not static.
Richard Kenner [Tue, 30 Mar 1993 20:29:35 +0000 (15:29 -0500)]
(extendtab, fixtab, fixtrunctab, floattab): Not static.

(init_extends, init_fixtab, init_floattab): Deleted.
(init_optabs): Move active stuff from above functions in.
Delete filling of optabs.
Call init_all_optabs.

From-SVN: r3925

31 years ago(extendtab, fixtab, fixtrunctab, floattab, movstr_optab): New
Richard Kenner [Tue, 30 Mar 1993 20:28:53 +0000 (15:28 -0500)]
(extendtab, fixtab, fixtrunctab, floattab, movstr_optab): New
definitions.

From-SVN: r3924

31 years ago(movstr_optab): No longer static.
Richard Kenner [Tue, 30 Mar 1993 20:28:12 +0000 (15:28 -0500)]
(movstr_optab): No longer static.

(init_expr_once): Don't initialize movstr_optab.

From-SVN: r3923

31 years agoInitial revision
Richard Kenner [Tue, 30 Mar 1993 20:25:14 +0000 (15:25 -0500)]
Initial revision

From-SVN: r3922

31 years ago(emit_reload_insns): Properly track what was reloaded into what register when...
Richard Kenner [Tue, 30 Mar 1993 10:40:07 +0000 (05:40 -0500)]
(emit_reload_insns): Properly track what was reloaded into what register when...

(emit_reload_insns): Properly track what was reloaded into what
register when what we reloaded was a hard register group.

From-SVN: r3921

31 years ago(num_sign_bit_copies, case PLUS, case MULT): Replace occurrences of
Richard Kenner [Mon, 29 Mar 1993 23:34:54 +0000 (18:34 -0500)]
(num_sign_bit_copies, case PLUS, case MULT): Replace occurrences of
HOST_BITS_PER_INT with HOST_BITS_PER_WIDE_INT.

From-SVN: r3920

31 years ago(movsi+2): Add f/f constraint case.
Jim Wilson [Mon, 29 Mar 1993 22:39:25 +0000 (14:39 -0800)]
(movsi+2): Add f/f constraint case.

From-SVN: r3919

31 years ago(schedule_block): Reset n_ready if schedule_select
Jim Wilson [Mon, 29 Mar 1993 22:34:25 +0000 (14:34 -0800)]
(schedule_block): Reset n_ready if schedule_select
removes all insns from ready list.

From-SVN: r3918

31 years ago(FUNCTION_PROFILER): Call output_function_profiler.
Jim Wilson [Mon, 29 Mar 1993 22:32:52 +0000 (14:32 -0800)]
(FUNCTION_PROFILER): Call output_function_profiler.

(CALL_USED_REGISTERS): Add more comments about register usage.

From-SVN: r3917

31 years ago(i960_function_prologue): When profiling, don't use those registers clobbered around...
Jim Wilson [Mon, 29 Mar 1993 22:32:08 +0000 (14:32 -0800)]
(i960_function_prologue): When profiling, don't use those registers clobbered around an mcount call.

(i960_function_prologue): When profiling, don't use those
registers clobbered around an mcount call.
(output_function_profiler): New function.

From-SVN: r3916

31 years ago(secondary_memlocs_elim): Now one per mode per operand.
Richard Kenner [Mon, 29 Mar 1993 21:39:58 +0000 (16:39 -0500)]
(secondary_memlocs_elim): Now one per mode per operand.

(get_secondary_mem, combine_reloads): Reflect changed var above.
(clear_secondary_mem): Use bzero.

From-SVN: r3915

31 years agoAdd prototypes for all functions defined in file.
Richard Kenner [Mon, 29 Mar 1993 21:16:35 +0000 (16:16 -0500)]
Add prototypes for all functions defined in file.

Change a few occurrences of RTX_CODE to enum rtx_code for consistency.
(merge_trees): Add casts of args to mybcopy.
(write_tree_1): Now static.
(fatal): Always called with one arg, so define that way.

From-SVN: r3914

31 years ago(collect_iterators): Cast tree code to int for indexing.
Richard Stallman [Mon, 29 Mar 1993 18:57:45 +0000 (18:57 +0000)]
(collect_iterators): Cast tree code to int for indexing.

From-SVN: r3913

31 years agoAdd missing declarations for external functions in reload.c, reload1.c,
Richard Kenner [Mon, 29 Mar 1993 11:28:45 +0000 (06:28 -0500)]
Add missing declarations for external functions in reload.c, reload1.c,

and caller-save.c.
(reload_strict_low, reload_needed_for_multiple, reload_needed_for): Deleted.
(reload_opnum): New array.
(enum reload_type): Renamed from reload_when_needed and expanded to include
more reload types.
(reload_n_operands): New variable.

From-SVN: r3912

31 years agoAdd prototypes for all static functions and clean up some definitions.
Richard Kenner [Mon, 29 Mar 1993 11:27:52 +0000 (06:27 -0500)]
Add prototypes for all static functions and clean up some definitions.

(struct decompose): Move to before function declarations.
(secondary_memlocs_elim): One per operand, not per mode.
(get_secondary_mem): Accept and use reload description (opnum and type).
(push_reload): Accept and use new reload description instead of old NEEDED_FOR.
Define two new macros: MERGEABLE_RELOADS and MERGE_TO_OTHER.
Use these macros to see if reloads can be merged and how to do it.
(transfer_replacements): New function.
(combine_reloads): Refine when we can combine reloads.
(find_reloads): Use new method of tracking what a reload is for.
When we make a CLOBBER insn, do so with DImode.
Merge cases of making optional reloads, avoid making output-only optional
reloads, refine when we may not make in-out optional reloads, and make an
optional reload for a pair of matching operands.
(find_reloads_toplev, find_reloads_address{,_1, part}): Accept and use reload
description.
(forget_volatility): Delete long-obsolete function.

From-SVN: r3911

31 years agoAdd prototypes for static functions.
Richard Kenner [Mon, 29 Mar 1993 11:24:36 +0000 (06:24 -0500)]
Add prototypes for static functions.

(REGISTER_MOVE_COST, MEMORY_MOVE_COST): Include default definitions.
(reload): Count number of registers needed for insn using new reload type
information.
If mode of insn is DImode, don't change it.
Refine the way we handle conflict with the return value register.
Don't try to account for needs already covered by previously spilled
registers; instead, put them back in the front of potential_reload_regs and
let them be allocated again.
(order_regs_for_reload): Don't restrict regs explicitly used if we have
SMALL_REGISTER_CLASSES defined.
(reload_as_needed): Don't need to deactivate optional reloads ever; if they
inherit, it must have been safe.
Call merge_assigned_reloads if SMALL_REGISTER_CLASSES.
(reload_reg_used_*): Refine our tracking of reload reg usage by defining more
of these HARD_REG_SETs.
(mark_reload_reg_in_use, reload_reg_free_p): Rework to use new method of
describing where a reload register is used.
(reload_reg_free_before_p, reload_reg_reaches_end_p): Likewise.
(allocate_reload_reg): Pass new reload descriptions.
(choose_reload_regs): Likewise.
Save and restore the new HARD_REG_SETs.
Remove now-redundant code to prevent conflicts.
(merge_assigned_reloads): New function.
(emit_reload_insns): Output each reload type into its own sequence, then
output the sequences in the proper order.
Put our output reloads after a CLOBBER made by find_reloads.
Pass ALL_REGS to find_equiv_regs; nothing special about GENERAL_REGS.
Don't use an old equivalence if doing so would be more expensive.
Clean up tracking of values still in reload regs using reload description
info to see if the reload reaches the end of the insn.
(gen_input_reload): Pass reload description and emit insns to end of current
sequence.
(inc_for_reload): Return void; no longer need INSN as operand.
Emit insns to end of current sequence.

From-SVN: r3910

31 years ago(expand_expr, case MAX_EXPR/MIN_EXPR): If mode is multiword int,
Richard Stallman [Mon, 29 Mar 1993 08:23:24 +0000 (08:23 +0000)]
(expand_expr, case MAX_EXPR/MIN_EXPR): If mode is multiword int,

use do_jump_by_parts_greater_rtx to compare efficiently.
(do_jump_by_parts_greater_rtx): New function.

From-SVN: r3909

31 years ago(store_parm_decls): Use pedwarn for "promoted arg doesn't
Richard Stallman [Mon, 29 Mar 1993 04:49:21 +0000 (04:49 +0000)]
(store_parm_decls): Use pedwarn for "promoted arg doesn't
match prototype" warning.

From-SVN: r3908

31 years ago(expand_call): Always allocate TARGET in mode of result expression;
Richard Kenner [Mon, 29 Mar 1993 01:26:03 +0000 (20:26 -0500)]
(expand_call): Always allocate TARGET in mode of result expression;

VALREG might have been promoted.
Ensure TARGET is a REG when checking for promotion and verify that we
get back the mode we expect.

From-SVN: r3907

31 years agopa.md (smin, [...]): New patterns.
Jeff Law [Sun, 28 Mar 1993 23:56:26 +0000 (16:56 -0700)]
pa.md (smin, [...]): New patterns.

* pa.md (smin, umin, smax, umax): New patterns.

* pa.md (cbranch define_delay): Enable nullification of
conditional branch delay slots (based upon branch direction).
(conditional branch patterns): Call output_cbranch to get the
correct output template.  Long conditional branches with an
annulled delay slot have a length of 3.
(branch on bit patterns): Call output_bb to get the correct
output template.  Long branches with an annulled delay slot have
a length of 3.
(decrement and branch pattern): Handle nullification of long

From-SVN: r3906

31 years ago(expand_expr): For COMPONENT_REF, don't force_reg op0 if it is BLKmode.
Richard Stallman [Sun, 28 Mar 1993 23:55:45 +0000 (23:55 +0000)]
(expand_expr): For COMPONENT_REF, don't force_reg op0 if it is BLKmode.

From-SVN: r3905

31 years agoreorg.c (ANNUL_IFTRUE_SLOTS, [...]): Add new flags variable to these dummy macros.
Jeff Law [Sun, 28 Mar 1993 21:25:08 +0000 (14:25 -0700)]
reorg.c (ANNUL_IFTRUE_SLOTS, [...]): Add new flags variable to these dummy macros.

* reorg.c (ANNUL_IFTRUE_SLOTS, ANNUL_IFFALSE_SLOTS): Add new
flags variable to these dummy macros.
(get_jump_flags): New function.
(optimize_skip): Get jump flags information from the delay insn.
(steal_delay_list_from_target): Get jump flags information from the
delay insn and the label of the trial jump.
(steal_delay_list_from_fallthrough): Get jump flags information
from the delay insn.
(try_merge_delay_insns): Likewise.
(fill_simple_delay_slots): Likewise.
(fill_slots_from_thread): Likewise.
(make_return_insn): Likewise.

From-SVN: r3904

31 years agogenattrtab.c (write_eligible_delay): Add new variable "flags" to the generated functions.
Jeff Law [Sun, 28 Mar 1993 21:23:09 +0000 (14:23 -0700)]
genattrtab.c (write_eligible_delay): Add new variable "flags" to the generated functions.

* genattrtab.c (write_eligible_delay): Add new variable
"flags" to the generated functions.  All callers changed.
(check_attr_test): Handle ATTR_FLAG.
(clear_struct_flag): Likewise.
(count_sub_rtxs): Likewise.
(write_test_expr): Likewise.

From-SVN: r3903

31 years ago* rtl.def (ATTR_FLAG): New RTL code.
Jeff Law [Sun, 28 Mar 1993 21:22:43 +0000 (14:22 -0700)]
* rtl.def (ATTR_FLAG): New RTL code.

From-SVN: r3902

31 years ago* genattr.c (main): Output ATTR_FLAG masks.
Jeff Law [Sun, 28 Mar 1993 21:22:00 +0000 (14:22 -0700)]
* genattr.c (main): Output ATTR_FLAG masks.

From-SVN: r3901

31 years agoMove comments about big sed command outside the command itself.
Richard Stallman [Sun, 28 Mar 1993 07:46:33 +0000 (07:46 +0000)]
Move comments about big sed command outside the command itself.

From-SVN: r3900

31 years ago(process_init_constructor, digest_init):
Richard Stallman [Sun, 28 Mar 1993 05:48:46 +0000 (05:48 +0000)]
(process_init_constructor, digest_init):

Check and set new static var partial_bracket_mentioned.

From-SVN: r3899

31 years ago(lang_options): Add -W{no-,}missing-braces.
Richard Stallman [Sun, 28 Mar 1993 05:48:06 +0000 (05:48 +0000)]
(lang_options): Add -W{no-,}missing-braces.

From-SVN: r3898

31 years agoUpdated for recent change in c-parse.gperf.
Richard Stallman [Sun, 28 Mar 1993 05:42:22 +0000 (05:42 +0000)]
Updated for recent change in c-parse.gperf.

From-SVN: r3897

31 years ago(expand_function_start): When evaluating sizes of variable types, do
Richard Kenner [Sat, 27 Mar 1993 18:41:59 +0000 (13:41 -0500)]
(expand_function_start): When evaluating sizes of variable types, do
so just for side-effects (the SAVE_EXPRs).

From-SVN: r3896

31 years ago(variable_size): When evaluating sizes of variable types, do so just
Richard Kenner [Sat, 27 Mar 1993 18:41:31 +0000 (13:41 -0500)]
(variable_size): When evaluating sizes of variable types, do so just
for side-effects (the SAVE_EXPRs).

From-SVN: r3895

31 years ago* From Jukka Virtanen.
Jeff Law [Sat, 27 Mar 1993 18:40:46 +0000 (11:40 -0700)]
* From Jukka Virtanen.

* pa.h (TRAMPOLINE_TEMPLATE): Define for the PA.
(TRAMPOLINE_SIZE): Define for the PA.
(INITIALIZE_TRAMPOLINE): Define for the PA.

From-SVN: r3894

31 years ago* pa.md (cacheflush): New pattern.
Jeff Law [Sat, 27 Mar 1993 18:40:27 +0000 (11:40 -0700)]
* pa.md (cacheflush): New pattern.

From-SVN: r3893

31 years agoMajor rework to agree with new calling sequence.
Richard Kenner [Sat, 27 Mar 1993 13:35:43 +0000 (08:35 -0500)]
Major rework to agree with new calling sequence.

From-SVN: r3892

31 years ago(mov[qhs]i): Allow moving a special reg to itself.
Richard Kenner [Sat, 27 Mar 1993 13:21:59 +0000 (08:21 -0500)]
(mov[qhs]i): Allow moving a special reg to itself.

From-SVN: r3891

31 years ago(S_MODES, D_MODES, T_MODES):
Richard Stallman [Sat, 27 Mar 1993 08:49:19 +0000 (08:49 +0000)]
(S_MODES, D_MODES, T_MODES):

Accept only those complex modes that are small enough.
Rewrite to make the expressions simpler.

From-SVN: r3890

31 years ago(stabilize_reference_1): For division and remainder, make a save_expr.
Richard Stallman [Sat, 27 Mar 1993 07:23:42 +0000 (07:23 +0000)]
(stabilize_reference_1): For division and remainder, make a save_expr.

From-SVN: r3889

31 years agoUse STDIO_PROTO for prototypes with FILE.
Richard Kenner [Sat, 27 Mar 1993 00:20:31 +0000 (19:20 -0500)]
Use STDIO_PROTO for prototypes with FILE.

From-SVN: r3888

31 years agoAdd standard copyright notice.
Richard Kenner [Sat, 27 Mar 1993 00:19:59 +0000 (19:19 -0500)]
Add standard copyright notice.

From-SVN: r3887

31 years agoAdd prototypes for static functions.
Richard Kenner [Fri, 26 Mar 1993 22:29:57 +0000 (17:29 -0500)]
Add prototypes for static functions.

(choose_hard_reg_mode): Add missing parameters declaration.

From-SVN: r3886

31 years ago(multiply/multiplu/mulm/mulmu insns): These clobber Q.
Richard Kenner [Fri, 26 Mar 1993 22:06:56 +0000 (17:06 -0500)]
(multiply/multiplu/mulm/mulmu insns): These clobber Q.

From-SVN: r3885

31 years ago(FUNCTION_VALUE_REGNO_P): Change to agree with
Tom Wood [Fri, 26 Mar 1993 11:26:53 +0000 (11:26 +0000)]
(FUNCTION_VALUE_REGNO_P): Change to agree with
FUNCTION_VALUE.

From-SVN: r3884

31 years ago> (untyped_call, blockage): New patterns.
Tom Wood [Fri, 26 Mar 1993 11:26:22 +0000 (11:26 +0000)]
> (untyped_call, blockage): New patterns.

From-SVN: r3883

31 years ago(INCOMING_REGNO, OUTGOING_REGNO): Define.
Tom Wood [Fri, 26 Mar 1993 11:25:40 +0000 (11:25 +0000)]
(INCOMING_REGNO, OUTGOING_REGNO): Define.

From-SVN: r3882

31 years agoCygnus<-->FSF merge.
Brendan Kehoe [Fri, 26 Mar 1993 06:08:23 +0000 (01:08 -0500)]
Cygnus<-->FSF merge.

From-SVN: r3881

31 years ago(do_include): For "..." case, leave fend pointing at terminating 0.
Richard Stallman [Thu, 25 Mar 1993 21:51:47 +0000 (21:51 +0000)]
(do_include): For "..." case, leave fend pointing at terminating 0.

Distinct error msgs for empty file name and for bad syntax.

From-SVN: r3880

31 years ago(NO_DOT_IN_LABEL): Defined.
Richard Stallman [Thu, 25 Mar 1993 21:29:56 +0000 (21:29 +0000)]
(NO_DOT_IN_LABEL): Defined.

From-SVN: r3879

31 years agoAdd forgotten dependancy
Mike Stump [Thu, 25 Mar 1993 19:39:29 +0000 (19:39 +0000)]
Add forgotten dependancy

From-SVN: r3878

31 years agoChange __cimag__ to __imag__, __creal__ to __real__,
Richard Stallman [Thu, 25 Mar 1993 18:02:30 +0000 (18:02 +0000)]
Change __cimag__ to __imag__, __creal__ to __real__,

to void rejection by gperf.

From-SVN: r3877

31 years ago(USER_H): Add va-clipper.
Richard Stallman [Thu, 25 Mar 1993 16:38:16 +0000 (16:38 +0000)]
(USER_H): Add va-clipper.

From-SVN: r3876

31 years ago(store_one_arg): Fix typo in previous change.
Richard Kenner [Thu, 25 Mar 1993 12:01:09 +0000 (07:01 -0500)]
(store_one_arg): Fix typo in previous change.

From-SVN: r3875

31 years agoAdded front-end taggint to object files.
Mike Stump [Thu, 25 Mar 1993 08:51:26 +0000 (08:51 +0000)]
Added front-end taggint to object files.

From-SVN: r3874

31 years ago(fixup_var_refs_insns): Don't delete an insn copying
Richard Stallman [Thu, 25 Mar 1993 05:43:12 +0000 (05:43 +0000)]
(fixup_var_refs_insns): Don't delete an insn copying
var to itself, if it's the end of a libcall group.

From-SVN: r3873

31 years agoentered into RCS
Richard Stallman [Wed, 24 Mar 1993 22:49:55 +0000 (22:49 +0000)]
entered into RCS

From-SVN: r3872

31 years agoDefault to clipper-intergraph if system is clix.
Richard Stallman [Wed, 24 Mar 1993 22:44:55 +0000 (22:44 +0000)]
Default to clipper-intergraph if system is clix.

From-SVN: r3871

31 years ago(memory.h): Use proper ANSI syntax in `#endif __memory_h__'.
Richard Stallman [Wed, 24 Mar 1993 22:42:07 +0000 (22:42 +0000)]
(memory.h): Use proper ANSI syntax in `#endif __memory_h__'.

From-SVN: r3870

31 years agoUse va-clipper.h.
Richard Stallman [Wed, 24 Mar 1993 22:41:53 +0000 (22:41 +0000)]
Use va-clipper.h.

From-SVN: r3869

31 years ago(memory.h): Use proper ANSI syntax in `#endif __memory_h__'.
Richard Stallman [Wed, 24 Mar 1993 21:10:11 +0000 (21:10 +0000)]
(memory.h): Use proper ANSI syntax in `#endif __memory_h__'.

From-SVN: r3868

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

* pa.c (shadd_operand): New function.
(print_operand): Handle "%O" for shadd patterns.

From-SVN: r3867

31 years agopa.md (sh[123\add): Collapse into a single pattern.
Jeff Law [Wed, 24 Mar 1993 17:53:14 +0000 (10:53 -0700)]
pa.md (sh[123\add): Collapse into a single pattern.

* pa.md (sh[123\add): Collapse into a single pattern.
(sh[123]add for reload): Likewise.
* pa.c (shadd_operand): New function.
(print_operand): Handle "%O" for shadd patterns.

From-SVN: r3866

31 years agoClean up whitespace.
Richard Kenner [Wed, 24 Mar 1993 13:18:04 +0000 (08:18 -0500)]
Clean up whitespace.

From-SVN: r3865

31 years ago(EXTRA_SECTION_FUNCTIONS, ASM_DECLARE_FUNCTION_NAME): Don't output tab
Richard Kenner [Wed, 24 Mar 1993 13:03:22 +0000 (08:03 -0500)]
(EXTRA_SECTION_FUNCTIONS, ASM_DECLARE_FUNCTION_NAME): Don't output tab
before .csect pseudo-op.

From-SVN: r3864

31 years ago(store_one_arg): Use int_size_in_bytes and expr_size when appropriate
Richard Kenner [Wed, 24 Mar 1993 01:20:32 +0000 (20:20 -0500)]
(store_one_arg): Use int_size_in_bytes and expr_size when appropriate
instead of size_in_bytes.

From-SVN: r3863

31 years agorecord_reg_classes): When an alternative requires a match...
Richard Kenner [Wed, 24 Mar 1993 01:18:04 +0000 (20:18 -0500)]
record_reg_classes): When an alternative requires a match...

record_reg_classes): When an alternative requires a match, but we do
it with a copy into a register, that alternative wins.

From-SVN: r3862

31 years ago(CHEAP_REG): Add missing parens.
Richard Kenner [Wed, 24 Mar 1993 01:16:17 +0000 (20:16 -0500)]
(CHEAP_REG): Add missing parens.

From-SVN: r3861

31 years ago(DEFAULT_PCC_STRUCT_RETURN): Add default definition of 1.
Jim Wilson [Tue, 23 Mar 1993 23:13:50 +0000 (15:13 -0800)]
(DEFAULT_PCC_STRUCT_RETURN): Add default definition of 1.

(flag_pcc_struct_return): Default to DEFAULT_PCC_STRUCT_RETURN.
(f_options): Add -freg-struct-return flag.

From-SVN: r3860

31 years ago(compile_file): If warning about a function
Richard Stallman [Tue, 23 Mar 1993 22:30:18 +0000 (22:30 +0000)]
(compile_file): If warning about a function
declared static but not defined, make the function extern.

From-SVN: r3859

31 years ago(DEFAULT_PCC_STRUCT_RETURN): Define to 0.
Jim Wilson [Tue, 23 Mar 1993 19:41:54 +0000 (11:41 -0800)]
(DEFAULT_PCC_STRUCT_RETURN): Define to 0.

From-SVN: r3858

31 years agoCorrect typo in comment from last change.
Jim Wilson [Tue, 23 Mar 1993 19:37:27 +0000 (11:37 -0800)]
Correct typo in comment from last change.

From-SVN: r3857

31 years ago(DEFAULT_PCC_STRUCT_RETURN): Define to 0.
Jim Wilson [Tue, 23 Mar 1993 19:35:31 +0000 (11:35 -0800)]
(DEFAULT_PCC_STRUCT_RETURN): Define to 0.

From-SVN: r3856

31 years ago(RETURN_IN_MEMORY): Update comment.
Jim Wilson [Tue, 23 Mar 1993 19:32:21 +0000 (11:32 -0800)]
(RETURN_IN_MEMORY): Update comment.

From-SVN: r3855

31 years ago(RETURN_IN_MEMORY): Delete struct and union references.
Jim Wilson [Tue, 23 Mar 1993 19:31:53 +0000 (11:31 -0800)]
(RETURN_IN_MEMORY): Delete struct and union references.

From-SVN: r3854

31 years ago(untyped_call pattern): Fix typo.
Tom Wood [Tue, 23 Mar 1993 15:10:07 +0000 (15:10 +0000)]
(untyped_call pattern): Fix typo.

From-SVN: r3853

31 years agoMove misapplied patch
Tom Wood [Tue, 23 Mar 1993 13:57:14 +0000 (13:57 +0000)]
Move misapplied patch

From-SVN: r3852

31 years ago(prepare_call_address): Put decl back.
Richard Kenner [Tue, 23 Mar 1993 13:35:37 +0000 (08:35 -0500)]
(prepare_call_address): Put decl back.

From-SVN: r3851

31 years ago(prepare_call_address): Again not static.
Richard Kenner [Tue, 23 Mar 1993 13:35:15 +0000 (08:35 -0500)]
(prepare_call_address): Again not static.

From-SVN: r3850

31 years agoDon't include gvarargs.h.
Richard Kenner [Tue, 23 Mar 1993 13:10:05 +0000 (08:10 -0500)]
Don't include gvarargs.h.

(emit_library_call, emit_library_call_value): Delete from here.

From-SVN: r3849

31 years agoInclude gvarargs.h.
Richard Kenner [Tue, 23 Mar 1993 13:09:36 +0000 (08:09 -0500)]
Include gvarargs.h.

Add prototypes to forward declarations and declare static functions.
(prepare_call_address, emit_call_1): Now static.
(emit_library_call, emit_library_call_value): Move to here.

From-SVN: r3848

31 years ago(expr.o): Doesn't include gvarargs.h.
Richard Kenner [Tue, 23 Mar 1993 13:09:00 +0000 (08:09 -0500)]
(expr.o): Doesn't include gvarargs.h.

(calls.o): Now includes gvarargs.h.

From-SVN: r3847

31 years agoDon't declare fns that use "tree" if tree.h not included.
Richard Kenner [Tue, 23 Mar 1993 13:08:24 +0000 (08:08 -0500)]
Don't declare fns that use "tree" if tree.h not included.

(prepare_call_address, emit_call_1): Remove decls.
(promoted_input_arg): Add prototype.
(fix_lexical_addr): Remove duplicate decl.
(copy_function_value, expand_stmt_expr): Delete; no such functions.

From-SVN: r3846

31 years ago(expand_builtin...
Tom Wood [Tue, 23 Mar 1993 12:55:43 +0000 (12:55 +0000)]
(expand_builtin...

(expand_builtin, BUILT_IN_SAVEREGS): Use these to put the
code at the start of the function, even when inside a sequence.

(apply_args_value): New variable.
(init_expr, save_expr_status, restore_expr_status): Initialize,
save, and restore apply_args_value.
(expand_builtin): Implement new built-in functions.
(apply_args_mode, apply_result_mode): New variables.
(apply_args_size, apply_result_size, result_vector,
expand_builtin_apply_args, expand_builtin_apply,
expand_builtin_return): New functions.
(INCOMING_REGNO, OUTGOING_REGNO): Supply default definitions.

From-SVN: r3845

31 years ago(struct function): Add apply_args_value field.
Tom Wood [Tue, 23 Mar 1993 12:54:30 +0000 (12:54 +0000)]
(struct function): Add apply_args_value field.

From-SVN: r3844

31 years ago*** empty log message ***
Tom Wood [Tue, 23 Mar 1993 12:53:46 +0000 (12:53 +0000)]
*** empty log message ***

From-SVN: r3843

31 years ago(enum built_in_function): Add BUILT_IN_APPLY_ARGS,
Tom Wood [Tue, 23 Mar 1993 12:53:17 +0000 (12:53 +0000)]
(enum built_in_function): Add BUILT_IN_APPLY_ARGS,

BUILT_IN_APPLY, and BUILT_IN_RETURN.

From-SVN: r3842

31 years ago(push_topmost_sequence, pop_topmost_sequence): New
Tom Wood [Tue, 23 Mar 1993 12:52:39 +0000 (12:52 +0000)]
(push_topmost_sequence, pop_topmost_sequence): New
functions.

From-SVN: r3841

31 years ago(untyped_call): New pattern.
Tom Wood [Tue, 23 Mar 1993 12:51:52 +0000 (12:51 +0000)]
(untyped_call): New pattern.

From-SVN: r3840

31 years ago(untyped_call, blockage): New patterns.
Tom Wood [Tue, 23 Mar 1993 12:50:44 +0000 (12:50 +0000)]
(untyped_call, blockage): New patterns.

From-SVN: r3839