James Van Artsdalen [Sun, 6 Mar 1994 19:14:32 +0000 (19:14 +0000)]
(find_blocks): Undo previous change to block delineation algorithm.
(reg_to_stack): Make algorithm identical to that in find_blocks.
From-SVN: r6702
Richard Kenner [Sun, 6 Mar 1994 00:39:23 +0000 (19:39 -0500)]
(build_nt, build_parse_node): Remove `register' from decl of CODE.
From-SVN: r6701
Richard Kenner [Sun, 6 Mar 1994 00:38:51 +0000 (19:38 -0500)]
(attr_printf): Remove `register' from decl of FMT.
From-SVN: r6700
Richard Kenner [Sun, 6 Mar 1994 00:18:05 +0000 (19:18 -0500)]
(output_{pro,epi}log): Round var size to quadword boundary.
From-SVN: r6699
Richard Kenner [Sun, 6 Mar 1994 00:17:43 +0000 (19:17 -0500)]
(SECONDARY_MEMORY_NEEDED_MODE): New macro.
From-SVN: r6698
Richard Kenner [Sun, 6 Mar 1994 00:17:12 +0000 (19:17 -0500)]
(get_secondary_mem): Call SECONDARY_MEMORY_NEEDED_MODE if it is
defined.
From-SVN: r6697
Richard Kenner [Sat, 5 Mar 1994 21:27:45 +0000 (16:27 -0500)]
(unaligned_{load,store}hi): Clear low bit of address before using as operand to extwl, mskwl, and inswl.
(unaligned_{load,store}hi): Clear low bit of address before using as operand
to extwl, mskwl, and inswl.
(movhi, reload_inhi, reload_outhi): Pass extra scratch value.
From-SVN: r6696
Richard Kenner [Fri, 4 Mar 1994 22:19:06 +0000 (17:19 -0500)]
(ASM_FINISH_DECLARE_OBJECT): Set size_directive_output to 1.
From-SVN: r6695
Richard Kenner [Fri, 4 Mar 1994 22:16:16 +0000 (17:16 -0500)]
Delete gperf-generated source from here.
From-SVN: r6694
Richard Kenner [Fri, 4 Mar 1994 22:15:44 +0000 (17:15 -0500)]
(c-gperf.h): New rule.
(c-lex.o): Depends on c-gperf.h.
(realclean): Delete c-gperf.h.
(distdir): Build c-gperf.h.
(diff): Omit differences in c-gperf.h.
From-SVN: r6693
Richard Kenner [Fri, 4 Mar 1994 11:35:10 +0000 (06:35 -0500)]
(emit_reload_insns): Don't call gen_input_reload if src and dest are
identical.
From-SVN: r6692
Richard Kenner [Thu, 3 Mar 1994 23:11:36 +0000 (18:11 -0500)]
(mskXl): Add missing NOT in patterns.
From-SVN: r6691
Richard Kenner [Thu, 3 Mar 1994 20:32:44 +0000 (15:32 -0500)]
Remove added realclean rule.
From-SVN: r6690
Doug Evans [Wed, 2 Mar 1994 00:41:51 +0000 (00:41 +0000)]
(all floating point): If -msoft-float, don't allow any
floating point builtin operations.
From-SVN: r6689
Richard Kenner [Wed, 2 Mar 1994 00:36:00 +0000 (19:36 -0500)]
(ASM_OUTPUT_ADDR_DIFF_ELT): Use ASM_OUTPUT_INTERNAL_LABEL instead of
ASM_GENERATE_INTERNAL_LABEL.
From-SVN: r6688
Doug Evans [Wed, 2 Mar 1994 00:30:45 +0000 (00:30 +0000)]
(TARGET_SOFT_FLOAT): Define.
(TARGET_SWITCHES): Add -msoft-float.
From-SVN: r6687
Jim Wilson [Wed, 2 Mar 1994 00:29:08 +0000 (16:29 -0800)]
(JUMP_TABLES_IN_TEXT_SECTION): Add.
From-SVN: r6686
Jim Wilson [Wed, 2 Mar 1994 00:28:41 +0000 (16:28 -0800)]
(JUMP_TABLES_IN_TEXT_SECTION): Delete.
From-SVN: r6685
Jim Wilson [Wed, 2 Mar 1994 00:26:06 +0000 (16:26 -0800)]
(build_binary_op): Pass TREE_TYPE (orig_op0) not
orig_op0 to TREE_UNSIGNED.
From-SVN: r6684
Richard Kenner [Tue, 1 Mar 1994 23:33:22 +0000 (18:33 -0500)]
(output_constant): Strip off some NOP_EXPRs before further processing.
From-SVN: r6683
Stan Cox [Tue, 1 Mar 1994 17:08:55 +0000 (17:08 +0000)]
(GO_IF_LEGITIMATE_ADDRESS) Reject invalid PIC addresses.
From-SVN: r6682
Stan Cox [Tue, 1 Mar 1994 17:08:21 +0000 (17:08 +0000)]
(legitimize_address, print_operand): Make -fPIC work
From-SVN: r6681
Stan Cox [Tue, 1 Mar 1994 17:07:57 +0000 (17:07 +0000)]
Two new patterns, to match (HIGH (UNSPEC (..)))
From-SVN: r6680
Doug Evans [Tue, 1 Mar 1994 15:59:45 +0000 (15:59 +0000)]
Move comment to proper place.
From-SVN: r6679
Doug Evans [Mon, 28 Feb 1994 23:31:01 +0000 (23:31 +0000)]
(convert_move): Change name of truncsipsi to truncsipsi2
to conform to existing convention, same with extendpsisi.
From-SVN: r6678
Doug Evans [Mon, 28 Feb 1994 23:22:31 +0000 (23:22 +0000)]
(ASM_OUTPUT_ASCII): Fix typo.
From-SVN: r6677
Richard Kenner [Mon, 28 Feb 1994 13:43:23 +0000 (08:43 -0500)]
(eliminate_regs, case MULT): New case, to apply distributive law, when
needed.
From-SVN: r6676
Richard Kenner [Mon, 28 Feb 1994 13:11:38 +0000 (08:11 -0500)]
(check_precompiled): Delete unused var dollar_loc.
(pcstring_used): Delete unused var TMP.
(write_output): Delete unused var WRITTEN.
(assertion_lookup): Delete unused var BP.
(pedwarn_with_file_and_line): Delete unused var I.
From-SVN: r6675
Richard Kenner [Mon, 28 Feb 1994 12:37:26 +0000 (07:37 -0500)]
(variable_size): If global_bindings_p < 0, don't even make the
SAVE_EXPR.
From-SVN: r6674
Richard Kenner [Mon, 28 Feb 1994 12:12:17 +0000 (07:12 -0500)]
(READONLY_DATA_SECTION, LEGITIMATE_PIC_OPERAND_P): Defined.
(FUNCTION_PROLOGUE): Emit PIC prologue.
From-SVN: r6673
Richard Kenner [Mon, 28 Feb 1994 12:11:31 +0000 (07:11 -0500)]
(call): Change HPUX_ASM case.
From-SVN: r6672
Richard Kenner [Mon, 28 Feb 1994 11:30:24 +0000 (06:30 -0500)]
(reg_to_stack): Use GET_RTX_CLASS.
Clear LABEL_REFs here.
(find_blocks): Make algorithm identical to that inreg_to_stack.
Use GET_RTX_CLASS.
Don't clear LABEL_REFs here.
Build a list of labels referenced by other than jumps.
If computed jump, mark using that list and forced_labels.
(uses_reg_or_mem): New function, copied from flow.c.
From-SVN: r6671
Richard Kenner [Mon, 28 Feb 1994 11:21:06 +0000 (06:21 -0500)]
(expand_binop): Use expand_divmod to do integer division for DIV of
MODE_COMPLEX_INT operands.
From-SVN: r6670
Richard Kenner [Mon, 28 Feb 1994 01:24:17 +0000 (20:24 -0500)]
(process_aux_info_file): Properly start over on file error.
From-SVN: r6669
Jim Wilson [Mon, 28 Feb 1994 00:55:33 +0000 (16:55 -0800)]
(store_split_bit_field): If OP0 is a SUBREG, then compute WORD from the base register, instead of from the SUBREG.
(store_split_bit_field): If OP0 is a SUBREG, then
compute WORD from the base register, instead of from the SUBREG.
(extract_split_bit_field): Likewise.
(extract_bit_field): Sign-extend multiword bitfield if necessary.
From-SVN: r6668
Jim Wilson [Mon, 28 Feb 1994 00:52:03 +0000 (16:52 -0800)]
(subreg_realpart_p): New function.
From-SVN: r6667
Jim Wilson [Mon, 28 Feb 1994 00:51:33 +0000 (16:51 -0800)]
((subreg_realpart_p): New function.
(copy_rtx_and_substitute): Use subreg_realpart_p
instead of subreg_lowpart_p for CONCAT.
From-SVN: r6666
Jim Wilson [Mon, 28 Feb 1994 00:47:28 +0000 (16:47 -0800)]
(HANDLE_PRAGMA_WEAK): Depend on ASM_OUTPUT_DEF not
SET_ASM_OP when defining it.
From-SVN: r6665
Jim Wilson [Mon, 28 Feb 1994 00:45:49 +0000 (16:45 -0800)]
(ASM_OUTPUT_DEF): Delete definition.
From-SVN: r6664
Jim Wilson [Mon, 28 Feb 1994 00:45:17 +0000 (16:45 -0800)]
(ASM_OUTPUT_DEF): Add it here.
From-SVN: r6663
Jim Wilson [Mon, 28 Feb 1994 00:44:31 +0000 (16:44 -0800)]
(handle_pragma_weak): Depend on ASM_OUTPUT_DEF not SET_ASM_OP when defining it.
(handle_pragma_weak): Depend on ASM_OUTPUT_DEF not
SET_ASM_OP when defining it. Use ASM_OUTPUT_DEF to output value
instead of SET_ASM_OP and explicit ASM_OUTPUT_LABELREF calls.
From-SVN: r6662
Richard Kenner [Sun, 27 Feb 1994 23:36:32 +0000 (18:36 -0500)]
(expand_inline_function): Allow extra arguments and force their
evaluation for side-effects.
From-SVN: r6661
Jim Wilson [Sun, 27 Feb 1994 23:19:49 +0000 (15:19 -0800)]
(expand_call): Set nregs to -1 for BLKmode parameter,
then before move_block_to_reg call set it to the type size.
From-SVN: r6660
Jim Wilson [Sun, 27 Feb 1994 23:16:22 +0000 (15:16 -0800)]
(try_merge_delay_insns): Success when SLOT_NUMBER ==
NUM_SLOTS not when NEXT_TO_MATCH == 0.
From-SVN: r6659
Jim Wilson [Sun, 27 Feb 1994 22:46:49 +0000 (14:46 -0800)]
(store_fixed_bit_field): Adjust BITPOS so that it
fits inside MODE before adjusting OFFSET to get an aligned address.
From-SVN: r6658
Jim Wilson [Sun, 27 Feb 1994 22:44:49 +0000 (14:44 -0800)]
(store_fixed_bit_field): Move float mode to integral
mode conversion from near end of function to top of function.
From-SVN: r6657
Jim Wilson [Sun, 27 Feb 1994 22:41:53 +0000 (14:41 -0800)]
(process_init_element): Check for constructor_type
set before dereferencing it in the string cst code.
From-SVN: r6656
Richard Kenner [Sun, 27 Feb 1994 22:27:53 +0000 (17:27 -0500)]
(TARGET_DEFAULT): Default to 68020-40.
(ASM_SPEC): New macro.
(FUNCTION_VALUE, FUNCTION_VALUE_REGNO_P): Return pointer in a0.
(*_LIBCALL): Use functions from sysV68's library.
(INIT_CUMULATIVE_ARGS, FUNCTION_ARG*): Some libcalls pass parameters in
registers.
From-SVN: r6655
Richard Kenner [Sun, 27 Feb 1994 20:20:28 +0000 (15:20 -0500)]
(declare_hidden_char_array): Build new type if warn_larger_than.
From-SVN: r6654
Richard Kenner [Sun, 27 Feb 1994 20:19:57 +0000 (15:19 -0500)]
(finish_decl, finish_function): Issue warning for large objects, if
requested.
From-SVN: r6653
Richard Kenner [Sun, 27 Feb 1994 20:19:23 +0000 (15:19 -0500)]
(id_clash_len): Now unsigned.
(warn_larger_than, larger_than_size): New variables.
(main): Support -Wlarger-than-NN.
From-SVN: r6652
Richard Kenner [Sun, 27 Feb 1994 20:18:57 +0000 (15:18 -0500)]
(id_clash_len): Now unsigned.
(warn_larger_than, larger_than_size): New variables.
From-SVN: r6651
Richard Kenner [Sun, 27 Feb 1994 16:30:14 +0000 (11:30 -0500)]
(allocno_compare): Give multi-word regs higher priority, as stated in
the comments.
From-SVN: r6650
Richard Kenner [Sun, 27 Feb 1994 16:29:35 +0000 (11:29 -0500)]
(qty_compare{,_1}): Give multi-word regs higher priority, as stated in
the comments.
From-SVN: r6649
Richard Kenner [Sun, 27 Feb 1994 15:50:41 +0000 (10:50 -0500)]
(make_decl_rtl): Initialize NAME and abort if not reset.
From-SVN: r6648
Richard Kenner [Sun, 27 Feb 1994 15:50:11 +0000 (10:50 -0500)]
(make_node, stabilize_reference_1): Abort if unknown class.
From-SVN: r6647
Richard Kenner [Sun, 27 Feb 1994 15:49:44 +0000 (10:49 -0500)]
(expand_start_bindings): Properly set NOTE if bytecode.
From-SVN: r6646
Richard Kenner [Sun, 27 Feb 1994 15:49:00 +0000 (10:49 -0500)]
(emit_float_lib_cmp): Init LIBFUNC; abort if not reset.
From-SVN: r6645
Richard Kenner [Sun, 27 Feb 1994 15:48:25 +0000 (10:48 -0500)]
(execute): Initialize PROG.
From-SVN: r6644
Richard Kenner [Sun, 27 Feb 1994 15:47:55 +0000 (10:47 -0500)]
(final_scan_insn): Always set OPS and use alloca.
From-SVN: r6643
Richard Kenner [Sun, 27 Feb 1994 15:47:10 +0000 (10:47 -0500)]
(emit_move_insn): Delete unused vars.
(emit_move_insn_1): Don't set SUBMODE unless used.
(expand_builtin, case BUILT_IN_SAVEREGS): Clean up uses of VALREG
and SAVED_VALREG.
From-SVN: r6642
Richard Kenner [Sun, 27 Feb 1994 15:46:21 +0000 (10:46 -0500)]
(main, args case 'D'): Rewrite to avoid uninitialized var.
(main, args case 'A'): Delete unused var P1.
(rescan): Initialize STR.
(do_xifdef, do_endif): Initialize arg to skip_to_end_of_comment.
From-SVN: r6641
Richard Kenner [Sun, 27 Feb 1994 15:45:15 +0000 (10:45 -0500)]
(expand_call): Initialize OLD_PENDING_ADJ.
From-SVN: r6640
Richard Kenner [Sun, 27 Feb 1994 15:44:32 +0000 (10:44 -0500)]
(type_lists_compatible_p): Initialize NEWVAL.
(pop_init_level): Initialize SIZE.
(output_pending_init_elements): Initialize NEXTPOS_TREE.
From-SVN: r6639
Richard Kenner [Sun, 27 Feb 1994 15:44:00 +0000 (10:44 -0500)]
(readescape): Initialize FIRSTDIG.
From-SVN: r6638
Richard Kenner [Sun, 27 Feb 1994 15:43:17 +0000 (10:43 -0500)]
(store_parm_decls): Initialize some vars.
From-SVN: r6637
Richard Kenner [Sun, 27 Feb 1994 15:42:51 +0000 (10:42 -0500)]
(binary_op_error): Initialize OPNAME.
From-SVN: r6636
Richard Kenner [Sat, 26 Feb 1994 23:01:47 +0000 (18:01 -0500)]
(movsi): If -mno-sum-in-toc, do addition of symbol + const.
From-SVN: r6635
Richard Kenner [Sat, 26 Feb 1994 23:01:08 +0000 (18:01 -0500)]
(MASK_NO_SUM_IN_TOC, TARGET_NO_SUM_IN_TOC): New macros.
(MASK_MINIMAL_TOC): Change bit value.
(TARGET_SWITCHES): Add -mno-sum-in-toc; use -mfull-toc instead of
-mnormal-toc, other minor changes.
From-SVN: r6634
Richard Kenner [Sat, 26 Feb 1994 21:35:38 +0000 (16:35 -0500)]
(rtx_renumbered_equal_p): Fix bug in comparing SUBREGs and REGs.
Two commutative operations are equal if the operands are in the opposite order.
From-SVN: r6633
Richard Kenner [Sat, 26 Feb 1994 21:12:46 +0000 (16:12 -0500)]
(fixup_var_refs_insn): Delete CLOBBER of VAR.
(fixup_var_refs_insn): Delete CLOBBER of VAR. If VAR is being
assigned into by a libcall sequence, remove the libcall notes.
From-SVN: r6632
Richard Kenner [Sat, 26 Feb 1994 21:11:04 +0000 (16:11 -0500)]
(count_reg_usage, case SET): If SRC has side-effects, count a usage of
DEST in it.
From-SVN: r6631
Richard Kenner [Sat, 26 Feb 1994 21:09:05 +0000 (16:09 -0500)]
(store_expr): In promoted TARGET case, if EXP is a volatile MEM and WANT_VALUE is nonzero, only reference the MEM once.
(store_expr): In promoted TARGET case, if EXP is a volatile MEM and
WANT_VALUE is nonzero, only reference the MEM once.
Return TARGET if it is a hard register; clean up return code.
From-SVN: r6630
Doug Evans [Sat, 26 Feb 1994 18:09:13 +0000 (18:09 +0000)]
* mips-tfile.c (fatal, error): Don't use prototypes ifndef HAVE_VPRINTF.
From-SVN: r6629
Doug Evans [Sat, 26 Feb 1994 18:07:52 +0000 (18:07 +0000)]
fixincludes: Fix including of machine/r3_cpu.h and machine/r4_cpu.h in machine/cpu.h on...
* fixincludes: Fix including of machine/r3_cpu.h and machine/r4_cpu.h
in machine/cpu.h on Ultrix 4.3.
From-SVN: r6628
Richard Kenner [Sat, 26 Feb 1994 12:13:48 +0000 (07:13 -0500)]
(substitute_in_type, case REAL_TYPE): Fix typo in previous change.
From-SVN: r6627
Richard Kenner [Fri, 25 Feb 1994 23:32:13 +0000 (18:32 -0500)]
(substitute_in_type, case REAL_TYPE): Allow TYPE_{MIN,MAX}_VALUE to be
unassigned.
From-SVN: r6626
Mike Stump [Fri, 25 Feb 1994 20:56:59 +0000 (20:56 +0000)]
back out of 29th merge
From-SVN: r6625
Richard Kenner [Fri, 25 Feb 1994 14:00:07 +0000 (09:00 -0500)]
(if_then_else_cond): Fix typo in narrowing of a SUBREG.
From-SVN: r6624
Richard Kenner [Fri, 25 Feb 1994 12:34:38 +0000 (07:34 -0500)]
(neg[sd]f2): Use %R1 consistently.
From-SVN: r6623
Richard Kenner [Fri, 25 Feb 1994 12:19:23 +0000 (07:19 -0500)]
(find_reloads): Don't restrict class of multiword operand to preferred class.
(find_reloads_address_1): Rework to use `switch'.
Reload a SUBREG of a hard reg as a unit.
From-SVN: r6622
Richard Kenner [Fri, 25 Feb 1994 11:42:11 +0000 (06:42 -0500)]
(mul*): Disallow multiply by constant.
From-SVN: r6621
Ian Lance Taylor [Fri, 25 Feb 1994 02:20:56 +0000 (02:20 +0000)]
In <prototypes.h>, fix prototypes of getcwd and link.
From-SVN: r6620
Richard Stallman [Thu, 24 Feb 1994 18:06:41 +0000 (18:06 +0000)]
Don't force os=-hpux for hp9k2... and hp9k3...
From-SVN: r6619
Richard Kenner [Thu, 24 Feb 1994 13:54:21 +0000 (08:54 -0500)]
(LIB_SPEC, LINK_SPEC): Add missing blanks.
From-SVN: r6618
Richard Kenner [Thu, 24 Feb 1994 13:42:01 +0000 (08:42 -0500)]
(HANDLE_SYSV_PRAGMA): Define.
From-SVN: r6617
Richard Kenner [Thu, 24 Feb 1994 12:46:32 +0000 (07:46 -0500)]
(maybe_eliminate_biv_1): Ignore GIV if it isn't always computed.
From-SVN: r6616
Richard Kenner [Thu, 24 Feb 1994 12:31:30 +0000 (07:31 -0500)]
(scan_loop, strength_reduce): Go back to LOOP_TOP, not its NEXT_INSN
(in case SCAN_START == LOOP_TOP).
From-SVN: r6615
Mike Stump [Thu, 24 Feb 1994 01:05:58 +0000 (01:05 +0000)]
29th Cygnus<->FSF merge. Includes cp-* --> cp/* relocation.
From-SVN: r6614
Mike Stump [Thu, 24 Feb 1994 01:02:37 +0000 (01:02 +0000)]
Initial revision
From-SVN: r6613
Richard Kenner [Wed, 23 Feb 1994 13:13:48 +0000 (08:13 -0500)]
(choose_reload_regs): If EQUIV is a SUBREG, make a new REG.
From-SVN: r6612
Richard Kenner [Wed, 23 Feb 1994 12:30:04 +0000 (07:30 -0500)]
(expand_call): Functions may be const or volatile from their type.
From-SVN: r6611
Richard Kenner [Wed, 23 Feb 1994 12:29:42 +0000 (07:29 -0500)]
(decl_attributes): Warn if attribute will be ignored.
Allow `noreturn', `volatile', and `const' on object of type pointer to
function.
Always give decl with error or warning.
From-SVN: r6610
Ian Lance Taylor [Tue, 22 Feb 1994 16:03:44 +0000 (16:03 +0000)]
Put double underscores around M32, m88k, pdp11, tower[_0-9]*, u370, u3b[0-9]*
From-SVN: r6609
Ian Lance Taylor [Tue, 22 Feb 1994 16:01:26 +0000 (16:01 +0000)]
Fix prototype declaration of utime in <sys/times.h>.
From-SVN: r6608
Richard Kenner [Tue, 22 Feb 1994 13:14:21 +0000 (08:14 -0500)]
Added peephole patterns for stack adjustments followed by QI/HI pushes.
(movsi): Use output_move_dconst for TARGET_32532.
(ffs): New patterns.
From-SVN: r6607
Richard Kenner [Tue, 22 Feb 1994 13:13:00 +0000 (08:13 -0500)]
(output_move_dconst): New function.
(global_symbolic_reference_mentioned_p): New function.
(print_operand_address): Allow pc-relative mode not only
for {LABEL, SYMBOL}_REF but for CONST too. If compiling PIC,
transform "symbol+const(Rx)" to "const(symbol(sb))[Rx:b]".
From-SVN: r6606
Richard Kenner [Tue, 22 Feb 1994 13:11:40 +0000 (08:11 -0500)]
(FRAME_POINTER_REQUIRED): Moved to here.
(DEFAULT_PCC_STRUCT_RETURN): Deleted; redundant.
From-SVN: r6605
Richard Kenner [Tue, 22 Feb 1994 13:10:42 +0000 (08:10 -0500)]
(FRAME_POINTER_REQUIRED): Deleted.
From-SVN: r6604
Richard Kenner [Tue, 22 Feb 1994 13:09:58 +0000 (08:09 -0500)]
(FUNCTION_{PROLOGUE,EPILOGUE}): %$ is not supported in fprintf.
(ADJSP): New macro to resolve %$.
(output_move_dconst): New declaration.
(OVERRIDE_OPTIONS): New macro to support PIC.
(FUNCTION_PROLOGUE): Save/Load sb when compiling PIC.
(FUNCTION_EPILOGUE): Restore sb when compiling PIC.
(INITIAL_FRAME_POINTER_OFFSET): Take saved sb into account when PIC.
(LEGITIMATE_CONSTANT_P, GO_IF_LEGITIMATE_ADDRESS): Set
current_function_uses_pic_offset_table if P uses a global symbolic reference.
(ENCODE_SECTION_INFO): New macro to support PIC.
From-SVN: r6603