Richard Kenner [Sat, 14 Jan 1995 01:28:25 +0000 (20:28 -0500)]
(use_movqi, const_method): New functions.
(const_int_cost, output_move_const_into_data_reg): Likewise.
(singlemove_string): Call output_move_const_into_data_reg.
From-SVN: r8750
Richard Kenner [Sat, 14 Jan 1995 01:17:50 +0000 (20:17 -0500)]
Remove use of function prototypes.
From-SVN: r8749
Richard Kenner [Sat, 14 Jan 1995 01:15:11 +0000 (20:15 -0500)]
(unary_expr): If -pedantic, give error for &&.
From-SVN: r8748
Jason Merrill [Sat, 14 Jan 1995 01:09:01 +0000 (01:09 +0000)]
__attribute__ ((constructor))
From-SVN: r8747
Richard Kenner [Sat, 14 Jan 1995 00:37:56 +0000 (19:37 -0500)]
(execute): Don't wait for just any N subprocesses...
(execute): Don't wait for just any N subprocesses, since we may have
started with some subprocesses before we started executing. Wait just
for _our_ N subprocesses.
From-SVN: r8746
Richard Kenner [Sat, 14 Jan 1995 00:16:09 +0000 (19:16 -0500)]
(fold, case COND_EXPR): Properly swap args 1 and 2.
Strip nops from ARG2, just like ARG1.
Make {MIN,MAX}_EXPR properly when type of result different than args.
From-SVN: r8745
Richard Kenner [Fri, 13 Jan 1995 23:43:36 +0000 (18:43 -0500)]
(optimize_bit_field): Don't remove a SUBREG that changes mode class.
From-SVN: r8744
Richard Kenner [Fri, 13 Jan 1995 23:08:07 +0000 (18:08 -0500)]
(output_epilogue): Do not reference gen_ functions for insns whose
names begin with '*'.
From-SVN: r8743
Richard Kenner [Fri, 13 Jan 1995 23:07:35 +0000 (18:07 -0500)]
(gen_insn): Ignore insns whose names begin with '*'.
From-SVN: r8742
Richard Kenner [Fri, 13 Jan 1995 22:58:41 +0000 (17:58 -0500)]
(stmp-multilib*): Pass CC and CFLAGS to recursive make.
From-SVN: r8741
Richard Kenner [Fri, 13 Jan 1995 22:54:35 +0000 (17:54 -0500)]
(ASM_FILE_START): New macro.
From-SVN: r8740
Richard Kenner [Fri, 13 Jan 1995 20:01:54 +0000 (15:01 -0500)]
(LINK_SPEC): Add missing "\".
From-SVN: r8739
Jim Wilson [Thu, 12 Jan 1995 18:36:12 +0000 (10:36 -0800)]
(LIBGCC1, CROSS_LIBGCC1): Define to empty instead of to libgcc1.null.
From-SVN: r8738
Jim Wilson [Thu, 12 Jan 1995 18:27:48 +0000 (10:27 -0800)]
(LIBGCC1, CROSS_LIBGCC1): Define to empty instead of to libgcc1.null.y
From-SVN: r8737
Steve Chamberlain [Thu, 12 Jan 1995 16:18:12 +0000 (16:18 +0000)]
*** empty log message ***
From-SVN: r8736
Steve Chamberlain [Thu, 12 Jan 1995 16:13:44 +0000 (16:13 +0000)]
*** empty log message ***
From-SVN: r8735
Richard Kenner [Thu, 12 Jan 1995 12:17:56 +0000 (07:17 -0500)]
(toe64): Use Intel bit pattern for little-endian XFmode Inf.
(e64toe): Likewise; also check the exponent field properly.
From-SVN: r8734
Jason Merrill [Thu, 12 Jan 1995 02:19:59 +0000 (02:19 +0000)]
New C++ flags.
From-SVN: r8733
Richard Kenner [Wed, 11 Jan 1995 00:16:00 +0000 (19:16 -0500)]
(REGISTER_MOVE_COST): Add LINK_OR_CTR_REGS class to expensive moves.
From-SVN: r8732
Richard Kenner [Wed, 11 Jan 1995 00:09:14 +0000 (19:09 -0500)]
(simplify_if_then_else): Fix typo: "|" should be "||".
From-SVN: r8731
Richard Kenner [Tue, 10 Jan 1995 10:49:13 +0000 (05:49 -0500)]
(fold): Avoid infinite recursion caused by last change.
From-SVN: r8730
Jeff Law [Mon, 9 Jan 1995 04:32:49 +0000 (21:32 -0700)]
Update copyright years.
From-SVN: r8729
Richard Kenner [Sun, 8 Jan 1995 01:46:36 +0000 (20:46 -0500)]
(flush): Change to using a MEM instead of address.
From-SVN: r8728
Richard Kenner [Sun, 8 Jan 1995 01:45:37 +0000 (20:45 -0500)]
(order_regs_for_local_alloc): Add casts to bcopy call.
(print_operand, case 'f'): New case.
(sparc_initialize_trampoline): Use gen_flush instead of knowing what pattern
looks like.
Use MEM instead of address in flush insn, so virtual reg instantiation can
update.
Ensure address in flush insn is valid.
From-SVN: r8727
Richard Kenner [Sun, 8 Jan 1995 01:43:06 +0000 (20:43 -0500)]
Fix up copyright notice.
From-SVN: r8726
Richard Kenner [Sun, 8 Jan 1995 01:41:59 +0000 (20:41 -0500)]
(dbr_schedule): Add missing casts in bzero call.
From-SVN: r8725
Richard Kenner [Sat, 7 Jan 1995 13:51:14 +0000 (08:51 -0500)]
(fold, case CONVERT_EXPR): Don't remove an integer conversion when outer is FP unless it doesn't change signedness...
(fold, case CONVERT_EXPR): Don't remove an integer conversion when
outer is FP unless it doesn't change signedness; rework code in this
area to be clearer.
From-SVN: r8724
Jeff Law [Sat, 7 Jan 1995 07:59:42 +0000 (00:59 -0700)]
pa.h (enum processor_type): New enumeration describing the processor to schedule for (700, 7100, 7100LC).
* pa.h (enum processor_type): New enumeration describing the
processor to schedule for (700, 7100, 7100LC).
(pa_cpu_attr, TARGET_OPTIONS, OVERRIDE_OPTIONS): Define.
(pa_cpu_string, pa_cpu): Provide extern decls.
* pa.c (pa_cpu, pa_cpu_string): Provide definitions.
(override_options): New function.
(pa_adjust_cost): Handle PROCESSOR_7100 and PROCESSOR_7100LC
scheduling. Handle anti-dependendy cases involving fp division
and sqrt. Handle output dependencies correctly. Break TYPE_FPMUL
into TYPE_FPMULSGL and TYPE_FPMULDBL.
* pa.md (cpu attribute): New attribute.
Clean up comments for PROCESSOR_700 scheduling info. Slightly
simplify. Make conditional on PROCESSOR_700.
Add comments and scheduling information for PROCESSOR_7100 and
PROCESSOR_7100LC. Set types for instructions which use the shifter
to "shift". Explicitly set lengths and types for all instructions.
Break type "fpmul" into "fmulsgl" and "fpmuldbl".
From-SVN: r8723
Jim Wilson [Sat, 7 Jan 1995 02:17:39 +0000 (18:17 -0800)]
(DO_GLOBAL_CTORS_BODY): Run constructors from right to
left not left to right.
From-SVN: r8722
Doug Evans [Thu, 5 Jan 1995 17:37:00 +0000 (17:37 +0000)]
(get_condition): Use CONST0_RTX instead of const0_rtx.
From-SVN: r8721
Per Bothner [Wed, 4 Jan 1995 20:57:31 +0000 (12:57 -0800)]
Update copyright notice.
From-SVN: r8720
Per Bothner [Wed, 4 Jan 1995 20:54:24 +0000 (12:54 -0800)]
Recognize BSD/OS as bsdi. Patch from Chris Torek <torek@BSDI.COM>.
From-SVN: r8719
Jeff Law [Wed, 4 Jan 1995 09:26:45 +0000 (02:26 -0700)]
pa.md (call expander): Use emit_insn_before to emit an insn to save the PIC register before a function...
* pa.md (call expander): Use emit_insn_before to emit an insn to
save the PIC register before a function call.
(call_value expander): Likewise.
From-SVN: r8718
Jim Wilson [Tue, 3 Jan 1995 20:30:52 +0000 (12:30 -0800)]
(duplicate_decls): Push to permanent obstack before
creating new function types.
From-SVN: r8717
Jim Wilson [Tue, 3 Jan 1995 20:23:25 +0000 (12:23 -0800)]
(va_arg, mips3 case): Use __PTRDIFF_TYPE__ not int in casts.
From-SVN: r8716
Ian Lance Taylor [Mon, 2 Jan 1995 14:37:42 +0000 (14:37 +0000)]
Remove special patch for <netinet/in.h>
From-SVN: r8715
Mike Stump [Fri, 30 Dec 1994 21:03:40 +0000 (21:03 +0000)]
52th Cygnus<->FSF merge
From-SVN: r8714
Richard Kenner [Fri, 30 Dec 1994 13:00:38 +0000 (08:00 -0500)]
(c-decl.o, c-typeck.o, toplev.o, varasm.o): Include output.h.
From-SVN: r8713
Richard Kenner [Fri, 30 Dec 1994 12:59:51 +0000 (07:59 -0500)]
Include output.h.
From-SVN: r8712
Richard Kenner [Fri, 30 Dec 1994 12:58:35 +0000 (07:58 -0500)]
({save_restore}_varasm_status): Add decls.
From-SVN: r8711
Richard Kenner [Fri, 30 Dec 1994 12:58:18 +0000 (07:58 -0500)]
Add decls of functions in varasm.c.
Allow to be included when rtl.h is not.
From-SVN: r8710
Richard Kenner [Fri, 30 Dec 1994 12:57:52 +0000 (07:57 -0500)]
Include output.h.
Add prototyes for all static functions; remove forward declarations of
non-static functions.
(assemble_variable): Add missing arg decl.
(bc_make_decl_rtl, const_hash, const_hash_rtx): Now static.
(output_addressed_constants, output_constructor): Likewise.
(bc_output_constructor): Add missing argument.
(output_byte_asm): Delete, unused.
From-SVN: r8709
Jeff Law [Fri, 30 Dec 1994 02:50:28 +0000 (19:50 -0700)]
calls.c (expand_call): Set MEM_IN_STRUCT_P as needed on return value from assign_stack_temp.
* calls.c (expand_call): Set MEM_IN_STRUCT_P as needed on return
value from assign_stack_temp.
(store_one_arg): Likewise.
* expr.c (save_noncopied_parts): Likewise.
(expand_expr): Likewise.
* function.c (assign_parms): Likewise.
* integrate.c (expand_inline_function): Likewise.
* stmt.c (expand_decl): Likewise.
From-SVN: r8708
Jim Wilson [Thu, 29 Dec 1994 19:17:28 +0000 (11:17 -0800)]
(simplify_unary_operation): Cast constant 1 to HOST_WIDE_INT
before shifting left to form mask.
From-SVN: r8707
Jim Wilson [Thu, 29 Dec 1994 19:16:48 +0000 (11:16 -0800)]
(print_multilib_info): Initialize last_path_len to 0.
From-SVN: r8706
Jim Wilson [Thu, 29 Dec 1994 19:16:13 +0000 (11:16 -0800)]
(output_constructor): Change type of variable value to
HOST_WIDE_INT.
From-SVN: r8705
Jim Wilson [Thu, 29 Dec 1994 19:06:04 +0000 (11:06 -0800)]
(expand_mult_highpart): Use convert_modes instead of
gen_lowpart to do conversions.
From-SVN: r8704
Mike Stump [Thu, 29 Dec 1994 18:47:54 +0000 (18:47 +0000)]
* toplev.c (lang_options): Add -frtti flag for rtti support in C++.
From-SVN: r8703
Jeff Law [Thu, 29 Dec 1994 03:06:00 +0000 (20:06 -0700)]
pa.h (DO_GLOBAL_DTORS_BODY): Define.
* config/pa/pa.h (DO_GLOBAL_DTORS_BODY): Define. Include a
reference to __gcc_plt_call so __gcc_plt_call always appears in
executables which reference __main.
From-SVN: r8702
Jeff Law [Thu, 29 Dec 1994 03:05:51 +0000 (20:05 -0700)]
* config/pa/t-pa (LIB2FUNCS_EXTRA): Define.
From-SVN: r8701
Jeff Law [Thu, 29 Dec 1994 03:05:41 +0000 (20:05 -0700)]
Initial revision
From-SVN: r8700
Jim Wilson [Thu, 29 Dec 1994 02:46:10 +0000 (18:46 -0800)]
(truncdiqi2+[123]): Add patterns to optimize DImode to
SImode truncation.
From-SVN: r8699
Jim Wilson [Thu, 29 Dec 1994 02:39:10 +0000 (18:39 -0800)]
(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
Jim Wilson [Thu, 29 Dec 1994 02:31:51 +0000 (18:31 -0800)]
(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
Jim Wilson [Thu, 29 Dec 1994 02:17:58 +0000 (18:17 -0800)]
(find_equiv_reg): Exclude registers clobbered in the
CALL_INSN_FUNCTION_USAGE field of a CALL_INSN.
From-SVN: r8696
Ian Lance Taylor [Wed, 28 Dec 1994 05:07:33 +0000 (05:07 +0000)]
Correct typos.
From-SVN: r8695
Mike Stump [Wed, 28 Dec 1994 00:22:13 +0000 (00:22 +0000)]
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
Jeff Law [Tue, 27 Dec 1994 20:45:51 +0000 (13:45 -0700)]
* pa.c (output_movb): Fix ttypo.
From-SVN: r8693
Ian Lance Taylor [Tue, 27 Dec 1994 20:11:06 +0000 (20:11 +0000)]
Use REAL_VALUE_TO_TARGET_{DOUBLE,SINGLE} to print float values
From-SVN: r8692
Richard Kenner [Sun, 25 Dec 1994 12:22:24 +0000 (07:22 -0500)]
(convert_to_pointer): Eliminate ref to null_pointer_node.
From-SVN: r8691
Ian Lance Taylor [Thu, 22 Dec 1994 17:50:42 +0000 (17:50 +0000)]
Handle recursive <limits.h>
From-SVN: r8690
Ian Lance Taylor [Thu, 22 Dec 1994 17:16:22 +0000 (17:16 +0000)]
On a NeXT, <limits.h> is sometimes not in /usr/include, so look elsewhere
From-SVN: r8689
Richard Kenner [Wed, 21 Dec 1994 20:56:01 +0000 (15:56 -0500)]
(__va_rounded_size): Delete.
(__va_round): Args have at least PARM_BOUNDARY (=32) alignment.
From-SVN: r8688
Richard Kenner [Wed, 21 Dec 1994 20:55:21 +0000 (15:55 -0500)]
(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
Richard Kenner [Wed, 21 Dec 1994 20:51:03 +0000 (15:51 -0500)]
(sun4:SunOS:*:*): Handle Solbourne OS/MP systems.
From-SVN: r8686
Richard Kenner [Wed, 21 Dec 1994 20:36:31 +0000 (15:36 -0500)]
(sqrtsf2, sinsf2, sindf2, sinxf2): Define.
(cossf2, cosdf2, cosxf2): Likewise.
(sqrtxf2): Operand 1 now XFmode.
From-SVN: r8685
Richard Kenner [Wed, 21 Dec 1994 19:39:36 +0000 (14:39 -0500)]
(adddi3, subdi3): New patterns.
From-SVN: r8684
Richard Kenner [Wed, 21 Dec 1994 18:56:02 +0000 (13:56 -0500)]
(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
Richard Kenner [Wed, 21 Dec 1994 18:45:42 +0000 (13:45 -0500)]
(expand_asm_operands): Make sure input operands are valid constants if
they are constants.
From-SVN: r8682
Richard Kenner [Wed, 21 Dec 1994 18:29:35 +0000 (13:29 -0500)]
(expand_call): Only inline if DECL_INLINE; don't call
function_cannot_inline_p here.
From-SVN: r8681
Richard Kenner [Wed, 21 Dec 1994 18:29:03 +0000 (13:29 -0500)]
(rest_of_compilation): Adjust tests for when to inline and when to
defer.
From-SVN: r8680
Richard Kenner [Wed, 21 Dec 1994 17:50:57 +0000 (12:50 -0500)]
(expand_expr_stmt): If want values for statements, convert function to
address-of-function.
From-SVN: r8679
Ian Lance Taylor [Wed, 21 Dec 1994 05:00:26 +0000 (05:00 +0000)]
Always copy flags to new MEM in simplify_shift_const.
From-SVN: r8678
Ian Lance Taylor [Wed, 21 Dec 1994 00:52:24 +0000 (00:52 +0000)]
Add comment about last change, in accordance with copyright.
From-SVN: r8677
Mike Stump [Tue, 20 Dec 1994 22:14:37 +0000 (22:14 +0000)]
51st Cygnus<->FSF merge
From-SVN: r8676
Richard Kenner [Tue, 20 Dec 1994 19:15:45 +0000 (14:15 -0500)]
(LINK_SPEC): Add case for -shared, just like in rs6000.h.
From-SVN: r8675
Michael Meissner [Tue, 20 Dec 1994 14:31:20 +0000 (14:31 +0000)]
Build libgcc.a
From-SVN: r8674
Michael Meissner [Tue, 20 Dec 1994 14:15:42 +0000 (14:15 +0000)]
Support SYSV pragmas
From-SVN: r8673
Jim Wilson [Tue, 20 Dec 1994 01:58:17 +0000 (17:58 -0800)]
(CLIB): Add -L/usr/lib/cmplrs/cc3.11.
From-SVN: r8672
Jim Wilson [Tue, 20 Dec 1994 01:54:56 +0000 (17:54 -0800)]
(HAVE_VPRINTF): Delete.
From-SVN: r8671
Jim Wilson [Tue, 20 Dec 1994 01:53:11 +0000 (17:53 -0800)]
(mark_set_1): For multi-reg hard register, clear all
reg_next_use entries.
From-SVN: r8670
Doug Evans [Mon, 19 Dec 1994 22:49:45 +0000 (22:49 +0000)]
(stmp-multilib): Check recursive make's return code.
(.PHONY): Tell GNU make the various LANGUAGES are phony targets.
From-SVN: r8669
Ian Lance Taylor [Mon, 19 Dec 1994 22:08:55 +0000 (22:08 +0000)]
Don't print CONST_DOUBLE as floating point if not MODE_FLOAT
From-SVN: r8668
Jim Wilson [Mon, 19 Dec 1994 20:48:30 +0000 (12:48 -0800)]
(fpadd_parts): Adding infinities with opposite signs yields a NaN.
From-SVN: r8667
Jim Wilson [Mon, 19 Dec 1994 20:27:20 +0000 (12:27 -0800)]
(invariant_p): Reject const volatile references.
From-SVN: r8666
Jeff Law [Mon, 19 Dec 1994 02:54:42 +0000 (19:54 -0700)]
* pa.md (pic2_highpart): Accept readonly operands.
From-SVN: r8665
Jim Wilson [Sun, 18 Dec 1994 21:35:07 +0000 (13:35 -0800)]
(macarg1): Count newline at end of C++ comment.
From-SVN: r8664
Jim Wilson [Sun, 18 Dec 1994 21:28:40 +0000 (13:28 -0800)]
(CPP_PREDEFINES): Change _MIPSEB to _MIPSEL.
From-SVN: r8663
Richard Kenner [Sun, 18 Dec 1994 11:54:29 +0000 (06:54 -0500)]
(layout_decl): Allow DECL_BIT_FIELD for any type.
From-SVN: r8662
Jeff Law [Sat, 17 Dec 1994 08:43:03 +0000 (01:43 -0700)]
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
Jim Wilson [Sat, 17 Dec 1994 01:13:41 +0000 (17:13 -0800)]
(ashiftrt_r4_1): Delete useless or instruction.
Add nop to rts delay slot.
From-SVN: r8660
Jim Wilson [Fri, 16 Dec 1994 23:30:11 +0000 (15:30 -0800)]
(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
Richard Kenner [Fri, 16 Dec 1994 11:44:16 +0000 (06:44 -0500)]
(distribute_notes): When output an insn to hold a REG_DEAD note,
update basic_block_head if necessary.
From-SVN: r8658
Mike Stump [Fri, 16 Dec 1994 02:07:31 +0000 (02:07 +0000)]
50th Cygnus<->FSF merge
From-SVN: r8657
Jeff Law [Thu, 15 Dec 1994 20:24:05 +0000 (13:24 -0700)]
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
Richard Kenner [Thu, 15 Dec 1994 12:49:16 +0000 (07:49 -0500)]
(store_constructor): Properly get constant part of bit position when
DECL_FIELD_BITPOS is a PLUS_EXPR.
From-SVN: r8655
Richard Kenner [Thu, 15 Dec 1994 00:01:13 +0000 (19:01 -0500)]
(get_inner_reference): Use EXACT_DIV_EXPR to compute byte offset from
bit offset.
From-SVN: r8654
Ian Lance Taylor [Wed, 14 Dec 1994 16:42:18 +0000 (16:42 +0000)]
Fix non-const atof parameter on NEWS-OS 4.2R
From-SVN: r8653
Doug Evans [Tue, 13 Dec 1994 23:40:41 +0000 (23:40 +0000)]
(handle_pragma): Only print warning once.
From-SVN: r8652
Richard Kenner [Tue, 13 Dec 1994 23:22:14 +0000 (18:22 -0500)]
(IMMEDIATE_PREFIX): Really define.
From-SVN: r8651