gcc.git
32 years ago(hard_regno_mode_ok): Don't abort if unknown mode,
Torbjorn Granlund [Sun, 6 Sep 1992 21:23:36 +0000 (21:23 +0000)]
(hard_regno_mode_ok): Don't abort if unknown mode,

return 0 instead.  Declare argument MODE as `enum machine_mode'.

From-SVN: r2062

32 years ago(HARD_REGNO_MODE_OK): Allow BLKmode.
Torbjorn Granlund [Sun, 6 Sep 1992 21:10:16 +0000 (21:10 +0000)]
(HARD_REGNO_MODE_OK): Allow BLKmode.

From-SVN: r2061

32 years ago(cmpstrsi): Rewrite expander to handle operands correctly.
James Van Artsdalen [Sun, 6 Sep 1992 10:36:53 +0000 (10:36 +0000)]
(cmpstrsi): Rewrite expander to handle operands correctly.

From-SVN: r2060

32 years ago(try_combine): Make change missing from last modification to splitting
Richard Kenner [Sun, 6 Sep 1992 02:55:22 +0000 (22:55 -0400)]
(try_combine): Make change missing from last modification to splitting
code.

From-SVN: r2059

32 years ago(before functions): Remove xmalloc decl.
Torbjorn Granlund [Sat, 5 Sep 1992 22:51:40 +0000 (22:51 +0000)]
(before functions): Remove xmalloc decl.

(arm_asm_output_label): Cast value from xmalloc.

From-SVN: r2058

32 years ago(storehi): Use match_operand for operand 0.
Torbjorn Granlund [Sat, 5 Sep 1992 20:36:46 +0000 (20:36 +0000)]
(storehi): Use match_operand for operand 0.

Use gen_lowpart to change mode of operand 0.
(storeinthi): Use match_operand for operand 0.
Change output code to reassign operand 0.
(truncsihi2, truncsiqi2, trunchiqi2): Remove these patterns.

From-SVN: r2057

32 years ago(ASM_OUTPUT_OPCODE): Defined.
Richard Stallman [Sat, 5 Sep 1992 06:40:27 +0000 (06:40 +0000)]
(ASM_OUTPUT_OPCODE): Defined.

From-SVN: r2056

32 years ago(mulsi3_big): Use low half of result.
Richard Stallman [Sat, 5 Sep 1992 03:22:36 +0000 (03:22 +0000)]
(mulsi3_big): Use low half of result.

Use offset 1 in subregs in actual fmlow insn.
(fmlow pattern): Split this into alternatives for big and little end.

From-SVN: r2055

32 years agoComment change for meaning of TREE_CONSTANT_OVERFLOW.
Richard Stallman [Sat, 5 Sep 1992 02:03:04 +0000 (02:03 +0000)]
Comment change for meaning of TREE_CONSTANT_OVERFLOW.

From-SVN: r2054

32 years ago(left_shift_overflows, same_sign, overflow_sum_sign): New macros.
Richard Stallman [Sat, 5 Sep 1992 02:02:17 +0000 (02:02 +0000)]
(left_shift_overflows, same_sign, overflow_sum_sign): New macros.

(add_double, div_and_round_double, lshift_double, mul_double):
(neg_double, const_binop, fold): Check for signed integer overflow.
Propagate overflow flags from operands to result.
(const_binop, fold_convert): Use pedwarn for overflow warnings.
Say `constant expression', not `constant folding', for user's sake.

From-SVN: r2053

32 years ago(constant_expression_warning): Check INTEGER_CST for TREE_CONSTANT_OVERFLOW.
Richard Stallman [Sat, 5 Sep 1992 02:01:30 +0000 (02:01 +0000)]
(constant_expression_warning): Check INTEGER_CST for TREE_CONSTANT_OVERFLOW.

From-SVN: r2052

32 years ago(output_move_double): Use %R to store at auto-incr/decr addr.
Torbjorn Granlund [Fri, 4 Sep 1992 21:27:17 +0000 (21:27 +0000)]
(output_move_double): Use %R to store at auto-incr/decr addr.

(output_move_double): Use %R to store at auto-incr/decr
addr.  Split incr and decr cases for store.

From-SVN: r2051

32 years ago(install): Add semicolon to make an empty command.
Richard Stallman [Fri, 4 Sep 1992 04:40:25 +0000 (04:40 +0000)]
(install): Add semicolon to make an empty command.

(SYSTEM_HEADER_DIR): New variable.
(xlimits.h): New target, broken out from install-limits-h.
Look in SYSTEM_HEADER_DIR for system's limits.h.
(start.encap): Dep on xlimits.h.
(install-limits-h): Install xlimits.h already made.

From-SVN: r2050

32 years ago(setup_save_areas): Don't look at WORDS_BIG_ENDIAN.
Richard Stallman [Thu, 3 Sep 1992 23:25:40 +0000 (23:25 +0000)]
(setup_save_areas): Don't look at WORDS_BIG_ENDIAN.

From-SVN: r2049

32 years ago(IDENTIFIER_LIMBO_VALUE): New macro.
Richard Stallman [Thu, 3 Sep 1992 22:13:44 +0000 (22:13 +0000)]
(IDENTIFIER_LIMBO_VALUE): New macro.

(struct lang_identifier): New field limbo_value.

From-SVN: r2048

32 years agoproperly close comment.
Michael Meissner [Thu, 3 Sep 1992 18:28:12 +0000 (18:28 +0000)]
properly close comment.

From-SVN: r2047

32 years agoIf we find a link pointing to ., make a similar link to ., not a link to an absolute...
Richard Stallman [Thu, 3 Sep 1992 08:55:41 +0000 (08:55 +0000)]
If we find a link pointing to ., make a similar link to ., not a link to an absolute name.

If we find a link pointing to ., make a similar
link to ., not a link to an absolute name.
(stdio.h): Change stdio.h to use stdarg.h to get va_list.

When link points to a dir $dirname outside $INPUT,
copy that dir into $LIB/root$dirname.  Translate the link itself
into a link to that new dir.  Make a file DONE in each treetop dir
so no treetop is scanned twice.  Improve progress messages.

From-SVN: r2046

32 years ago(process_command): Correct for spaz by patch, installing last change.
Richard Stallman [Thu, 3 Sep 1992 08:40:32 +0000 (08:40 +0000)]
(process_command): Correct for spaz by patch, installing last change.

From-SVN: r2045

32 years ago(SYSTEM_HEADER_DIR): Overridden.
Richard Stallman [Thu, 3 Sep 1992 07:23:31 +0000 (07:23 +0000)]
(SYSTEM_HEADER_DIR): Overridden.

From-SVN: r2044

32 years ago(main): Use new loop var J to avoid conflict with I.
Richard Stallman [Thu, 3 Sep 1992 07:15:21 +0000 (07:15 +0000)]
(main): Use new loop var J to avoid conflict with I.

From-SVN: r2043

32 years ago(insert_save_restore): Correct test for
Richard Stallman [Thu, 3 Sep 1992 07:13:23 +0000 (07:13 +0000)]
(insert_save_restore): Correct test for
determining whether multiple registers can be saved.

From-SVN: r2042

32 years agoComment syntax fix.
Richard Stallman [Thu, 3 Sep 1992 06:47:05 +0000 (06:47 +0000)]
Comment syntax fix.

From-SVN: r2041

32 years ago(casesi): Use match_dup for second mention of operand 4.
Torbjorn Granlund [Thu, 3 Sep 1992 05:49:58 +0000 (05:49 +0000)]
(casesi): Use match_dup for second mention of operand 4.

From-SVN: r2040

32 years ago(default_compilers): Add missing comma between strings, so that traditional compilers...
Richard Stallman [Wed, 2 Sep 1992 23:19:20 +0000 (23:19 +0000)]
(default_compilers): Add missing comma between strings, so that traditional compilers can compile gcc.c.

(default_compilers): Add missing comma between strings, so
that traditional compilers can compile gcc.c.
(main): Don't pass strcpy or strlen a NULL pointer if some of the
spec strings in default_compilers are NULL.
(validate_all_switches): Don't dereference a NULL pointer if some of
the spec strings in defalut_compilers are NULL.

From-SVN: r2039

32 years agocaller-save.c (init_caller_save): If we were unable to find a simple insn which meets...
Jeff Law [Wed, 2 Sep 1992 23:08:44 +0000 (17:08 -0600)]
caller-save.c (init_caller_save): If we were unable to find a simple insn which meets all its constraints to save...

* caller-save.c (init_caller_save): If we were unable to
find a simple insn which meets all its constraints to save
and restore with a single insn in a mode, then set
regno_save_mode to VOIDmode to insure that this mode is never
used to caller-save the current register.

From-SVN: r2038

32 years ago(find_reloads): If have any earlyclobbers, don't let any reloads overlap with them.
Richard Stallman [Wed, 2 Sep 1992 21:21:19 +0000 (21:21 +0000)]
(find_reloads): If have any earlyclobbers, don't let any reloads overlap with them.

(find_reloads): If have any earlyclobbers, don't let any
reloads overlap with them.  Make everything RELOAD_OTHER.

From-SVN: r2037

32 years ago(default_compilers, ".C" and ".ii"): Pass `+e*' into cc1plus.
Brendan Kehoe [Wed, 2 Sep 1992 20:10:54 +0000 (16:10 -0400)]
(default_compilers, ".C" and ".ii"): Pass `+e*' into cc1plus.

(process_command): Allow +e[012] to be passed down into cc1plus.

From-SVN: r2036

32 years ago(SImode ldd peepholes): Add `f' to constraints.
Jim Wilson [Wed, 2 Sep 1992 18:25:15 +0000 (11:25 -0700)]
(SImode ldd peepholes): Add `f' to constraints.

From-SVN: r2035

32 years ago(handle_pragma_token): Delete.
Jim Wilson [Wed, 2 Sep 1992 17:45:35 +0000 (10:45 -0700)]
(handle_pragma_token): Delete.

From-SVN: r2034

32 years ago(HANDLE_PRAGMA): Delete.
Jim Wilson [Wed, 2 Sep 1992 17:45:11 +0000 (10:45 -0700)]
(HANDLE_PRAGMA): Delete.

From-SVN: r2033

32 years agoDrop \v in last change.
Tom Wood [Wed, 2 Sep 1992 16:38:37 +0000 (16:38 +0000)]
Drop \v in last change.

From-SVN: r2032

32 years agoChange the location of the Sun bundled C compiler (for backup defaults).
Jim Wilson [Wed, 2 Sep 1992 16:34:08 +0000 (09:34 -0700)]
Change the location of the Sun bundled C compiler (for backup defaults).

From-SVN: r2031

32 years ago(MOVE_MAX): Express in bytes not bits.
Tom Wood [Wed, 2 Sep 1992 16:10:04 +0000 (16:10 +0000)]
(MOVE_MAX): Express in bytes not bits.

From-SVN: r2030

32 years ago(output_ascii): Output known escape characters and don't
Tom Wood [Wed, 2 Sep 1992 16:09:16 +0000 (16:09 +0000)]
(output_ascii): Output known escape characters and don't
terminate the constant if an octal escape is used.

From-SVN: r2029

32 years ago(make_compound_operation...
Richard Kenner [Wed, 2 Sep 1992 10:37:38 +0000 (06:37 -0400)]
(make_compound_operation...

(make_compound_operation, case ASHIFTRT): Add new code to
handle (ashiftrt (neg (ashift FOO C1) C2)) just like we currently
handle (ashiftrt (OP (ashiftrt FOO C1) C2) C2).

From-SVN: r2028

32 years ago(print_node): Avoid 1 << (HOST_BITS_PER_INT - 1),
Richard Stallman [Wed, 2 Sep 1992 06:59:00 +0000 (06:59 +0000)]
(print_node): Avoid 1 << (HOST_BITS_PER_INT - 1),

which overflows.  Use unsigned % to compute HASH.

From-SVN: r2027

32 years agoInitial revision
Richard Stallman [Wed, 2 Sep 1992 06:19:04 +0000 (06:19 +0000)]
Initial revision

From-SVN: r2026

32 years ago(X_CFLAGS): Deleted.
Richard Stallman [Wed, 2 Sep 1992 06:18:15 +0000 (06:18 +0000)]
(X_CFLAGS): Deleted.

From-SVN: r2025

32 years ago(lang_options): Add terminating zero.
Richard Stallman [Wed, 2 Sep 1992 05:33:36 +0000 (05:33 +0000)]
(lang_options): Add terminating zero.

From-SVN: r2024

32 years ago(process_init_constructor): Handle ranges.
Richard Stallman [Wed, 2 Sep 1992 05:32:43 +0000 (05:32 +0000)]
(process_init_constructor): Handle ranges.

From-SVN: r2023

32 years ago(gmon.o): gmon-sol2.c is in config/.
Richard Stallman [Wed, 2 Sep 1992 04:16:01 +0000 (04:16 +0000)]
(gmon.o): gmon-sol2.c is in config/.

From-SVN: r2022

32 years ago(handle_pragma_token): Only use if HANDLE_SYSV_PRAGMA isn't defined.
Richard Stallman [Wed, 2 Sep 1992 04:14:27 +0000 (04:14 +0000)]
(handle_pragma_token): Only use if HANDLE_SYSV_PRAGMA isn't defined.

From-SVN: r2021

32 years agoChanged some decls.
Richard Stallman [Wed, 2 Sep 1992 02:04:32 +0000 (02:04 +0000)]
Changed some decls.

From-SVN: r2020

32 years agoChanged the format of various sections to conform with GNU standard.
Richard Stallman [Wed, 2 Sep 1992 01:59:40 +0000 (01:59 +0000)]
Changed the format of various sections to conform with GNU standard.

Deleted dependencies on some header files.
Replaced the use of the functions from memory.h with funtions like bzero.
Changed the include format.

From-SVN: r2019

32 years ago(CPP_SPEC, TARGET_SWITCHES): new flags: -mnosnake,
Timothy Moore [Tue, 1 Sep 1992 21:27:47 +0000 (21:27 +0000)]
(CPP_SPEC, TARGET_SWITCHES): new flags: -mnosnake,

        -mpa-risc-1-0, -mpa-risc-1-1.
        (ASM_DECLARE_FUNCTION_NAME): Emit argument descriptors for all
        general registers if current_function_varargs.

From-SVN: r2018

32 years ago(current_block): Decl deleted.
Richard Stallman [Tue, 1 Sep 1992 20:32:43 +0000 (20:32 +0000)]
(current_block):  Decl deleted.

(set_block):  Declared.

From-SVN: r2017

32 years ago(emit_insns_after): Update last_insn if nec.
Richard Stallman [Tue, 1 Sep 1992 20:31:58 +0000 (20:31 +0000)]
(emit_insns_after): Update last_insn if nec.

From-SVN: r2016

32 years ago(current_block): Function deleted.
Richard Stallman [Tue, 1 Sep 1992 20:30:57 +0000 (20:30 +0000)]
(current_block):  Function deleted.

(set_block):  New function.
(poplevel): If using a previously created block,
don't insert it into the parent level.

From-SVN: r2015

32 years ago(expand_fixup): Create a BLOCK node (via pushlevel/poplevel) to represent an...
Richard Stallman [Tue, 1 Sep 1992 20:29:40 +0000 (20:29 +0000)]
(expand_fixup): Create a BLOCK node (via pushlevel/poplevel) to represent an...

(expand_fixup):  Create a BLOCK node (via pushlevel/poplevel)
to represent an artificial scope containing all of the fixup code.
Also emit NOTE_INSN_BLOCK_BEG/NOTE_INSN_BLOCK_END for that block.
(fixup_gotos):  Declaration of NEWBLOCK deleted.
Call `set_block' to use the BLOCK made in expand_fixup.
Deleted code to insert NEWBLOCK into block hierarchy.

From-SVN: r2014

32 years ago(output_move_double): Use `ldo' for immediate adds (instead of `addi' with bad syntax).
Torbjorn Granlund [Tue, 1 Sep 1992 15:38:03 +0000 (15:38 +0000)]
(output_move_double): Use `ldo' for immediate adds (instead of `addi' with bad syntax).

(output_move_double): Use `ldo' for immediate adds (instead of
`addi' with bad syntax).
(output_load_address): Likewise.

From-SVN: r2013

32 years agoComment fixes.
Richard Stallman [Tue, 1 Sep 1992 06:21:12 +0000 (06:21 +0000)]
Comment fixes.

From-SVN: r2012

32 years ago(make_node): Fix typo in July 6 change:
Richard Stallman [Tue, 1 Sep 1992 06:19:13 +0000 (06:19 +0000)]
(make_node): Fix typo in July 6 change:

assignment of DECL_IN_SYSTEM_HEADER was inserted in bad place.

From-SVN: r2011

32 years ago(sched_analyze_2): Remove an explicit dependence between an insn that uses CC0 and...
Jim Wilson [Tue, 1 Sep 1992 01:26:25 +0000 (18:26 -0700)]
(sched_analyze_2): Remove an explicit dependence between an insn that uses CC0 and the immediately previous insn.

(sched_analyze_2): Remove an explicit dependence between an insn
that uses CC0 and the immediately previous insn.
(SCHED_GROUP_P represents the dependence.)
(schedule_block): Only check sets_cc0_p on an insn.

From-SVN: r2010

32 years ago(c_decode_option): -fnotraditional really undoes -ftraditional.
Richard Stallman [Mon, 31 Aug 1992 21:29:49 +0000 (21:29 +0000)]
(c_decode_option): -fnotraditional really undoes -ftraditional.

(c_decode_option): -fnotraditional really undoes
-ftraditional.  Handle -fno-traditional also.

From-SVN: r2009

32 years agominor documentation changes.
Dennis Glatting [Mon, 31 Aug 1992 21:15:02 +0000 (14:15 -0700)]
minor documentation changes.

From-SVN: r2008

32 years agominor documentation changes.
Dennis Glatting [Mon, 31 Aug 1992 21:09:15 +0000 (14:09 -0700)]
minor documentation changes.

From-SVN: r2007

32 years agominor documentation adjustments.
Dennis Glatting [Mon, 31 Aug 1992 20:47:29 +0000 (13:47 -0700)]
minor documentation adjustments.

From-SVN: r2006

32 years ago(struct compiler): spec field is now array of 4 elements.
Richard Stallman [Mon, 31 Aug 1992 20:00:19 +0000 (20:00 +0000)]
(struct compiler): spec field is now array of 4 elements.

(read_specs): Clear the entire new element of compilers.
(lookup_compiler): Copy all of spec array.  Check element 0 for @.
(main): Concatenate all elements of compiler spec.
(validate_all_switches): Validate from all elements of compiler spec.
(default_compilers): Split CPP commands into separate strings.

From-SVN: r2005

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