Richard Kenner [Wed, 25 Jan 1995 19:27:39 +0000 (14:27 -0500)]
(check_attr_value): Change error message text.
(simplify_test_exp): Likewise.
From-SVN: r8806
Richard Kenner [Wed, 25 Jan 1995 17:53:36 +0000 (12:53 -0500)]
(DEFAULT_PCC_STRUCT_RETURN): Define as zero.
(RETURN_IN_MEMORY): Small aggregates are to be returned in d0.
From-SVN: r8805
Richard Kenner [Wed, 25 Jan 1995 17:48:25 +0000 (12:48 -0500)]
(handle_directive): Fix typo...
(handle_directive): Fix typo: '\' caused next char to be copied
blindly, which was an error if !traditional and if the next char was
newline or one of <\'"/.
From-SVN: r8804
Richard Kenner [Wed, 25 Jan 1995 13:15:26 +0000 (08:15 -0500)]
Include expr.h after insn-config.h and insn-flags.h.
From-SVN: r8803
Doug Evans [Wed, 25 Jan 1995 04:18:30 +0000 (04:18 +0000)]
(movcc_gen_code): New variable.
(init_optabs): Initialize it.
(emit_conditional_move): New function.
(can_conditionally_move_p): New function.
From-SVN: r8802
Doug Evans [Wed, 25 Jan 1995 04:17:33 +0000 (04:17 +0000)]
(jump_optimize): Try to emit a conditional move insn before
trying a store-flag insn.
From-SVN: r8801
Doug Evans [Wed, 25 Jan 1995 04:16:37 +0000 (04:16 +0000)]
(optabs): Add entry for movcc_gen_code.
From-SVN: r8800
Doug Evans [Wed, 25 Jan 1995 04:15:47 +0000 (04:15 +0000)]
(main): Delete #ifndef around HAVE_conditional_move.
From-SVN: r8799
Doug Evans [Wed, 25 Jan 1995 04:14:56 +0000 (04:14 +0000)]
(emit_conditional_move): Declare it.
(can_conditionally_move_p): Likewise.
(movcc_gen_code): Likewise.
From-SVN: r8798
Doug Evans [Wed, 25 Jan 1995 04:13:34 +0000 (04:13 +0000)]
(HAVE_conditional_move): Delete.
From-SVN: r8797
Doug Evans [Wed, 25 Jan 1995 04:11:29 +0000 (04:11 +0000)]
(movsicc): New named pattern.
(movdicc, movsfcc, movdfcc): Likewise.
(SImode conditional move): New matcher.
From-SVN: r8796
Doug Evans [Wed, 25 Jan 1995 04:09:46 +0000 (04:09 +0000)]
(simplify_set): Call can_conditionally_move_p.
From-SVN: r8795
Mike Stump [Tue, 24 Jan 1995 08:19:58 +0000 (08:19 +0000)]
53rd Cygnus<->FSF merge
From-SVN: r8794
Roland McGrath [Tue, 24 Jan 1995 04:23:23 +0000 (04:23 +0000)]
(ASM_OUTPUT_SECTION_NAME): Renamed from ASM_OUTPUT_SECTION.
The old name was a typo.
From-SVN: r8793
Jason Merrill [Tue, 24 Jan 1995 02:52:44 +0000 (02:52 +0000)]
Improve PA shlib support
From-SVN: r8792
Karl Heuer [Tue, 24 Jan 1995 00:46:11 +0000 (00:46 +0000)]
(i[34]86:*:3.2:*): Test for ISC before SCO; newer ISC releases have uname -X.
From-SVN: r8791
Ian Lance Taylor [Mon, 23 Jan 1995 23:44:35 +0000 (23:44 +0000)]
Permit any small integer mode in the HI/LO registers
From-SVN: r8790
Doug Evans [Mon, 23 Jan 1995 20:40:56 +0000 (20:40 +0000)]
(table_jump_h8300, table_jump_h8300h): Constrain operand to use register.
From-SVN: r8789
Jason Merrill [Sat, 21 Jan 1995 10:14:41 +0000 (10:14 +0000)]
bool changes
From-SVN: r8788
Jim Wilson [Sat, 21 Jan 1995 02:23:10 +0000 (18:23 -0800)]
(num_sign_bit_copies): Can handle paradoxical subreg only
if LOAD_EXTEND_OP is defined to SIGN_EXTEND.
From-SVN: r8787
Jim Wilson [Sat, 21 Jan 1995 02:12:01 +0000 (18:12 -0800)]
(copy_loop_body): When check for shared address givs, use new same_insn field.
(copy_loop_body): When check for shared address givs, use
new same_insn field.
(find_splittable_givs): New variable v2. Scan givs to set new
same_insn field. Use same_insn to indentify address givs to be
shared.
From-SVN: r8786
Jim Wilson [Sat, 21 Jan 1995 02:11:13 +0000 (18:11 -0800)]
(record_giv): Initialize new field same_insn.
From-SVN: r8785
Jim Wilson [Sat, 21 Jan 1995 02:10:54 +0000 (18:10 -0800)]
(structure induction): Add new field same_insn.
From-SVN: r8784
Jim Wilson [Sat, 21 Jan 1995 01:59:17 +0000 (17:59 -0800)]
(save_for_inline_copying): Add comment that
nonlocal_label list should be updated if it ever can be nonzero.
From-SVN: r8783
Jim Wilson [Sat, 21 Jan 1995 01:58:34 +0000 (17:58 -0800)]
(delete_handlers): When clear LABEL_PRESERVE_P,
also remove label from nonlocal_label list.
From-SVN: r8782
Jim Wilson [Sat, 21 Jan 1995 01:57:45 +0000 (17:57 -0800)]
(find_basic_blocks): No longer need to check for deleted
nonlocal_labels.
From-SVN: r8781
Jim Wilson [Sat, 21 Jan 1995 01:33:08 +0000 (17:33 -0800)]
(syms.h): Don't include under Linux.
From-SVN: r8780
Jim Wilson [Sat, 21 Jan 1995 01:30:34 +0000 (17:30 -0800)]
(scan_loop): For the replace_rtx call, copy the rtx that is
being substituted in before the call.
From-SVN: r8779
Jim Wilson [Sat, 21 Jan 1995 01:23:12 +0000 (17:23 -0800)]
(machine_dependent_reorg): When remove SUBREG, add in
SUBREG_WORD to new register number.
From-SVN: r8778
Jim Wilson [Sat, 21 Jan 1995 01:11:01 +0000 (17:11 -0800)]
(multcosts): Do not compute cost of constant power-of-two multiplies as if they were shifts.
(multcosts): Do not compute cost of constant power-of-two
multiplies as if they were shifts. Reduce multiply cost from 5 to 3.
Delete variable insn_cost.
From-SVN: r8777
Mike Stump [Fri, 20 Jan 1995 19:27:33 +0000 (19:27 +0000)]
stmt.c (expand_cleanups): Add 4th argument to indicate if code needs to be expanded for the cleanup.
* stmt.c (expand_cleanups): Add 4th argument to indicate if code
needs to be expanded for the cleanup.
(expand_goto_internal): Ditto.
(bc_expand_goto_internal): Ditto.
(fixup_gotos): Ditto.
(expand_end_bindings): Ditto. We now always call expand_cleanups,
even after BARRIERs, so that the call to the exception handling
routines is always done.
From-SVN: r8776
Jason Merrill [Fri, 20 Jan 1995 05:57:47 +0000 (05:57 +0000)]
bool changes
From-SVN: r8775
Ian Lance Taylor [Thu, 19 Jan 1995 23:38:09 +0000 (23:38 +0000)]
Add support for r4650, and permit HI/LO to be allocated
From-SVN: r8774
Ian Lance Taylor [Thu, 19 Jan 1995 23:38:09 +0000 (23:38 +0000)]
Build mips1/mips3 multilibs
From-SVN: r8773
Richard Kenner [Wed, 18 Jan 1995 12:43:31 +0000 (07:43 -0500)]
(get_inner_reference): Don't ignore CONVERT_EXPR from non-UNION_TYPE to UNION_TYPE.
(get_inner_reference): Don't ignore CONVERT_EXPR from non-UNION_TYPE
to UNION_TYPE.
(expand_expr, case CONVERT_EXPR): Check for conversion to union before
checking for not changing mode.
From-SVN: r8772
Richard Kenner [Wed, 18 Jan 1995 12:42:42 +0000 (07:42 -0500)]
(stabilize_reference): Fix typo in last change.
From-SVN: r8771
Richard Kenner [Wed, 18 Jan 1995 03:33:13 +0000 (22:33 -0500)]
(stabilize_reference, case RTL_EXPR): New case.
From-SVN: r8770
Jeff Law [Tue, 17 Jan 1995 23:42:12 +0000 (16:42 -0700)]
pa.c (emit_move_sequence): Also handle displacements which do not fit in 14 bits for fp load/store...
* pa.c (emit_move_sequence): Also handle displacements which
do not fit in 14 bits for fp load/store secondary reloads.
From-SVN: r8769
Jason Merrill [Tue, 17 Jan 1995 21:43:40 +0000 (21:43 +0000)]
Use boolean_* instead of integer_* where appropriate.
From-SVN: r8768
Jason Merrill [Tue, 17 Jan 1995 21:43:40 +0000 (21:43 +0000)]
Declare pedantic_lvalues.
From-SVN: r8767
Jason Merrill [Tue, 17 Jan 1995 21:43:40 +0000 (21:43 +0000)]
Set boolean_*, pedantic_lvalues
From-SVN: r8766
Jason Merrill [Tue, 17 Jan 1995 21:43:40 +0000 (21:43 +0000)]
(pedantic_non_lvalue): Check pedantic_lvalues instead of pedantic.
From-SVN: r8765
Jason Merrill [Tue, 17 Jan 1995 21:37:56 +0000 (21:37 +0000)]
Declare boolean_*
From-SVN: r8764
Richard Kenner [Mon, 16 Jan 1995 12:11:29 +0000 (07:11 -0500)]
(rescan): Fix typo that caused tokens to be glued together improperly.
From-SVN: r8763
Richard Kenner [Sat, 14 Jan 1995 22:49:47 +0000 (17:49 -0500)]
(get_inner_reference): Only treat offset of PLUS_EXPR as special if
second arg is integer constant.
From-SVN: r8762
Doug Evans [Sat, 14 Jan 1995 06:34:35 +0000 (06:34 +0000)]
(stmp-multilib): Fix quoting of CC and CFLAGS.
(stmp-multilib-lib): Likewise.
From-SVN: r8761
Doug Evans [Sat, 14 Jan 1995 06:27:58 +0000 (06:27 +0000)]
Add 1995 to copyright.
From-SVN: r8760
Doug Evans [Sat, 14 Jan 1995 06:22:17 +0000 (06:22 +0000)]
(incoming_reg): Keep regstack aligned to even boundary.
From-SVN: r8759
Doug Evans [Sat, 14 Jan 1995 06:21:30 +0000 (06:21 +0000)]
(INIT_CUMULATIVE_INCOMING_ARGS): Reserve two regs for caller's lr0,lr1.
From-SVN: r8758
Doug Evans [Sat, 14 Jan 1995 06:20:26 +0000 (06:20 +0000)]
(decl_attributes): Fix typo in packed ignored warning.
Fix unrecognized mode warning. Make string comparisons consistent.
Support machine attributes with arguments. Make noreturn/volatile
warnings consistent with others.
From-SVN: r8757
Doug Evans [Sat, 14 Jan 1995 06:19:31 +0000 (06:19 +0000)]
(extract_bit_field, fields bigger than word case): Count subwords in target.
(extract_bit_field, fields bigger than word case): Count
subwords in target. Zero remaining upper bits if unsigned.
From-SVN: r8756
Richard Kenner [Sat, 14 Jan 1995 01:40:18 +0000 (20:40 -0500)]
(plain_type_1): For LONG_LONG_TYPE_SIZE, return T_[U]LONG instead of 0 (i.e.
(plain_type_1): For LONG_LONG_TYPE_SIZE, return T_[U]LONG instead of 0
(i.e. T_VOID).
From-SVN: r8755
Richard Kenner [Sat, 14 Jan 1995 01:36:53 +0000 (20:36 -0500)]
(expand_binop): Do not force constant shift-count to a register, to allow possible widening...
(expand_binop): Do not force constant shift-count to a register, to
allow possible widening; do not convert_to_mode mode{1,2} or
copy_to_mode_reg if mode{1,2} is VOIDmode.
From-SVN: r8754
Richard Kenner [Sat, 14 Jan 1995 01:36:09 +0000 (20:36 -0500)]
(zero_extendsidi2): New pattern.
(extendqidi2, extendhidi2, extendsidi2, extendplussidi): New patterns.
(adddia_sexthishl32, adddid_sexthishl32): New patterns.
(adddi_dilshr32, adddi_dishl32, adddi_mem): New patterns.
(adddi3, subdi3): Allow more alternatives.
(subdia_sexthishl32, subdid_sexthishl32): New patterns.
(subdi_dishl32, subdi_mem): New patterns.
(negdi2): New pattern.
(ashldi_sexthi, ashldi_const32, ashldi_const, ashldi3): New patterns.
(subreg1ashrdi_const32, ashrdi_const32): New patterns.
(ashrdi_const32_mem, ashrdi_const, ashrdi3): New patterns.
(subreg1lshrdi_const32, lshrdi_const32, lshrdi_const, lshrdi3): Ditto.
(lshrsi_31): New pattern.
(lshrsi_16, lshrsi_17_24): New names for old unnamed patterns.
From-SVN: r8753
Richard Kenner [Sat, 14 Jan 1995 01:29:19 +0000 (20:29 -0500)]
(fullword move): Call output_move_const_into_data_reg.
From-SVN: r8752
Richard Kenner [Sat, 14 Jan 1995 01:28:45 +0000 (20:28 -0500)]
(CONST_COSTS): Call const_int_cost.
From-SVN: r8751
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