Commit Graph

2216 Commits

Author SHA1 Message Date
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
James Van Artsdalen
a1ee10a4f4 (BUILT_IN_SIN,BUILT_IN_COS): New builtin codes.
From-SVN: r1979
1992-08-28 01:24:04 +00:00
James Van Artsdalen
28cf078dd2 (sin_optab,cos_optab): Define optabs for sin and cos.
(init_optabs): Initialize them.

From-SVN: r1978
1992-08-28 01:22:53 +00:00
James Van Artsdalen
d70326a5e8 (sin_optab,cos_optab): Declare optabs for sin and cos.
From-SVN: r1977
1992-08-28 01:22:01 +00:00
James Van Artsdalen
96a1b3afd4 (init_decl_processing): Add sin and cos as built-in functions.
From-SVN: r1976
1992-08-28 01:20:34 +00:00
Richard Stallman
1ba1e2a808 (emit_block_move): When trying movstrMM, cvt size to mode MM.
From-SVN: r1975
1992-08-27 22:54:40 +00:00
Michael Meissner
0e9414fd5c Allocate enough space for attr_printf; Use obstack_alloc instead of xmalloc.
From-SVN: r1974
1992-08-27 20:56:29 +00:00
Richard Stallman
8696da340c (readescape): For \x, don't include leading 0's in count.
From-SVN: r1973
1992-08-27 05:55:33 +00:00
Richard Stallman
e64bddee63 (check_format): DEL isn't printable.
From-SVN: r1972
1992-08-27 05:48:11 +00:00
Richard Stallman
7e6b19dcb1 (readescape): DEL isn't printable.
From-SVN: r1971
1992-08-27 05:45:47 +00:00
Richard Stallman
5fe5c2100b (init_decl_processing): Fix type of __builtin_constant_p.
From-SVN: r1970
1992-08-27 03:26:06 +00:00
Tom Wood
464b453d44 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
1992-08-26 22:19:37 +00:00
Michael Meissner
4d032a67aa Pass -shared/-non_shared to MIPS 3.0 linker if passed.
From-SVN: r1968
1992-08-26 21:21:55 +00:00