Commit Graph

2041 Commits

Author SHA1 Message Date
Richard Stallman 9233f8ce48 (insert_save_restore): Correct test for
determining whether multiple registers can be saved.

From-SVN: r2042
1992-09-03 07:13:23 +00:00
Richard Stallman 960e4c1cea Comment syntax fix.
From-SVN: r2041
1992-09-03 06:47:05 +00:00
Torbjorn Granlund 90989852ca (casesi): Use match_dup for second mention of operand 4.
From-SVN: r2040
1992-09-03 05:49:58 +00:00
Richard Stallman 20eec2c268 (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
1992-09-02 23:19:20 +00:00
Jeff Law c515799cd1 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
1992-09-02 17:08:44 -06:00
Richard Stallman c07c29b98c (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
1992-09-02 21:21:19 +00:00
Brendan Kehoe 301a5c0b57 (default_compilers, ".C" and ".ii"): Pass `+e*' into cc1plus.
(process_command): Allow +e[012] to be passed down into cc1plus.

From-SVN: r2036
1992-09-02 16:10:54 -04:00
Jim Wilson 82b5625880 (SImode ldd peepholes): Add `f' to constraints.
From-SVN: r2035
1992-09-02 11:25:15 -07:00
Jim Wilson 1e59a3f81a (handle_pragma_token): Delete.
From-SVN: r2034
1992-09-02 10:45:35 -07:00
Jim Wilson 743ff6783a (HANDLE_PRAGMA): Delete.
From-SVN: r2033
1992-09-02 10:45:11 -07:00
Tom Wood 80d0abe9ad Drop \v in last change.
From-SVN: r2032
1992-09-02 16:38:37 +00:00
Jim Wilson f36e573d24 Change the location of the Sun bundled C compiler (for backup defaults).
From-SVN: r2031
1992-09-02 09:34:08 -07:00
Tom Wood 883a42e5ad (MOVE_MAX): Express in bytes not bits.
From-SVN: r2030
1992-09-02 16:10:04 +00:00
Tom Wood ef9429af77 (output_ascii): Output known escape characters and don't
terminate the constant if an octal escape is used.

From-SVN: r2029
1992-09-02 16:09:16 +00:00
Richard Kenner d0dcc580cf (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
1992-09-02 06:37:38 -04:00
Richard Stallman 11f6a29c9f (print_node): Avoid 1 << (HOST_BITS_PER_INT - 1),
which overflows.  Use unsigned % to compute HASH.

From-SVN: r2027
1992-09-02 06:59:00 +00:00
Richard Stallman 54ca1d13e7 Initial revision
From-SVN: r2026
1992-09-02 06:19:04 +00:00
Richard Stallman 671b910797 (X_CFLAGS): Deleted.
From-SVN: r2025
1992-09-02 06:18:15 +00:00
Richard Stallman b99933c766 (lang_options): Add terminating zero.
From-SVN: r2024
1992-09-02 05:33:36 +00:00
Richard Stallman 4f77a31b9e (process_init_constructor): Handle ranges.
From-SVN: r2023
1992-09-02 05:32:43 +00:00
Richard Stallman d2e909818b (gmon.o): gmon-sol2.c is in config/.
From-SVN: r2022
1992-09-02 04:16:01 +00:00
Richard Stallman 61a43ca3ef (handle_pragma_token): Only use if HANDLE_SYSV_PRAGMA isn't defined.
From-SVN: r2021
1992-09-02 04:14:27 +00:00
Richard Stallman 6072a4f54a Changed some decls.
From-SVN: r2020
1992-09-02 02:04:32 +00:00
Richard Stallman f847fb392d 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
1992-09-02 01:59:40 +00:00
Timothy Moore 4fc473c177 (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
1992-09-01 21:27:47 +00:00
Richard Stallman 69b78d8d12 (current_block): Decl deleted.
(set_block):  Declared.

From-SVN: r2017
1992-09-01 20:32:43 +00:00
Richard Stallman c4d990db04 (emit_insns_after): Update last_insn if nec.
From-SVN: r2016
1992-09-01 20:31:58 +00:00
Richard Stallman 968e5643fc (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
1992-09-01 20:30:57 +00:00
Richard Stallman 023b57e601 (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
1992-09-01 20:29:40 +00:00
Torbjorn Granlund 498ee10c6a (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
1992-09-01 15:38:03 +00:00
Richard Stallman 663216865f Comment fixes.
From-SVN: r2012
1992-09-01 06:21:12 +00:00
Richard Stallman c7ee7249fc (make_node): Fix typo in July 6 change:
assignment of DECL_IN_SYSTEM_HEADER was inserted in bad place.

From-SVN: r2011
1992-09-01 06:19:13 +00:00
Jim Wilson 11222b61f1 (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
1992-08-31 18:26:25 -07:00
Richard Stallman 4ecc65ac4e (c_decode_option): -fnotraditional really undoes -ftraditional.
(c_decode_option): -fnotraditional really undoes
-ftraditional.  Handle -fno-traditional also.

From-SVN: r2009
1992-08-31 21:29:49 +00:00
Dennis Glatting c7d30f6625 minor documentation changes.
From-SVN: r2008
1992-08-31 14:15:02 -07:00
Dennis Glatting 893cc95830 minor documentation changes.
From-SVN: r2007
1992-08-31 14:09:15 -07:00
Dennis Glatting 4037e7bffb minor documentation adjustments.
From-SVN: r2006
1992-08-31 13:47:29 -07:00
Richard Stallman ec32609a58 (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
1992-08-31 20:00:19 +00:00
Richard Stallman 9029f44dd7 Remove version number from initial message.
From-SVN: r2004
1992-08-31 17:30:33 +00:00
Jeff Law d8ed9afb2c 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
1992-08-31 08:05:07 -06:00
Richard Stallman 812dd8a30d (const_binop): Delete special case for mult by 3.
From-SVN: r2002
1992-08-31 08:02:58 +00:00
James Van Artsdalen 8c2bf92af1 (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
1992-08-31 07:06:56 +00:00
James Van Artsdalen bbda1b9c4a (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
1992-08-31 07:04:09 +00:00
James Van Artsdalen 582329cb76 (TARGET_DEFAULT,VALUE_REGNO,FUNCTION_VALUE_REGNO): Move to unx386.h.
From-SVN: r1999
1992-08-31 07:03:32 +00:00
James Van Artsdalen a91ae5fb58 (do_pragma): In prev. change, really use U_CHAR *, not char *.
From-SVN: r1998
1992-08-31 00:24:10 +00:00
Richard Stallman ed9eaf9bb8 (create_builtin_decl): Set TREE_STATIC.
Don't set DECL_EXTERNAL or TREE_PUBLIC.

From-SVN: r1997
1992-08-30 21:05:48 +00:00
Richard Kenner d98c1e3389 (RTL_HASH, attr_rtx): Avoid warnings by casting pointers to
HOST_WIDE_INT instead of int.

From-SVN: r1996
1992-08-29 22:41:36 -04:00
Richard Kenner 4a96984737 (expand_{binop,unop}): Don't make invalid paradoxical SUBREGs.
From-SVN: r1995
1992-08-29 22:39:51 -04:00
Richard Kenner 803090c427 (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
1992-08-29 22:38:56 -04:00
James Van Artsdalen c860870600 (record_reg_life): Mark an unused reg as such, even if it appears in
SET_SRC.

From-SVN: r1993
1992-08-29 07:33:16 +00:00