Jeff Law [Wed, 2 Oct 1996 17:42:18 +0000 (11:42 -0600)]
pa.c (remove_useless_addtr_insns): New function.
* pa/pa.c (remove_useless_addtr_insns): New function.
(pa_reorg): Delete code to remove useless add,tr insns.
Instead call remove_useless_addtr_insns.
(output_function_prologue): Call remove_useless_addtr_insns
to catch any add,tr insns created by reorg.
From-SVN: r12889
Jeff Law [Wed, 2 Oct 1996 17:27:20 +0000 (11:27 -0600)]
* pa/pa.c (secondary_reload_class): Remove duplicate/useless code.
From-SVN: r12888
Jeff Law [Wed, 2 Oct 1996 17:21:48 +0000 (11:21 -0600)]
* pa/pa.h (PARSE_LDD_OUTPUT): Handle output from hpux10.20 "chatr".
From-SVN: r12887
Doug Evans [Wed, 2 Oct 1996 04:31:28 +0000 (04:31 +0000)]
Fix broken comment.
From-SVN: r12886
Jim Wilson [Tue, 1 Oct 1996 18:18:44 +0000 (11:18 -0700)]
(used_arg): When call xmalloc for mswitches, pass 1 if
n_switches is zero.
From-SVN: r12885
Jim Wilson [Mon, 30 Sep 1996 21:45:47 +0000 (14:45 -0700)]
(gen_shl_and, gen_shl_sext): use gen_lowpart to generate rtx in the appropriate mode for zero/sign-extension.
(gen_shl_and, gen_shl_sext): use gen_lowpart to
generate rtx in the appropriate mode for zero/sign-extension.
Don't generate a zero bit shift.
(gen_shl_sext) directly use gen_ashift instead of gen_ashrsi3 .
From-SVN: r12884
Mike Stump [Mon, 30 Sep 1996 21:34:04 +0000 (21:34 +0000)]
89th Cygnus<->FSF quick merge
From-SVN: r12883
Ian Lance Taylor [Mon, 30 Sep 1996 21:19:24 +0000 (21:19 +0000)]
Redefine exception in math.h for C++
From-SVN: r12882
Ian Lance Taylor [Mon, 30 Sep 1996 21:19:11 +0000 (21:19 +0000)]
Redefine exception in math.h
From-SVN: r12881
Jim Wilson [Mon, 30 Sep 1996 21:14:51 +0000 (14:14 -0700)]
(ASM_SPEC): Add -w.
(STARTFILE_SPEC): Add mips3 to n32 pathnames. Add -L/usr/lib32/mips
for n32 cases.
(ENDFILE_SPEC): Add mips3 to n32 pathnames.
From-SVN: r12880
Michael Meissner [Mon, 30 Sep 1996 20:51:53 +0000 (20:51 +0000)]
Initial revision
From-SVN: r12879
Stan Cox [Mon, 30 Sep 1996 19:23:11 +0000 (19:23 +0000)]
(asm_output_function_prefix, function_prologue,ix86_expand_prologue): Make the routine that sets the GOT (when pic is enabled) a function, to assist debugging.
From-SVN: r12878
Stan Cox [Mon, 30 Sep 1996 19:23:11 +0000 (19:23 +0000)]
i386.md (gen_prologue_get_pc): Call the function created above. (divdf3): Added.
From-SVN: r12877
Stan Cox [Mon, 30 Sep 1996 19:23:11 +0000 (19:23 +0000)]
(CPP_CPU_SPEC): New. Added for defining the submodel.
From-SVN: r12876
Karl Berry [Mon, 30 Sep 1996 17:47:57 +0000 (17:47 +0000)]
Untabify.
From-SVN: r12875
Karl Berry [Mon, 30 Sep 1996 17:39:54 +0000 (17:39 +0000)]
Changes for Texinfo 3.8 release; see ChangeLog.
From-SVN: r12874
Ian Lance Taylor [Mon, 30 Sep 1996 17:23:14 +0000 (17:23 +0000)]
Search modes in reverse order to avoid problems with EXTRA_CC_MODES
From-SVN: r12873
Ian Lance Taylor [Mon, 30 Sep 1996 17:21:03 +0000 (17:21 +0000)]
Add extern "C" to <sys/mman.h> on HP/UX.
From-SVN: r12872
Richard Kenner [Sun, 29 Sep 1996 23:06:37 +0000 (19:06 -0400)]
(expand_decl): Use mark_user_reg and simplify code.
From-SVN: r12871
Richard Kenner [Sun, 29 Sep 1996 23:06:08 +0000 (19:06 -0400)]
(assign_parms): Use mark_user_reg.
From-SVN: r12870
Richard Kenner [Sun, 29 Sep 1996 23:05:36 +0000 (19:05 -0400)]
(mark_user_reg): New function.
From-SVN: r12869
Richard Kenner [Sun, 29 Sep 1996 23:05:22 +0000 (19:05 -0400)]
(register_operand): Don't reject subreg of complex mode.
From-SVN: r12868
Richard Kenner [Sun, 29 Sep 1996 23:04:49 +0000 (19:04 -0400)]
(expand_expr, case COMPONENT_REF): Don't try to directly load a complex.
From-SVN: r12867
Richard Kenner [Sun, 29 Sep 1996 23:04:12 +0000 (19:04 -0400)]
(copy_constant, case COMPLEX_CST): Add new arg, TYPE, to call to build_complex.
From-SVN: r12866
Richard Kenner [Sun, 29 Sep 1996 23:03:36 +0000 (19:03 -0400)]
(const_binop): Add new arg, TYPE, to call to build_complex.
(fold, case CONJ_EXPR, COMPLEX_EXPR): Likewise.
From-SVN: r12865
Richard Kenner [Sun, 29 Sep 1996 23:02:58 +0000 (19:02 -0400)]
(yylex): Add new arg, TYPE, to call to build_complex.
From-SVN: r12864
Richard Kenner [Sun, 29 Sep 1996 23:02:39 +0000 (19:02 -0400)]
(build_complex): Add new argument, TYPE.
From-SVN: r12863
Richard Kenner [Sun, 29 Sep 1996 22:46:25 +0000 (18:46 -0400)]
(contains_placeholder): Return 1 for PLACEHOLDER_EXPR.
From-SVN: r12862
Richard Kenner [Sun, 29 Sep 1996 22:42:12 +0000 (18:42 -0400)]
(store_expr): memset/bzero gets ptr_mode, not Pmode.
From-SVN: r12861
Richard Kenner [Sun, 29 Sep 1996 22:33:31 +0000 (18:33 -0400)]
(expand_asm_operands): Fix errors in previous patches.
From-SVN: r12860
Richard Kenner [Sun, 29 Sep 1996 22:27:22 +0000 (18:27 -0400)]
Simplify, but ensure headers aren't changed.
From-SVN: r12859
Richard Kenner [Sun, 29 Sep 1996 22:21:44 +0000 (18:21 -0400)]
No longer include direct.h for _WIN32.
From-SVN: r12858
Richard Kenner [Sun, 29 Sep 1996 22:11:33 +0000 (18:11 -0400)]
(installdirs): Renamed from install-dir.
Create $(prefix) and $(exec_prefix) if doesn't exist.
(install-float): Reflect new name for installdirs.
(install-{common,info,man,libgcc,multilib,libobjc}): Likewise.
(install-{include-dir,assert-h,collect2}): Likewise.
From-SVN: r12857
Richard Kenner [Sun, 29 Sep 1996 19:56:23 +0000 (15:56 -0400)]
(gen_reload): Handle SUBREG in PLUS specially too.
(gen_reload): Handle SUBREG in PLUS specially too. Change calls to
emit_move_insn to recursive calls.
From-SVN: r12856
Michael Meissner [Sun, 29 Sep 1996 16:42:27 +0000 (16:42 +0000)]
Allow pointers to be short
From-SVN: r12855
Richard Kenner [Sun, 29 Sep 1996 15:21:58 +0000 (11:21 -0400)]
(fixup_gotos): When running undefined labels, if no cleanup actions
for this block, don't clear BEFORE_JUMP.
From-SVN: r12854
Michael Meissner [Fri, 27 Sep 1996 17:49:57 +0000 (17:49 +0000)]
Allow short to be size_t
From-SVN: r12853
Stan Cox [Fri, 27 Sep 1996 16:54:10 +0000 (16:54 +0000)]
(do_spec_1): Allow -A in %[Spec].
From-SVN: r12852
Stan Cox [Fri, 27 Sep 1996 16:01:16 +0000 (16:01 +0000)]
(CPP_SPEC): Use %[cpp_cpu].
From-SVN: r12851
Torbjorn Granlund [Thu, 26 Sep 1996 21:55:07 +0000 (21:55 +0000)]
(mulsidi3 matcher): Change predicate const_int_operand to const_sint32_operand.
(mulsidi3 matcher): Change predicate const_int_operand
to const_sint32_operand. Get rid of bogus range condition.
From-SVN: r12850
Jim Wilson [Thu, 26 Sep 1996 21:10:02 +0000 (14:10 -0700)]
(stmp-int-hdrs): Don't cd to srcdir before copying
header files to objdir.
From-SVN: r12849
Jeff Law [Thu, 26 Sep 1996 03:26:04 +0000 (21:26 -0600)]
h8300.h (FIRST_PSEUDO_REGISTER): Bump up by one.
* h8300/h8300.h (FIRST_PSEUDO_REGISTER): Bump up by one.
(ARG_POINTER_REGNUM): Likewise.
(FIXED_REGISTERS): Add entry for MAC register.
(CALL_USED_REGISTERS< REG_ALLOC_ORDER): Likewise.
(HARD_REGNO_NREGS): Handle MAC register.
(HARD_REGNO_MODE_OK< REGNO_OK_FOR_BASE_P): LIkewise.
(REGISTER_NAMES): Likewise.
(enum reg_class): New MAC_REGS register class.
(REG_CLASS_CONTENTS, REGNO_REG_CLASS): Corresponding changes.
(REG_CLASS_FROM_LETTER): LIkewise.
(REGISTER_MOVE_COST): Make copies to/from the MAC register
expenseive.
(CONDITIONAL_REGISTER_USAGE): Define.
* h8300/h8300.md (movsi_h8300hs): Renamed from movsi_h8300h.
Handle moves to/from the MAC register.
(mac): Two new patterns to use the mac instruction.
* h8300/h8300.c (notice_update_cc): Fix CC_SET case.
(restore_compare_p): Remove unused function.
* h8300/h8300.md: Handle "set" vs "set_zn_c0" correctly.
(bCC patterns): No longer need to call restore_compare_p.
* h8300/h8300.c (get_shift_alg): Fix HImode ASHIFTRT by
13 or 14 bits.
From-SVN: r12848
Jim Wilson [Wed, 25 Sep 1996 22:51:33 +0000 (15:51 -0700)]
(insv): New pattern.
From-SVN: r12847
Doug Evans [Wed, 25 Sep 1996 20:46:52 +0000 (20:46 +0000)]
sparc.c (print_operand): Handle new codes H/L.
* sparc.c (print_operand): Handle new codes H/L.
* sparc.md (lo_sum_di_sp32,adddi3_sp32,subdi3_sp32,
mulsidi3_sp32,const_mulsidi3,umulsidi3_sp32,const_umulsidi3,
smacdi,umacdi,anddi3_sp32,iordi3_sp32,xordi3_sp32,negdi2_sp32):
Add little endian support.
From-SVN: r12846
Doug Evans [Wed, 25 Sep 1996 20:39:46 +0000 (20:39 +0000)]
sparc.c (print_operand): Handle new codes H/L.
* sparc.c (print_operand): Handle new codes H/L.
* sparc.md (lo_sum_di_sp32,adddi3_sp32,subdi3_sp32,
mulsidi3_sp32,const_mulsidi3,umulsidi3_sp32,const_umulsidi3,
smacdi,umacdi,anddi3_sp32,iordi3_sp32,xordi3_sp32,negdi2_sp32):
Add little endian support.
From-SVN: r12845
Doug Evans [Wed, 25 Sep 1996 20:38:57 +0000 (20:38 +0000)]
Create multilib versions of -fpic/-fPIC.
From-SVN: r12844
Jim Wilson [Wed, 25 Sep 1996 20:23:32 +0000 (13:23 -0700)]
(store_bit_field): don't make flag_force_mem disable insv
for memory operands.
From-SVN: r12843
Jim Wilson [Wed, 25 Sep 1996 19:31:31 +0000 (12:31 -0700)]
(instantiate_decl): Always store addr back into x.
From-SVN: r12842
Jim Wilson [Wed, 25 Sep 1996 00:44:04 +0000 (17:44 -0700)]
(push_secondary_reload): Do strip paradoxical SUBREG even if reload_class is CLASS_CANNOT_CHANGE_SIZE.
(push_secondary_reload): Do strip paradoxical SUBREG
even if reload_class is CLASS_CANNOT_CHANGE_SIZE. Change reload_mode
to mode in SECONDARY_MEMORY_NEEDED and get_secondary_mem calls.
From-SVN: r12841
Jim Wilson [Tue, 24 Sep 1996 23:34:28 +0000 (16:34 -0700)]
(emit_reload_insns): For output part of RELOAD_OTHER,
emit after RELOAD_FOR_OUTPUT, in reverse order of reload number,
but not separately.
From-SVN: r12840
Jim Wilson [Tue, 24 Sep 1996 23:21:45 +0000 (16:21 -0700)]
Initial revision
From-SVN: r12839
Michael Meissner [Tue, 24 Sep 1996 22:14:57 +0000 (22:14 +0000)]
Fix SI followed by 4 DFs under AIX
From-SVN: r12838
Doug Evans [Tue, 24 Sep 1996 21:40:03 +0000 (21:40 +0000)]
Add comment about renmaing from aux.h.
From-SVN: r12837
Jeff Law [Tue, 24 Sep 1996 20:25:40 +0000 (14:25 -0600)]
Initial revision
From-SVN: r12836
Richard Kenner [Tue, 24 Sep 1996 12:33:44 +0000 (08:33 -0400)]
(copy_node): Fix error in last change.
From-SVN: r12835
Richard Kenner [Tue, 24 Sep 1996 12:28:52 +0000 (08:28 -0400)]
(used_arg): Fix multilib_matches parsing to not corrupt entry parameter.
From-SVN: r12834
Richard Kenner [Tue, 24 Sep 1996 12:22:03 +0000 (08:22 -0400)]
(get_condition): Use rtx_equal_p to compare rtx.
From-SVN: r12833
Richard Kenner [Tue, 24 Sep 1996 12:13:52 +0000 (08:13 -0400)]
(expand_inline_function): Avoid creating paradoxical subreg wider than
BITS_PER_WORD as inlined function result.
From-SVN: r12832
Richard Kenner [Tue, 24 Sep 1996 12:06:34 +0000 (08:06 -0400)]
(struct directive, directive_table, handle_directive): pass_thru now 1 for #define and 2 for #pragma.
(struct directive, directive_table, handle_directive): pass_thru now 1 for
#define and 2 for #pragma.
(handle_directive): When deciding whether to suppress comment at end of
directive, ignore tabs and spaces after comment. Remove redundant limit test.
With -dD -C, copy comment when isolating definition.
(skip_to_end_of_comment): With -C, don't copy newline at end of C++ comment.
From-SVN: r12831
Richard Kenner [Tue, 24 Sep 1996 12:00:06 +0000 (08:00 -0400)]
Insert newlines just before end of 'sed' command strings if last 'sed'
command is 'a' or 'i'.
From-SVN: r12830
Richard Kenner [Tue, 24 Sep 1996 11:28:50 +0000 (07:28 -0400)]
(PREFERRED_DEBUGGING_TYPE): If no debugging formats are supported, set to NO_DEBUG.
(PREFERRED_DEBUGGING_TYPE): If no debugging formats are supported, set
to NO_DEBUG.
(main): Don't do setting of PREFERRED_DEBUGGING_TYPE here.
From-SVN: r12829
Richard Kenner [Tue, 24 Sep 1996 02:50:55 +0000 (22:50 -0400)]
(finish_struct): Check PCC_BITFIELD_TYPE_MATTERS value.
(finish_struct): Check PCC_BITFIELD_TYPE_MATTERS value. arbitrary
expression.
From-SVN: r12828
Richard Kenner [Tue, 24 Sep 1996 02:45:12 +0000 (22:45 -0400)]
(BOOL): Define BOOL as int for VxWorks.
From-SVN: r12827
Richard Kenner [Tue, 24 Sep 1996 02:44:17 +0000 (22:44 -0400)]
(-vxsim*): New operating system.
From-SVN: r12795
Richard Kenner [Tue, 24 Sep 1996 02:43:53 +0000 (22:43 -0400)]
Initial revision
From-SVN: r12794
Richard Kenner [Tue, 24 Sep 1996 02:33:29 +0000 (22:33 -0400)]
(constrain_operands): Don't test clobbered constraints.
From-SVN: r12793
Richard Kenner [Tue, 24 Sep 1996 01:23:23 +0000 (21:23 -0400)]
(promote_mode, case REFERENCE_TYPE): New case.
From-SVN: r12792
Richard Kenner [Tue, 24 Sep 1996 01:15:37 +0000 (21:15 -0400)]
(dbxout_symbol): Fix forgotten case in last change: check
DECL_ARTIFICIAL also when using the short cut way.
From-SVN: r12791
Richard Kenner [Mon, 23 Sep 1996 23:48:51 +0000 (19:48 -0400)]
(copy_node): Abort if don't know size of node.
From-SVN: r12790
Richard Kenner [Mon, 23 Sep 1996 23:28:23 +0000 (19:28 -0400)]
(can_combine_p): Even if SMALL_REGISTER_CLASSES, know lifetime not
extended if all_adjacent set.
From-SVN: r12789
Richard Kenner [Mon, 23 Sep 1996 22:43:54 +0000 (18:43 -0400)]
(fold_rtx): Fold inside ASM_OPERANDS.
From-SVN: r12788
Richard Kenner [Mon, 23 Sep 1996 22:41:46 +0000 (18:41 -0400)]
(expand_asm_operands): Handle '+' constraint.
From-SVN: r12787
Richard Kenner [Mon, 23 Sep 1996 22:41:16 +0000 (18:41 -0400)]
Initial revision
From-SVN: r12786
Richard Kenner [Mon, 23 Sep 1996 20:42:58 +0000 (16:42 -0400)]
(expand_increment): If postincrement for MEM can't use add directly,
load address in reg and enqueue increment and store of reg.
From-SVN: r12785
Richard Kenner [Mon, 23 Sep 1996 20:15:26 +0000 (16:15 -0400)]
(check_dbra_loop): Don't assume label must be second part of
if_then_else in condjump.
From-SVN: r12784
Richard Kenner [Mon, 23 Sep 1996 20:07:01 +0000 (16:07 -0400)]
(jump_optimize): In no-nop move deletion, don't test PRESERVE_DEATH_INFO_REGNO_P...
(jump_optimize): In no-nop move deletion, don't test
PRESERVE_DEATH_INFO_REGNO_P; instead test if optimization is performed.
Check for REG_UNUSED note on to-be deleted insn before searching for preceding
instruction to delete note from.
If PRESERVE_DEATH_INFO_REGNO_P is true for SREG, replace INSN with USE.
From-SVN: r12783
Richard Kenner [Mon, 23 Sep 1996 19:55:15 +0000 (15:55 -0400)]
(build1): Clean up initialization of OBSTACK.
From-SVN: r12782
Richard Kenner [Mon, 23 Sep 1996 19:49:52 +0000 (15:49 -0400)]
(reload): Initialize the previous_offset fields in reg_eliminate
before calling setup_save_areas.
From-SVN: r12781
Jason Merrill [Mon, 23 Sep 1996 19:41:48 +0000 (19:41 +0000)]
More LANG_LIB2FUNCS.
From-SVN: r12780
Jim Wilson [Mon, 23 Sep 1996 19:34:01 +0000 (12:34 -0700)]
(dbxout_function): Don't check DECL_SECTION_NAME before
calling dbxout_function_end.
From-SVN: r12779
Richard Kenner [Mon, 23 Sep 1996 19:26:39 +0000 (15:26 -0400)]
(emit_reload_insns): Declare and set this_reload_insn.
From-SVN: r12778
Richard Kenner [Mon, 23 Sep 1996 18:40:48 +0000 (14:40 -0400)]
(var_rtx): New function.
(expand_expr, case COND_EXPR): Also use target if same as singleton.
From-SVN: r12777
Richard Kenner [Mon, 23 Sep 1996 18:22:18 +0000 (14:22 -0400)]
(emit_reload_insns): For output part of RELOAD_OTHER...
(emit_reload_insns): For output part of RELOAD_OTHER, put in front of
anything previous for that output, but not separately.
From-SVN: r12776
Richard Kenner [Mon, 23 Sep 1996 14:25:56 +0000 (10:25 -0400)]
Correct comments.
From-SVN: r12775
Richard Kenner [Mon, 23 Sep 1996 01:06:39 +0000 (21:06 -0400)]
(decl_attribtes, case A_SECTION): Allow for static local variable.
From-SVN: r12774
Richard Kenner [Sun, 22 Sep 1996 16:12:10 +0000 (12:12 -0400)]
Fix error in comments.
From-SVN: r12773
Richard Kenner [Sun, 22 Sep 1996 15:37:08 +0000 (11:37 -0400)]
(pushdecl): Check new declaration actually conflicts before warning about implicit external vs.
(pushdecl): Check new declaration actually conflicts before warning
about implicit external vs. static declarations.
From-SVN: r12772
Richard Kenner [Sun, 22 Sep 1996 15:30:04 +0000 (11:30 -0400)]
(convert_move): Replace explicit checks for FP extend ops with use of can_extend_p.
(convert_move): Replace explicit checks for FP extend ops with use of
can_extend_p.
Add missing tests for FP trunc operations.
From-SVN: r12771
Richard Kenner [Sun, 22 Sep 1996 15:19:49 +0000 (11:19 -0400)]
(DWARF_VERSION): Define as 1 if not already defined.
From-SVN: r12770
Richard Kenner [Sun, 22 Sep 1996 15:12:06 +0000 (11:12 -0400)]
(combine_givs): Improve combining DEST_REG giv with its only use.
From-SVN: r12769
Richard Kenner [Sun, 22 Sep 1996 14:49:59 +0000 (10:49 -0400)]
Replace use of __objc_xmalloc and free with objc_malloc and objc_free.
From-SVN: r12768
Richard Kenner [Sun, 22 Sep 1996 14:41:58 +0000 (10:41 -0400)]
Replace use of __objc_xcalloc, __objc_xrealloc, and __objc_xmalloc
with objc_calloc, objc_realloc, and objc_malloc.
From-SVN: r12767
Richard Kenner [Sun, 22 Sep 1996 14:39:18 +0000 (10:39 -0400)]
(__objc_xmalloc, __objc_xrealloc): Delete.
From-SVN: r12766
Richard Kenner [Sun, 22 Sep 1996 14:36:59 +0000 (10:36 -0400)]
Replace use of __obj_xmalloc and free with objc_malloc and objc_free.
From-SVN: r12765
Richard Kenner [Sun, 22 Sep 1996 14:36:08 +0000 (10:36 -0400)]
(_objc_malloc): New function pointer.
(_objc_atomic_malloc, _objc_valloc): Likewise.
(_objc_realloc, _objc_calloc, _objc_free): Likewise
From-SVN: r12764
Richard Kenner [Sun, 22 Sep 1996 14:35:45 +0000 (10:35 -0400)]
(objc_malloc): Renamed from __objc_xmalloc.
(objc_realloc): Renamed from __objc_realloc.
(objc_atomic_malloc): New function.
(objc_valloc): New function.
(objc_calloc): Renamed from __objc_calloc.
(objc_free): New function.
From-SVN: r12763
Richard Kenner [Sun, 22 Sep 1996 14:35:09 +0000 (10:35 -0400)]
Replace use of free with objc_free.
From-SVN: r12762
Richard Kenner [Sun, 22 Sep 1996 14:34:13 +0000 (10:34 -0400)]
Replace use of __objc_xcalloc and free with objc_calloc and objc_free.
From-SVN: r12761
Richard Kenner [Sun, 22 Sep 1996 14:33:49 +0000 (10:33 -0400)]
Replace use of __objc_xmalloc and free with objc_malloc and objc_free.
From-SVN: r12760
Jason Merrill [Sun, 22 Sep 1996 12:25:52 +0000 (12:25 +0000)]
LANG_LIB2FUNCS and LANG_EXTRA_HEADERS
From-SVN: r12759