Commit Graph

2078 Commits

Author SHA1 Message Date
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
Richard Stallman 8a6c15383e (do_pragma): Use rindex, not strrchr.
From-SVN: r1992
1992-08-29 03:47:56 +00:00
Richard Stallman c75ac904f8 (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
1992-08-29 03:21:11 +00:00
Richard Stallman 7629c93617 (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
1992-08-29 03:20:43 +00:00
Richard Stallman 6a286015a1 (poplevel): Call `remember_end_note' for each newly created BLOCK node.
From-SVN: r1989
1992-08-29 03:19:01 +00:00
Richard Stallman 5b3f0db1f5 (BLOCK_END_NOTE): Macro definition added.
(struct tree_block):  `end_note' field added.

From-SVN: r1988
1992-08-29 03:18:36 +00:00
Richard Stallman f47ee9f26e (chainon): Check for op2 being the last elt of the chain.
From-SVN: r1987
1992-08-29 03:11:59 +00:00
Richard Stallman f786509d93 (do_pragma): In prev. change, use U_CHAR *, not char *.
From-SVN: r1986
1992-08-28 17:26:23 +00:00
Tom Wood 5b17704609 (ADJUST_COST): Add definition.
From-SVN: r1985
1992-08-28 13:11:06 +00:00
James Van Artsdalen 664921b428 (movstrsi): Rewrite to handle operands correctly.
From-SVN: r1984
1992-08-28 06:24:41 +00:00
James Van Artsdalen 1bbddf1116 (expand_builtin): Add sin and cos as built-in functions.c
From-SVN: r1983
1992-08-28 01:49:35 +00:00
James Van Artsdalen a199fdd675 (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
1992-08-28 01:43:02 +00:00
James Van Artsdalen 435defd182 (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
1992-08-28 01:36:16 +00:00
James Van Artsdalen 0e7d0eb9de (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
1992-08-28 01:24:42 +00:00