Commit Graph

12458 Commits

Author SHA1 Message Date
Richard Kenner
a5ee6e4484 (contains_placeholder): Return 1 for PLACEHOLDER_EXPR.
From-SVN: r12862
1996-09-29 18:46:25 -04:00
Richard Kenner
862424838e (store_expr): memset/bzero gets ptr_mode, not Pmode.
From-SVN: r12861
1996-09-29 18:42:12 -04:00
Richard Kenner
7f070d5ee4 (expand_asm_operands): Fix errors in previous patches.
From-SVN: r12860
1996-09-29 18:33:31 -04:00
Richard Kenner
8f6b2c91f0 Simplify, but ensure headers aren't changed.
From-SVN: r12859
1996-09-29 18:27:22 -04:00
Richard Kenner
7f411a987c No longer include direct.h for _WIN32.
From-SVN: r12858
1996-09-29 18:21:44 -04:00
Richard Kenner
69cbb85a10 (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
1996-09-29 18:11:33 -04:00
Richard Kenner
5c6b1bd2d3 (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
1996-09-29 15:56:23 -04:00
Michael Meissner
0404429725 Allow pointers to be short
From-SVN: r12855
1996-09-29 16:42:27 +00:00
Richard Kenner
412c00dcfa (fixup_gotos): When running undefined labels, if no cleanup actions
for this block, don't clear BEFORE_JUMP.

From-SVN: r12854
1996-09-29 11:21:58 -04:00
Michael Meissner
9787ad71f1 Allow short to be size_t
From-SVN: r12853
1996-09-27 17:49:57 +00:00
Stan Cox
51c0d897d4 (do_spec_1): Allow -A in %[Spec].
From-SVN: r12852
1996-09-27 16:54:10 +00:00
Stan Cox
8524774e64 (CPP_SPEC): Use %[cpp_cpu].
From-SVN: r12851
1996-09-27 16:01:16 +00:00
Torbjorn Granlund
33163aceba (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
1996-09-26 21:55:07 +00:00
Jim Wilson
ae678a1326 (stmp-int-hdrs): Don't cd to srcdir before copying
header files to objdir.

From-SVN: r12849
1996-09-26 14:10:02 -07:00
Jeff Law
7d9f07f4f9 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
1996-09-25 21:26:04 -06:00
Jim Wilson
725de644d6 (insv): New pattern.
From-SVN: r12847
1996-09-25 15:51:33 -07:00
Doug Evans
103fa5258f 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
1996-09-25 20:46:52 +00:00
Doug Evans
0f39a9aa8b 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
1996-09-25 20:39:46 +00:00
Doug Evans
ba619c961f Create multilib versions of -fpic/-fPIC.
From-SVN: r12844
1996-09-25 20:38:57 +00:00
Jim Wilson
4dbebeb224 (store_bit_field): don't make flag_force_mem disable insv
for memory operands.

From-SVN: r12843
1996-09-25 13:23:32 -07:00
Jim Wilson
87ce34d632 (instantiate_decl): Always store addr back into x.
From-SVN: r12842
1996-09-25 12:31:31 -07:00
Jim Wilson
f49e41275c (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
1996-09-24 17:44:04 -07:00
Jim Wilson
befa01b9b7 (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
1996-09-24 16:34:28 -07:00
Jim Wilson
feca2ed35b Initial revision
From-SVN: r12839
1996-09-24 16:21:45 -07:00
Michael Meissner
eaa9b4d930 Fix SI followed by 4 DFs under AIX
From-SVN: r12838
1996-09-24 22:14:57 +00:00
Doug Evans
b939e29f99 Add comment about renmaing from aux.h.
From-SVN: r12837
1996-09-24 21:40:03 +00:00
Jeff Law
fc5a879090 Initial revision
From-SVN: r12836
1996-09-24 14:25:40 -06:00
Richard Kenner
b14b81294e (copy_node): Fix error in last change.
From-SVN: r12835
1996-09-24 08:33:44 -04:00
Richard Kenner
1a0bdd2991 (used_arg): Fix multilib_matches parsing to not corrupt entry parameter.
From-SVN: r12834
1996-09-24 08:28:52 -04:00
Richard Kenner
a95c317b3d (get_condition): Use rtx_equal_p to compare rtx.
From-SVN: r12833
1996-09-24 08:22:03 -04:00
Richard Kenner
2d0bd5fde0 (expand_inline_function): Avoid creating paradoxical subreg wider than
BITS_PER_WORD as inlined function result.

From-SVN: r12832
1996-09-24 08:13:52 -04:00
Richard Kenner
f2662b08c7 (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
1996-09-24 08:06:34 -04:00
Richard Kenner
2dbb8078bf Insert newlines just before end of 'sed' command strings if last 'sed'
command is 'a' or 'i'.

From-SVN: r12830
1996-09-24 08:00:06 -04:00
Richard Kenner
30657ee33d (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
1996-09-24 07:28:50 -04:00
Richard Kenner
1507aa7422 (finish_struct): Check PCC_BITFIELD_TYPE_MATTERS value.
(finish_struct): Check PCC_BITFIELD_TYPE_MATTERS value.  arbitrary
expression.

From-SVN: r12828
1996-09-23 22:50:55 -04:00
Richard Kenner
1ebf4f3910 (BOOL): Define BOOL as int for VxWorks.
From-SVN: r12827
1996-09-23 22:45:12 -04:00
Richard Kenner
3c34d513e6 (-vxsim*): New operating system.
From-SVN: r12795
1996-09-23 22:44:17 -04:00
Richard Kenner
41b4dc74e3 Initial revision
From-SVN: r12794
1996-09-23 22:43:53 -04:00
Richard Kenner
0b97ea96f6 (constrain_operands): Don't test clobbered constraints.
From-SVN: r12793
1996-09-23 22:33:29 -04:00
Richard Kenner
56a4c9e298 (promote_mode, case REFERENCE_TYPE): New case.
From-SVN: r12792
1996-09-23 21:23:23 -04:00
Richard Kenner
37306b1ec0 (dbxout_symbol): Fix forgotten case in last change: check
DECL_ARTIFICIAL also when using the short cut way.

From-SVN: r12791
1996-09-23 21:15:37 -04:00
Richard Kenner
ff615e83f6 (copy_node): Abort if don't know size of node.
From-SVN: r12790
1996-09-23 19:48:51 -04:00
Richard Kenner
e309d4d2f7 (can_combine_p): Even if SMALL_REGISTER_CLASSES, know lifetime not
extended if all_adjacent set.

From-SVN: r12789
1996-09-23 19:28:23 -04:00
Richard Kenner
9255709cac (fold_rtx): Fold inside ASM_OPERANDS.
From-SVN: r12788
1996-09-23 18:43:54 -04:00
Richard Kenner
235c50216b (expand_asm_operands): Handle '+' constraint.
From-SVN: r12787
1996-09-23 18:41:46 -04:00
Richard Kenner
c1f7febfcb Initial revision
From-SVN: r12786
1996-09-23 18:41:16 -04:00
Richard Kenner
0842a17931 (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
1996-09-23 16:42:58 -04:00
Richard Kenner
3c2f289c1a (check_dbra_loop): Don't assume label must be second part of
if_then_else in condjump.

From-SVN: r12784
1996-09-23 16:15:26 -04:00
Richard Kenner
59df2b2b6f (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
1996-09-23 16:07:01 -04:00
Richard Kenner
0ac224f875 (build1): Clean up initialization of OBSTACK.
From-SVN: r12782
1996-09-23 15:55:15 -04:00