Commit Graph

8675 Commits

Author SHA1 Message Date
Jeff Law
22d46b2ef8 Initial revision
From-SVN: r8700
1994-12-28 20:05:41 -07:00
Jim Wilson
a67f7692ff (truncdiqi2+[123]): Add patterns to optimize DImode to
SImode truncation.

From-SVN: r8699
1994-12-28 18:46:10 -08:00
Jim Wilson
8c2977e27d (fill_simple_delay_slots): For the epilogue case...
(fill_simple_delay_slots): For the epilogue case, set needed
to include frame pointer and stack pointer, don't include all of
end_of_function_needs.	Reject insn if it sets a previously set
resource.

From-SVN: r8698
1994-12-28 18:39:10 -08:00
Jim Wilson
40d2032bdf (sh_expand_prologue): Clear extra_push at start.
(sh_expand_prologue): Clear extra_push at start.  Clear
current_function_anonymous_args if set.  Clear shiftsyms array.
(sh_expand_epilogue): Don't clear extra_push,
current_function_pretend_args_size, current_function_anonymous_args,
and shiftsyms array.

From-SVN: r8697
1994-12-28 18:31:51 -08:00
Jim Wilson
369c7ab612 (find_equiv_reg): Exclude registers clobbered in the
CALL_INSN_FUNCTION_USAGE field of a CALL_INSN.

From-SVN: r8696
1994-12-28 18:17:58 -08:00
Ian Lance Taylor
581d4b9d55 Correct typos.
From-SVN: r8695
1994-12-28 05:07:33 +00:00
Mike Stump
4e44807bc4 stmt.c (expand_cleanups): Add third parameter so that we can avoid marking a cleanup region if...
* stmt.c (expand_cleanups): Add third parameter so that we can
	avoid marking a cleanup region if this cleanup is part of a fixup
	style goto.
	(expand_goto_internal): Pass a 1 to expand_cleanups.
	(bc_expand_goto_internal): Ditto.
	(fixup_gotos): Ditto.
	(expand_end_bindings): Pass a 0 to expand_cleanups.

From-SVN: r8694
1994-12-28 00:22:13 +00:00
Jeff Law
808cfea199 * pa.c (output_movb): Fix ttypo.
From-SVN: r8693
1994-12-27 13:45:51 -07:00
Ian Lance Taylor
bd657ba5ce Use REAL_VALUE_TO_TARGET_{DOUBLE,SINGLE} to print float values
From-SVN: r8692
1994-12-27 20:11:06 +00:00
Richard Kenner
fb2f482870 (convert_to_pointer): Eliminate ref to null_pointer_node.
From-SVN: r8691
1994-12-25 07:22:24 -05:00
Ian Lance Taylor
66de8a65bf Handle recursive <limits.h>
From-SVN: r8690
1994-12-22 17:50:42 +00:00
Ian Lance Taylor
40dc28fcab On a NeXT, <limits.h> is sometimes not in /usr/include, so look elsewhere
From-SVN: r8689
1994-12-22 17:16:22 +00:00
Richard Kenner
ad6c5fa997 (__va_rounded_size): Delete.
(__va_round): Args have at least PARM_BOUNDARY (=32) alignment.

From-SVN: r8688
1994-12-21 15:56:01 -05:00
Richard Kenner
941df33c8c (TRAMPOLINE_TEMPLATE): Specify some code as explicit hex words.
Shorten template.
(TRAMPOLINE_SIZE,INITIALIZE_TRAMPOLINE): Update accordingly.
(FUNCTION_ARG,FUNCTION_ARG_ADVANCE): Aggregates are ALWAYS passed
on the stack.

From-SVN: r8687
1994-12-21 15:55:21 -05:00
Richard Kenner
67591ff34b (sun4:SunOS:*:*): Handle Solbourne OS/MP systems.
From-SVN: r8686
1994-12-21 15:51:03 -05:00
Richard Kenner
0e73100c7e (sqrtsf2, sinsf2, sindf2, sinxf2): Define.
(cossf2, cosdf2, cosxf2): Likewise.
(sqrtxf2): Operand 1 now XFmode.

From-SVN: r8685
1994-12-21 15:36:31 -05:00
Richard Kenner
54dad0c260 (adddi3, subdi3): New patterns.
From-SVN: r8684
1994-12-21 14:39:36 -05:00
Richard Kenner
781e6f7668 (mulhisi3): Add truncate to mulhisi3 to fix bug and change from define_insn to...
(mulhisi3): Add truncate to mulhisi3 to fix bug and change from
define_insn to define_expand to survive register presssure.

From-SVN: r8683
1994-12-21 13:56:02 -05:00
Richard Kenner
76ebc969d3 (expand_asm_operands): Make sure input operands are valid constants if
they are constants.

From-SVN: r8682
1994-12-21 13:45:42 -05:00
Richard Kenner
aa10adffde (expand_call): Only inline if DECL_INLINE; don't call
function_cannot_inline_p here.

From-SVN: r8681
1994-12-21 13:29:35 -05:00
Richard Kenner
b8471b656d (rest_of_compilation): Adjust tests for when to inline and when to
defer.

From-SVN: r8680
1994-12-21 13:29:03 -05:00
Richard Kenner
b6ec8c5f75 (expand_expr_stmt): If want values for statements, convert function to
address-of-function.

From-SVN: r8679
1994-12-21 12:50:57 -05:00
Ian Lance Taylor
e24b00c81a Always copy flags to new MEM in simplify_shift_const.
From-SVN: r8678
1994-12-21 05:00:26 +00:00
Ian Lance Taylor
bcc5d5d23c Add comment about last change, in accordance with copyright.
From-SVN: r8677
1994-12-21 00:52:24 +00:00
Mike Stump
5edb8b93cb 51st Cygnus<->FSF merge
From-SVN: r8676
1994-12-20 22:14:37 +00:00
Richard Kenner
bd8b57b05a (LINK_SPEC): Add case for -shared, just like in rs6000.h.
From-SVN: r8675
1994-12-20 14:15:45 -05:00
Michael Meissner
f70f60db2c Build libgcc.a
From-SVN: r8674
1994-12-20 14:31:20 +00:00
Michael Meissner
e29b094c19 Support SYSV pragmas
From-SVN: r8673
1994-12-20 14:15:42 +00:00
Jim Wilson
ca89aaa53e (CLIB): Add -L/usr/lib/cmplrs/cc3.11.
From-SVN: r8672
1994-12-19 17:58:17 -08:00
Jim Wilson
a85294b3d2 (HAVE_VPRINTF): Delete.
From-SVN: r8671
1994-12-19 17:54:56 -08:00
Jim Wilson
935149165b (mark_set_1): For multi-reg hard register, clear all
reg_next_use entries.

From-SVN: r8670
1994-12-19 17:53:11 -08:00
Doug Evans
bff3fc417e (stmp-multilib): Check recursive make's return code.
(.PHONY): Tell GNU make the various LANGUAGES are phony targets.

From-SVN: r8669
1994-12-19 22:49:45 +00:00
Ian Lance Taylor
28ae04f1a4 Don't print CONST_DOUBLE as floating point if not MODE_FLOAT
From-SVN: r8668
1994-12-19 22:08:55 +00:00
Jim Wilson
c211b99198 (fpadd_parts): Adding infinities with opposite signs yields a NaN.
From-SVN: r8667
1994-12-19 12:48:30 -08:00
Jim Wilson
667a4593fc (invariant_p): Reject const volatile references.
From-SVN: r8666
1994-12-19 12:27:20 -08:00
Jeff Law
3ab7aa1238 * pa.md (pic2_highpart): Accept readonly operands.
From-SVN: r8665
1994-12-18 19:54:42 -07:00
Jim Wilson
a8cdcc1f43 (macarg1): Count newline at end of C++ comment.
From-SVN: r8664
1994-12-18 13:35:07 -08:00
Jim Wilson
6589083a69 (CPP_PREDEFINES): Change _MIPSEB to _MIPSEL.
From-SVN: r8663
1994-12-18 13:28:40 -08:00
Richard Kenner
6aad19252d (layout_decl): Allow DECL_BIT_FIELD for any type.
From-SVN: r8662
1994-12-18 06:54:29 -05:00
Jeff Law
5bff1750e9 pa.h (readonly_section): During PIC code generation, put readonly data into the standard data section.
* pa.h (readonly_section): During PIC code generation, put
	readonly data into the standard data section.

	* pa.c (pic_label_operand): Disallow SYMBOL_REFs (constant data).

From-SVN: r8661
1994-12-17 01:43:03 -07:00
Jim Wilson
1c688cd786 (ashiftrt_r4_1): Delete useless or instruction.
Add nop to rts delay slot.

From-SVN: r8660
1994-12-16 17:13:41 -08:00
Jim Wilson
2dc172e888 (DBX_BLOCKS_FUNCTION_RELATIVE, DBX_FUNCTION_FIRST,
DBX_OUTPUT_MAIN_SOURCE_FILE_END): Define.
(ASM_OUTPUT_SOURCE_LINE): Modify it to output function relative stabs.

From-SVN: r8659
1994-12-16 15:30:11 -08:00
Richard Kenner
e2cce0cf90 (distribute_notes): When output an insn to hold a REG_DEAD note,
update basic_block_head if necessary.

From-SVN: r8658
1994-12-16 06:44:16 -05:00
Mike Stump
6060a79633 50th Cygnus<->FSF merge
From-SVN: r8657
1994-12-16 02:07:31 +00:00
Jeff Law
27efbf21c8 pa.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Don't emit a ".text" pseudo-op...
* pa.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Don't emit a ".text"
	pseudo-op, we already make sure we're in the right space/subspace.

From-SVN: r8656
1994-12-15 13:24:05 -07:00
Richard Kenner
cd11b87e6a (store_constructor): Properly get constant part of bit position when
DECL_FIELD_BITPOS is a PLUS_EXPR.

From-SVN: r8655
1994-12-15 07:49:16 -05:00
Richard Kenner
1b604ae412 (get_inner_reference): Use EXACT_DIV_EXPR to compute byte offset from
bit offset.

From-SVN: r8654
1994-12-14 19:01:13 -05:00
Ian Lance Taylor
a1eb0286ad Fix non-const atof parameter on NEWS-OS 4.2R
From-SVN: r8653
1994-12-14 16:42:18 +00:00
Doug Evans
f280b11440 (handle_pragma): Only print warning once.
From-SVN: r8652
1994-12-13 23:40:41 +00:00
Richard Kenner
b43fc29608 (IMMEDIATE_PREFIX): Really define.
From-SVN: r8651
1994-12-13 18:22:14 -05:00