gcc.git
32 years agoRemove version number from initial message.
Richard Stallman [Mon, 31 Aug 1992 17:30:33 +0000 (17:30 +0000)]
Remove version number from initial message.

From-SVN: r2004

32 years agocaller-save.c (restore_referenced_regs): When restoring a referenced hard register...
Jeff Law [Mon, 31 Aug 1992 14:05:07 +0000 (08:05 -0600)]
caller-save.c (restore_referenced_regs): When restoring a referenced hard register...

* caller-save.c (restore_referenced_regs): When restoring a
referenced hard register, use CEIL instead of truncating
divide to determine the maximum number of registers to
restore.
(insert_save_restore): Document maxrestore parameter.
(CEIL): Define.

From-SVN: r2003

32 years ago(const_binop): Delete special case for mult by 3.
Richard Stallman [Mon, 31 Aug 1992 08:02:58 +0000 (08:02 +0000)]
(const_binop): Delete special case for mult by 3.

From-SVN: r2002

32 years ago(TARGET_FLOAT_RETURNS_IN_80387): New macro.
James Van Artsdalen [Mon, 31 Aug 1992 07:06:56 +0000 (07:06 +0000)]
(TARGET_FLOAT_RETURNS_IN_80387): New macro.

(TARGET_SWITCHES): Add "no-80387", "no-soft-float", "fp-ret-in-387", and
"no-fp-ret-in-387".
Change no* switches to no-*.
(CONDITIONAL_REGISTER_USAGE): Make 387 regs fixed if the 387 is not used
at all.
(REG_CLASS_FROM_LETTER): Constraint letters 'f', 't' and 'u' are NO_REGS
if the 387 is not used.
(TRAMPOLINE_TEMPLATE): Use GEN_INT to generate const_int rtx.

From-SVN: r2001

32 years ago(TARGET_DEFAULT,VALUE_REGNO,FUNCTION_VALUE_REGNO): Moved from unix target files ...
James Van Artsdalen [Mon, 31 Aug 1992 07:04:09 +0000 (07:04 +0000)]
(TARGET_DEFAULT,VALUE_REGNO,FUNCTION_VALUE_REGNO): Moved from unix target files (aix386.h...

(TARGET_DEFAULT,VALUE_REGNO,FUNCTION_VALUE_REGNO): Moved from unix target
files (aix386.h, i386gas.h, i386sun.h, i386v.h, i386v4.h, i386vgas.h,
seq386.h).
(TARGET_DEFAULT): Make TARGET_IEEE_FP default on.
(VALUE_REGNO): Test for MODE_FLOAT instead of specific modes.
(VALUE_REGNO,FUNCTION_VALUE_REGNO): MODE_FLOAT return reg depends on
TARGET_FLOAT_RETURNS_IN_80387.

From-SVN: r2000

32 years ago(TARGET_DEFAULT,VALUE_REGNO,FUNCTION_VALUE_REGNO): Move to unx386.h.
James Van Artsdalen [Mon, 31 Aug 1992 07:03:32 +0000 (07:03 +0000)]
(TARGET_DEFAULT,VALUE_REGNO,FUNCTION_VALUE_REGNO): Move to unx386.h.

From-SVN: r1999

32 years ago(do_pragma): In prev. change, really use U_CHAR *, not char *.
James Van Artsdalen [Mon, 31 Aug 1992 00:24:10 +0000 (00:24 +0000)]
(do_pragma): In prev. change, really use U_CHAR *, not char *.

From-SVN: r1998

32 years ago(create_builtin_decl): Set TREE_STATIC.
Richard Stallman [Sun, 30 Aug 1992 21:05:48 +0000 (21:05 +0000)]
(create_builtin_decl): Set TREE_STATIC.

Don't set DECL_EXTERNAL or TREE_PUBLIC.

From-SVN: r1997

32 years ago(RTL_HASH, attr_rtx): Avoid warnings by casting pointers to
Richard Kenner [Sun, 30 Aug 1992 02:41:36 +0000 (22:41 -0400)]
(RTL_HASH, attr_rtx): Avoid warnings by casting pointers to
HOST_WIDE_INT instead of int.

From-SVN: r1996

32 years ago(expand_{binop,unop}): Don't make invalid paradoxical SUBREGs.
Richard Kenner [Sun, 30 Aug 1992 02:39:51 +0000 (22:39 -0400)]
(expand_{binop,unop}): Don't make invalid paradoxical SUBREGs.

From-SVN: r1995

32 years ago(emit_library_call): Pass correct number of args to convert_to_mode.
Richard Kenner [Sun, 30 Aug 1992 02:38:56 +0000 (22:38 -0400)]
(emit_library_call): Pass correct number of args to convert_to_mode.

(emit_block_move): Eliminate unnecessary test against HOST_BITS_PER_WIDE_INT.

From-SVN: r1994

32 years ago(record_reg_life): Mark an unused reg as such, even if it appears in
James Van Artsdalen [Sat, 29 Aug 1992 07:33:16 +0000 (07:33 +0000)]
(record_reg_life): Mark an unused reg as such, even if it appears in
SET_SRC.

From-SVN: r1993

32 years ago(do_pragma): Use rindex, not strrchr.
Richard Stallman [Sat, 29 Aug 1992 03:47:56 +0000 (03:47 +0000)]
(do_pragma): Use rindex, not strrchr.

From-SVN: r1992

32 years ago(adjust_copied_decl_tree): New function.
Richard Stallman [Sat, 29 Aug 1992 03:21:11 +0000 (03:21 +0000)]
(adjust_copied_decl_tree):  New function.

(save_for_inline_copying):  When making copies of NOTE_INSN_BLOCK_END
notes, stash a "forwarding" pointer in the original to point to the
copy.  Also, when all BLOCKs & insns for a function have been copied,
call `adjust_copied_decl_tree' to fixup the end_note pointers in the
copied BLOCKs.

From-SVN: r1991

32 years ago(last_block_end_note): New variable.
Richard Stallman [Sat, 29 Aug 1992 03:20:43 +0000 (03:20 +0000)]
(last_block_end_note):  New variable.

(remember_end_note):  New function.
(expand_end_bindings): Save NOTE_INSN_BLOCK_END in last_block_end_note.

(struct goto_fixup): New field context.
(fixup_cleanups): Function deleted.
(fixup_gotos): Put the fixup in a block, and put that block
into its proper place.  Use sequences, not reorder_insns.

From-SVN: r1990

32 years ago(poplevel): Call `remember_end_note' for each newly created BLOCK node.
Richard Stallman [Sat, 29 Aug 1992 03:19:01 +0000 (03:19 +0000)]
(poplevel):  Call `remember_end_note' for each newly created BLOCK node.

From-SVN: r1989

32 years ago(BLOCK_END_NOTE): Macro definition added.
Richard Stallman [Sat, 29 Aug 1992 03:18:36 +0000 (03:18 +0000)]
(BLOCK_END_NOTE):  Macro definition added.

(struct tree_block):  `end_note' field added.

From-SVN: r1988

32 years ago(chainon): Check for op2 being the last elt of the chain.
Richard Stallman [Sat, 29 Aug 1992 03:11:59 +0000 (03:11 +0000)]
(chainon): Check for op2 being the last elt of the chain.

From-SVN: r1987

32 years ago(do_pragma): In prev. change, use U_CHAR *, not char *.
Richard Stallman [Fri, 28 Aug 1992 17:26:23 +0000 (17:26 +0000)]
(do_pragma): In prev. change, use U_CHAR *, not char *.

From-SVN: r1986

32 years ago(ADJUST_COST): Add definition.
Tom Wood [Fri, 28 Aug 1992 13:11:06 +0000 (13:11 +0000)]
(ADJUST_COST): Add definition.

From-SVN: r1985

32 years ago(movstrsi): Rewrite to handle operands correctly.
James Van Artsdalen [Fri, 28 Aug 1992 06:24:41 +0000 (06:24 +0000)]
(movstrsi): Rewrite to handle operands correctly.

From-SVN: r1984

32 years ago(expand_builtin): Add sin and cos as built-in functions.c
James Van Artsdalen [Fri, 28 Aug 1992 01:49:35 +0000 (01:49 +0000)]
(expand_builtin): Add sin and cos as built-in functions.c

From-SVN: r1983

32 years ago(all patterns): Use GEN_INT instead of gen_rtx to get const_ints.
James Van Artsdalen [Fri, 28 Aug 1992 01:43:02 +0000 (01:43 +0000)]
(all patterns): Use GEN_INT instead of gen_rtx to get const_ints.

Avoid double-negative "! NON_*" constructs for clarity.
Pass NULL_PTR as null parameter instead of 0.
(sqrtM2): Patterns are only valid if IEEE FP or -ffast-math.
(sinM2,cosM2): New patterns.
(zero_extract test): New pattern.

From-SVN: r1982

32 years ago(all gen_rtx (CONST_INT) references): Use GEN_INT to generate const_int rtx.
James Van Artsdalen [Fri, 28 Aug 1992 01:36:16 +0000 (01:36 +0000)]
(all gen_rtx (CONST_INT) references): Use GEN_INT to generate const_int rtx.

(legitimize_pic_address): Pass NULL_RTX instead of "0" as pointer.

From-SVN: r1981

32 years ago(record_note_if_dead): Delete function.
James Van Artsdalen [Fri, 28 Aug 1992 01:24:42 +0000 (01:24 +0000)]
(record_note_if_dead): Delete function.

(record_reg_life_pat): Rewrite to handle any sort of pattern.
(record_reg_life): Change interface to record_reg_life_pat.
(stack_reg_life_analysis): Don't assume that MODE_FLOAT values are
always returned in a float reg.
(subst_stack_regs_pat): Add support for sin and cos insns.

From-SVN: r1980

32 years ago(BUILT_IN_SIN,BUILT_IN_COS): New builtin codes.
James Van Artsdalen [Fri, 28 Aug 1992 01:24:04 +0000 (01:24 +0000)]
(BUILT_IN_SIN,BUILT_IN_COS): New builtin codes.

From-SVN: r1979

32 years ago(sin_optab,cos_optab): Define optabs for sin and cos.
James Van Artsdalen [Fri, 28 Aug 1992 01:22:53 +0000 (01:22 +0000)]
(sin_optab,cos_optab): Define optabs for sin and cos.

(init_optabs): Initialize them.

From-SVN: r1978

32 years ago(sin_optab,cos_optab): Declare optabs for sin and cos.
James Van Artsdalen [Fri, 28 Aug 1992 01:22:01 +0000 (01:22 +0000)]
(sin_optab,cos_optab): Declare optabs for sin and cos.

From-SVN: r1977

32 years ago(init_decl_processing): Add sin and cos as built-in functions.
James Van Artsdalen [Fri, 28 Aug 1992 01:20:34 +0000 (01:20 +0000)]
(init_decl_processing): Add sin and cos as built-in functions.

From-SVN: r1976

32 years ago(emit_block_move): When trying movstrMM, cvt size to mode MM.
Richard Stallman [Thu, 27 Aug 1992 22:54:40 +0000 (22:54 +0000)]
(emit_block_move): When trying movstrMM, cvt size to mode MM.

From-SVN: r1975

32 years agoAllocate enough space for attr_printf; Use obstack_alloc instead of xmalloc.
Michael Meissner [Thu, 27 Aug 1992 20:56:29 +0000 (20:56 +0000)]
Allocate enough space for attr_printf; Use obstack_alloc instead of xmalloc.

From-SVN: r1974

32 years ago(readescape): For \x, don't include leading 0's in count.
Richard Stallman [Thu, 27 Aug 1992 05:55:33 +0000 (05:55 +0000)]
(readescape): For \x, don't include leading 0's in count.

From-SVN: r1973

32 years ago(check_format): DEL isn't printable.
Richard Stallman [Thu, 27 Aug 1992 05:48:11 +0000 (05:48 +0000)]
(check_format): DEL isn't printable.

From-SVN: r1972

32 years ago(readescape): DEL isn't printable.
Richard Stallman [Thu, 27 Aug 1992 05:45:47 +0000 (05:45 +0000)]
(readescape): DEL isn't printable.

From-SVN: r1971

32 years ago(init_decl_processing): Fix type of __builtin_constant_p.
Richard Stallman [Thu, 27 Aug 1992 03:26:06 +0000 (03:26 +0000)]
(init_decl_processing): Fix type of __builtin_constant_p.

From-SVN: r1970

32 years agoEnhance to fill the last delay slot of a call with an unconditional jump.
Tom Wood [Wed, 26 Aug 1992 22:19:37 +0000 (22:19 +0000)]
Enhance to fill the last delay slot of a call with an unconditional jump.

Enhance to fill the last delay slot of a call with an
unconditional jump.
(fill_simple_delay_slots): Look for the case of a call/branch
first.  If this applies, record the jump as `last_delay_insn'.
Later, don't look for additional delay insns if the last one has
alreay been filled.
(mark_target_live_regs): A sequence may end in an unconditional
branch.

From-SVN: r1969

32 years agoPass -shared/-non_shared to MIPS 3.0 linker if passed.
Michael Meissner [Wed, 26 Aug 1992 21:21:55 +0000 (21:21 +0000)]
Pass -shared/-non_shared to MIPS 3.0 linker if passed.

From-SVN: r1968

32 years ago(current_block): Declared.
Richard Stallman [Wed, 26 Aug 1992 21:05:32 +0000 (21:05 +0000)]
(current_block): Declared.

From-SVN: r1967

32 years ago(define_function_unit): Correct and simplify memory unit
Tom Wood [Wed, 26 Aug 1992 20:54:09 +0000 (20:54 +0000)]
(define_function_unit): Correct and simplify memory unit
specification.

From-SVN: r1966

32 years ago(fold): Do A op C1 ? A : C2 opt only for INTEGER_TYPEs.
Richard Stallman [Wed, 26 Aug 1992 19:45:07 +0000 (19:45 +0000)]
(fold): Do A op C1 ? A : C2 opt only for INTEGER_TYPEs.

From-SVN: r1965

32 years agoMajor rework to have caller-saves emit load/store double insns when...
Jeff Law [Wed, 26 Aug 1992 19:41:20 +0000 (13:41 -0600)]
Major rework to have caller-saves emit load/store double insns when...

Major rework to have caller-saves emit load/store double insns when
possible and to avoid useless resaving of registers restored for
source accesses only.
* caller-save.c (toplevel): All arrays are multi-dimensional to
hold information for multiple save/restore insns.  New variable
hard_regs_need_restore.
(choose_hard_reg_mode): New argument `nregs' indicating how many
hard registers are desired.  All callers changed.
(init_caller_save): Change initialization to handle multiple
register saves.  A call-used register can not be live across
if we can not find a single register mode to save it in.
(multiple register saves are optional)
(init_save_areas): Change initialization of regno_save_mem to
handle multiple register saves.
(setup_save_areas): Allocate space for consecutive hard registers
in aligned consecutive memory locations.   When allocating space
for consecutive hard registers, also initialize regno_save_mem
for each hard register stored as a single word.
(save_call_clobbered_regs): Initialize hard_regs_need_restore.
Set hard_regs_need_restore to hard_regs_saved after crossing
a call.  Also recompute n_regs_saved.  At the end of a basic block
we need only restore registers in hard_regs_need_restore.
(set_reg_live, clear_reg_live): Do the right thing for
hard_regs_need_restore and hard_regs_saved.
(restore_referenced_regs): Just return if X is a clobber.
Test hard_regs_need_restore to determine when to restore a hard
register from the save area.
(insert_save_restore): Now returns the number of extra registers
saved/restored.  New argument `maxrestore' which constrains how
many hard registers should be restored.  All callers changed.
Do stores of consecutive registers with double store insns if
possible.  Else do them with single word insns. Likewise for
loads, except constrained by maxrestore.  Set hard_regs_saved
and hard_regs_need_restore appropriately to minimize useless
saves into the save area.  Test against hard_regs_need_restore
when trying to restore multiple regs and similarly test against
hard_regs_saved when storing multiple regs.

From-SVN: r1964

32 years agoFix comment.
Richard Stallman [Wed, 26 Aug 1992 18:56:07 +0000 (18:56 +0000)]
Fix comment.

From-SVN: r1963

32 years agoAdd #ifdef INSN_SCHEDULING around variables only used by schedule_insns.
Jim Wilson [Wed, 26 Aug 1992 06:49:54 +0000 (23:49 -0700)]
Add #ifdef INSN_SCHEDULING around variables only used by schedule_insns.

Add #ifdef INSN_SCHEDULING around variables only used
by schedule_insns.
(INSN_QUEUE_SIZE): Delete default definition.

From-SVN: r1962

32 years agoPartially undo Mar 7 change.
Jim Wilson [Wed, 26 Aug 1992 06:30:34 +0000 (23:30 -0700)]
Partially undo Mar 7 change.

Partially undo Mar 7 change.  Only call
emit_library_call with no_queue == 1 for const functions.

From-SVN: r1961

32 years ago(expand_expr): For BIND_EXPR, call insert_block on the block.
Richard Stallman [Wed, 26 Aug 1992 06:05:46 +0000 (06:05 +0000)]
(expand_expr): For BIND_EXPR, call insert_block on the block.

From-SVN: r1960

32 years ago(fold): Avoid the normal STRIP_NOPS on arg of NOP_EXPR.
Richard Stallman [Wed, 26 Aug 1992 06:04:35 +0000 (06:04 +0000)]
(fold): Avoid the normal STRIP_NOPS on arg of NOP_EXPR.

From-SVN: r1959

32 years ago(poplevel): Store into BLOCK iff it is non-null.
Richard Stallman [Wed, 26 Aug 1992 06:03:24 +0000 (06:03 +0000)]
(poplevel): Store into BLOCK iff it is non-null.

(current_block): New function.
(struct binding_level): New field this_block.
(poplevel): Use this_block if nonzero, rather than making new BLOCK.
(insert_block, delete_block): New functions.

From-SVN: r1958

32 years ago(float*, fix*): Rewrite to match hardware...
Jim Wilson [Wed, 26 Aug 1992 03:24:03 +0000 (20:24 -0700)]
(float*, fix*): Rewrite to match hardware...

(float*, fix*): Rewrite to match hardware; take/put
integer input/output from/to fp register instead of memory or
general register.  Delete 6 now obsolete combiner patterns.

From-SVN: r1957

32 years ago(output_floatsisf2, output_floatsidf2, output_floatsitf2): Delete declarations.
Jim Wilson [Wed, 26 Aug 1992 03:23:24 +0000 (20:23 -0700)]
(output_floatsisf2, output_floatsidf2, output_floatsitf2): Delete declarations.

From-SVN: r1956

32 years ago(SF_MODES): Allow SImode in fp registers.
Jim Wilson [Wed, 26 Aug 1992 03:22:37 +0000 (20:22 -0700)]
(SF_MODES): Allow SImode in fp registers.

(output_floatsisf2, output_floatsidf2, output_floatsitf2): Delete.

From-SVN: r1955

32 years ago(INSN_QUEUE_SIZE): Add default definition.
Richard Stallman [Tue, 25 Aug 1992 21:36:10 +0000 (21:36 +0000)]
(INSN_QUEUE_SIZE): Add default definition.

From-SVN: r1954

32 years ago(do_pragma): Warn if `#pragma implementation "foo.h"' is
Richard Stallman [Tue, 25 Aug 1992 21:25:20 +0000 (21:25 +0000)]
(do_pragma): Warn if `#pragma implementation "foo.h"' is
invoked after "foo.h" has been included.

From-SVN: r1953

32 years ago(struct attr_desc): Add unsigned_p field.
Tom Wood [Tue, 25 Aug 1992 20:26:02 +0000 (20:26 +0000)]
(struct attr_desc): Add unsigned_p field.

(struct function_unit_op): Add issue_delay, conflict_exp, and
issue_exp fields.  Drop busyexp field.
(struct function_unit): Add needs_blockage_function,
needs_range_function, issue_delay, and max_blockage fields.  Drop
costexp, and busy delay fields.
(enum operator): Add POS_MINUS_OP, EQ_OP, MIN_OP, RANGE_OP.
(operate_exp): Implement new ops.
(make_internal_attr): Set unsigned_p based on the value of SPECIAL.
(write_attr_get): Function is unsigned when unsigned_p is true.
(write_attr_valueq): Write hex value of large constants in a comment.
(simplify_by_exploding): Check for EXP having no EQ_ATTR expressions
and for all values as the default.
(find_and_mark_used_attributes): Add TERMS and NTERMS parameters.
(max_attr_value): Allow IF_THEN_ELSE.
(simplify_knowing, write_complex_function, extend_range): New
functions.
(gen_unit): Use local variables to name the fields.  Change the
meaning of busy-delay to issue-delay.
(expand_units): Compute issue_exp.  Write attributes for computing
`<name>_unit_blockage' and `<name>_unit_blockage_range' functions.
Compute max_blockage, and the needs_*_function values.
(write_function_unit_info): Write blockage function and conflict cost
functions using write_complex_function.  Write new function_unit_desc
fields.
(expand_units): Use the normalized values of the
unit's CONDEXP and BUSYEXP.

From-SVN: r1952

32 years ago(schedule_block): Add a virtual cycle counter CLOCK.
Tom Wood [Tue, 25 Aug 1992 20:23:21 +0000 (20:23 +0000)]
(schedule_block): Add a virtual cycle counter CLOCK.

Pass CLOCK to schedule_insn.
Compute the tail in the scheduling loop, not before it.
Enable the stall code that advances the insn queue.
Select the insn to schedule and block others with schedule_select.
(adjust_priority): Renamed from launch_link.
(schedule_insn): Renamed from launch_links.
(insn_queue): Use INSN_QUEUE_SIZE.

(insn_units, insn_blockage, insn_tick, unit_last_insn,
unit_tick, unit_n_insns): New variables.
(schedule_insns): Allocate and initialize insn_tick, insn_units, and
insn_blockage.
(insn_unit, blockage_range, clear_units, prepare_unit, schedule_unit,
actual_hazard_this_instance, actual_hazard, potential_hazard,
schedule_select): New functions.
(schedule_block): Add dependencies to force insns to remain in order
at the end of a block rather than relying on having the scheduler
issue them in priority order.
(insn_cost): Add LINK and USED parameters.  All callers
changed.  Supply an ADJUST_COST interface.
(insn_cost): Make a dependence from a USE insn free.
(priority): Clear the link cost adjustment bits.

From-SVN: r1951

32 years ago(extend_range, init_range): New functions.
Tom Wood [Tue, 25 Aug 1992 20:22:38 +0000 (20:22 +0000)]
(extend_range, init_range): New functions.

(write_units): Add blockage_function, blockage_range_function,
max_blockage and max_issue_delay fields to struct function_unit_desc.
Drop max_busy_cost field.  Write #defines for min/max blockage,
issue delay, multiplicity, and simultaneity and for BLOCKAGE_BITS
and INSN_QUEUE_SIZE.
(main): Compute the new values.

From-SVN: r1950

32 years ago(LINK_COST_ZERO, LINK_COST_FREE): New macros.
Tom Wood [Tue, 25 Aug 1992 20:21:53 +0000 (20:21 +0000)]
(LINK_COST_ZERO, LINK_COST_FREE): New macros.

From-SVN: r1949

32 years ago(type attribute, movdi movdf insns): Add loadd.
Tom Wood [Tue, 25 Aug 1992 20:21:20 +0000 (20:21 +0000)]
(type attribute, movdi movdf insns): Add loadd.

(unit attribute): Delete.
(function units): Correct simultaneity values.  Break out
independent units.  Add conflict matrix for the 88100 load double.

From-SVN: r1948

32 years ago(define_function_unit): Change meaning to ISSUE-DELAY.
Tom Wood [Tue, 25 Aug 1992 20:20:57 +0000 (20:20 +0000)]
(define_function_unit): Change meaning to ISSUE-DELAY.

Merge FP_MUL, FP_DIV, and FP_SQRT into one function unit.

From-SVN: r1947

32 years ago(define_function_unit): Change meaning to ISSUE-DELAY.
Tom Wood [Tue, 25 Aug 1992 20:19:49 +0000 (20:19 +0000)]
(define_function_unit): Change meaning to ISSUE-DELAY.

From-SVN: r1946

32 years agoentered into RCS
Tom Wood [Tue, 25 Aug 1992 20:13:49 +0000 (20:13 +0000)]
entered into RCS

From-SVN: r1945

32 years ago(delete_computation): Derived from delete_jump.
Tom Wood [Tue, 25 Aug 1992 19:20:27 +0000 (19:20 +0000)]
(delete_computation): Derived from delete_jump.

(delete_jump): Use delete_computation.

From-SVN: r1944

32 years ago(final_scan_insn): If 2 consec line notes have same line num, can omit one.
Richard Stallman [Tue, 25 Aug 1992 17:43:28 +0000 (17:43 +0000)]
(final_scan_insn): If 2 consec line notes have same line num, can omit one.

From-SVN: r1943

32 years agoAdd %U to give last %u name.
Michael Meissner [Tue, 25 Aug 1992 17:40:04 +0000 (17:40 +0000)]
Add %U to give last %u name.

From-SVN: r1942

32 years agoChange MIPS fp to be at top of stack, instead of bottom; Fix calling mips-tfile with...
Michael Meissner [Tue, 25 Aug 1992 17:39:37 +0000 (17:39 +0000)]
Change MIPS fp to be at top of stack, instead of bottom; Fix calling mips-tfile with wrong .o file

From-SVN: r1941

32 years ago(process_command): Don't set verbose_flag if they make a
Richard Stallman [Tue, 25 Aug 1992 03:07:57 +0000 (03:07 +0000)]
(process_command): Don't set verbose_flag if they make a
typo (e.g., `-v-E'); only when it's exactly "-v".

From-SVN: r1940

32 years ago(build_unary_op): For ADDR_EXPR, just set TREE_CONSTANT
Richard Stallman [Mon, 24 Aug 1992 22:13:54 +0000 (22:13 +0000)]
(build_unary_op): For ADDR_EXPR, just set TREE_CONSTANT
if staticp, but don't clear TREE_CONSTANT.

From-SVN: r1939

32 years ago(subst): When moving operation inside IF_THEN_ELSE, make a new rtx
Richard Kenner [Mon, 24 Aug 1992 10:48:59 +0000 (06:48 -0400)]
(subst): When moving operation inside IF_THEN_ELSE, make a new rtx
instead of using SUBST due to sharing.

(simplify_comparison): Correct test for sign extension when trying to
widen comparison.

From-SVN: r1938

32 years ago(expand_end_bindings): Generation of NOTE_INSN_BLOCK_END
Richard Stallman [Mon, 24 Aug 1992 06:11:02 +0000 (06:11 +0000)]
(expand_end_bindings):  Generation of NOTE_INSN_BLOCK_END
moved down so that it occurs after call to `expand_cleanups'.

From-SVN: r1937

32 years agoDo not define strcmp=__builtin_strcmp if not -fbuiltin/-fno-builtin
Michael Meissner [Sun, 23 Aug 1992 20:37:12 +0000 (20:37 +0000)]
Do not define strcmp=__builtin_strcmp if not -fbuiltin/-fno-builtin

From-SVN: r1936

32 years ago(__builtin_new): Cast the result of malloc.
Richard Stallman [Sun, 23 Aug 1992 07:20:15 +0000 (07:20 +0000)]
(__builtin_new): Cast the result of malloc.

From-SVN: r1935

32 years agoFix typo in prev change.
Richard Stallman [Sun, 23 Aug 1992 06:09:33 +0000 (06:09 +0000)]
Fix typo in prev change.

From-SVN: r1934

32 years ago(insn_emit_once): Provide a zero constant for CC modes.
Tom Wood [Sat, 22 Aug 1992 10:44:25 +0000 (10:44 +0000)]
(insn_emit_once): Provide a zero constant for CC modes.

From-SVN: r1933

32 years ago(expand_binop): If, e.g., mulqi3 doesn't exist, try mulqihi3.
Richard Kenner [Fri, 21 Aug 1992 23:21:30 +0000 (19:21 -0400)]
(expand_binop): If, e.g., mulqi3 doesn't exist, try mulqihi3.

From-SVN: r1932

32 years agoreorg.c (fill_simple_delay_slots): Always try to fill empty delay slots with insns...
Jeff Law [Fri, 21 Aug 1992 22:33:02 +0000 (16:33 -0600)]
reorg.c (fill_simple_delay_slots): Always try to fill empty delay slots with insns from beyond the delay insn...

* reorg.c (fill_simple_delay_slots): Always try to fill empty
delay slots with insns from beyond the delay insn, even if
optimize_skip was attempted.
(fill_simple_delay_slots): When filling with insns from after the
delay insn, make sure to always account for sets and references
in the delay insn.

From-SVN: r1931

32 years ago(print_operand): Use output_operand_error for unknown code.
Richard Stallman [Fri, 21 Aug 1992 21:46:41 +0000 (21:46 +0000)]
(print_operand): Use output_operand_error for unknown code.

From-SVN: r1930

32 years ago(build_conditional_expr):
Richard Stallman [Fri, 21 Aug 1992 20:48:11 +0000 (20:48 +0000)]
(build_conditional_expr):

Use TREE_READONLY and TREE_THIS_VOLATILE, not TYPE_...

From-SVN: r1929

32 years ago(find_dummy_reload): Restore original RTX instead of passed IN rtx.
Richard Stallman [Fri, 21 Aug 1992 17:40:27 +0000 (17:40 +0000)]
(find_dummy_reload): Restore original RTX instead of passed IN rtx.

From-SVN: r1928

32 years ago(bcopy, bzero, bcmp): Remove #if VMS code--always use inline C loops.
Richard Stallman [Fri, 21 Aug 1992 17:38:33 +0000 (17:38 +0000)]
(bcopy, bzero, bcmp): Remove #if VMS code--always use inline C loops.

From-SVN: r1927

32 years ago(subst): Move up test for too many restarts.
Richard Kenner [Fri, 21 Aug 1992 11:52:57 +0000 (07:52 -0400)]
(subst): Move up test for too many restarts.

If we restart, clear OP0_MODE since we don't know it.

From-SVN: r1926

32 years ago(FUNCTION_ARG): Don't make an EXPR_LIST if making a libcall.
Richard Kenner [Fri, 21 Aug 1992 11:52:12 +0000 (07:52 -0400)]
(FUNCTION_ARG): Don't make an EXPR_LIST if making a libcall.

From-SVN: r1925

32 years ago(CC,CFLAGS,LIBS): Add commented command
Richard Stallman [Fri, 21 Aug 1992 06:27:19 +0000 (06:27 +0000)]
(CC,CFLAGS,LIBS): Add commented command
variants for bootstrapping gcc-cpp and gcc-cc1 with VAXC.

From-SVN: r1924

32 years ago(CC,CFLAGS,LIBS): Add commented command variants for bootstrapping gcc-cpp and gcc...
Richard Stallman [Fri, 21 Aug 1992 06:26:49 +0000 (06:26 +0000)]
(CC,CFLAGS,LIBS): Add commented command variants for bootstrapping gcc-cpp and gcc-cc1 with VAXC.

(CC,CFLAGS,LIBS): Add commented command
variants for bootstrapping gcc-cpp and gcc-cc1 with VAXC.
(alloca): Build alloca.obj from alloca.c if LIBS needs it.

From-SVN: r1923

32 years ago(emit_insns_after): New function.
Richard Stallman [Fri, 21 Aug 1992 06:12:24 +0000 (06:12 +0000)]
(emit_insns_after): New function.

From-SVN: r1922

32 years ago(parser_build_binary_op): Replace the assignment of CLASS.
Richard Stallman [Fri, 21 Aug 1992 06:05:17 +0000 (06:05 +0000)]
(parser_build_binary_op): Replace the assignment of CLASS.

For Z<Y<Z warning, test class of CODE; don't use TREE_CODE (result).

From-SVN: r1921

32 years agopa.md (call_value+1): For non-dynamic calls...
Jeff Law [Fri, 21 Aug 1992 05:57:31 +0000 (23:57 -0600)]
pa.md (call_value+1): For non-dynamic calls...

* pa.md (call_value+1): For non-dynamic calls, use the "call"
attribute, set length to 1, and fix output template to work
properly with delay slots.

* pa.md (address and use_call_clobbered attributes): Deleted,
these attributes are useless.  All references deleted.
(call define delay): Use "in_branch_delay" as the condition since
"call" delay slots and unconditional "branch" delay slots allow the
same type of insns.
(in_call_delay conditional): Deleted.
(branch define delay): Do not define an annul-if-true delay slot.
It is useless for an unconditional branch.
(all delay branch conditionals): Make sure "call", "dyncall", "multi",
and "milli" insns are explicitly disallowed in delay slots.

From-SVN: r1920

32 years agopa.c (output_mul_insn): Delete nop after branch in template...
Jeff Law [Fri, 21 Aug 1992 05:52:28 +0000 (23:52 -0600)]
pa.c (output_mul_insn): Delete nop after branch in template...

* pa.c (output_mul_insn): Delete nop after branch in template,
conditionally emit a nop if the delay slot was not filled. (via %#)

* pa.c (output_function_prologue): Handle profiling in a function
without a frame pointer.

From-SVN: r1919

32 years ago(__INT_VARARGS_H): Define this to avoid trouble on DG/UX.
Tom Wood [Thu, 20 Aug 1992 23:17:53 +0000 (23:17 +0000)]
(__INT_VARARGS_H): Define this to avoid trouble on DG/UX.

From-SVN: r1918

32 years agoMove include of stdio.h before output.h.
Richard Stallman [Thu, 20 Aug 1992 20:18:38 +0000 (20:18 +0000)]
Move include of stdio.h before output.h.

From-SVN: r1917

32 years agoCompare enums (preds.
Richard Stallman [Thu, 20 Aug 1992 19:35:52 +0000 (19:35 +0000)]
Compare enums (preds.

Compare enums (preds. codes, mem_mode)
explicitly to 0 in conditionals to work-around a VAXC bug that
disallows enum as arguments to && and || operators.

From-SVN: r1916

32 years ago(decl of create_definition): Move forward declaration past the definition of struct...
Richard Stallman [Thu, 20 Aug 1992 19:34:20 +0000 (19:34 +0000)]
(decl of create_definition): Move forward declaration past the definition of struct macrodef.

(decl of create_definition): Move forward declaration
past the definition of struct macrodef.
(VMS_strncat): New function.

From-SVN: r1915

32 years ago(not_qsort): New function.
Richard Stallman [Thu, 20 Aug 1992 19:33:41 +0000 (19:33 +0000)]
(not_qsort): New function.

From-SVN: r1914

32 years agoInitial revision
Richard Stallman [Thu, 20 Aug 1992 19:33:20 +0000 (19:33 +0000)]
Initial revision

From-SVN: r1913

32 years ago(environ): Make declaration conditional.
Richard Stallman [Thu, 20 Aug 1992 19:32:37 +0000 (19:32 +0000)]
(environ): Make declaration conditional.

(main: -g debugging setup): Get rid of \ in #if condition.

From-SVN: r1912

32 years agoInitial revision
Richard Stallman [Thu, 20 Aug 1992 18:49:22 +0000 (18:49 +0000)]
Initial revision

From-SVN: r1911

32 years ago(init_expr_once): Set direct_load and direct_store if SOME hard register can be loade...
Richard Kenner [Thu, 20 Aug 1992 12:36:23 +0000 (08:36 -0400)]
(init_expr_once): Set direct_load and direct_store if SOME hard register can be loaded or stored...

(init_expr_once): Set direct_load and direct_store if SOME hard
register can be loaded or stored; not just if the first one we pick
can be.

From-SVN: r1910

32 years agoFix typo.
Richard Kenner [Thu, 20 Aug 1992 11:24:17 +0000 (07:24 -0400)]
Fix typo.

From-SVN: r1909

32 years ago({load,store}_multiple): Use MATCH_PAR_DUP instead of MATCH_PARALLEL.
Richard Kenner [Thu, 20 Aug 1992 11:22:26 +0000 (07:22 -0400)]
({load,store}_multiple): Use MATCH_PAR_DUP instead of MATCH_PARALLEL.

From-SVN: r1908

32 years ago(load_multiple): Operand 2 should be a MATCH_OPERAND.
Richard Kenner [Thu, 20 Aug 1992 11:08:00 +0000 (07:08 -0400)]
(load_multiple): Operand 2 should be a MATCH_OPERAND.

(store_multiple_{,no_}bug): Likewise.

From-SVN: r1907

32 years ago(mark_set_resources): Fix two bugs in last change.
Richard Kenner [Thu, 20 Aug 1992 10:05:53 +0000 (06:05 -0400)]
(mark_set_resources): Fix two bugs in last change.

From-SVN: r1906

32 years agoPut include of stdio.h after GCC header files (for i860-stardent-sysv4).
Richard Kenner [Thu, 20 Aug 1992 09:58:18 +0000 (05:58 -0400)]
Put include of stdio.h after GCC header files (for i860-stardent-sysv4).

From-SVN: r1905