platform/upstream/gcc.git
28 years agoUse proper modes and predicates for {sign,zero}_extract.
Richard Kenner [Mon, 11 Mar 1996 11:53:27 +0000 (06:53 -0500)]
Use proper modes and predicates for {sign,zero}_extract.

From-SVN: r11511

28 years ago(make_extraction): Use proper mode for INNER in all cases.
Richard Kenner [Mon, 11 Mar 1996 11:49:32 +0000 (06:49 -0500)]
(make_extraction): Use proper mode for INNER in all cases.

(simplify_comparison, case ZERO_EXTRACT): For bits big endian and no extzv,
use BITS_PER_WORD.

From-SVN: r11510

28 years ago(move_pic_label_si,move_label_di): Rewrite length
Doug Evans [Mon, 11 Mar 1996 06:05:08 +0000 (06:05 +0000)]
(move_pic_label_si,move_label_di): Rewrite length
attr calcs to be more conservative.

From-SVN: r11509

28 years ago(free_insn): New variable.
Richard Kenner [Sun, 10 Mar 1996 11:23:17 +0000 (06:23 -0500)]
(free_insn): New variable.

(init_emit, restore_emit_status): Clear it.
(gen_sequence): Store insn in free_insn when sequence length is 1.
(make_insn_raw): Use free_insn if available and still in the rtl generation
phase.

From-SVN: r11508

28 years agoUpdate comment for rtx_equal_function_value_matters.
Richard Kenner [Sun, 10 Mar 1996 11:15:07 +0000 (06:15 -0500)]
Update comment for rtx_equal_function_value_matters.

From-SVN: r11507

28 years ago85th Cygnus<->FSF quick merge
Mike Stump [Sat, 9 Mar 1996 20:23:30 +0000 (20:23 +0000)]
85th Cygnus<->FSF quick merge

From-SVN: r11506

28 years ago85th Cygnus<->FSF quick merge
Mike Stump [Sat, 9 Mar 1996 19:44:47 +0000 (19:44 +0000)]
85th Cygnus<->FSF quick merge

From-SVN: r11505

28 years agoexpr.c (expand_expr, [...]): Delay putting the cleanup on the cleanup chain until...
Mike Stump [Fri, 8 Mar 1996 23:44:26 +0000 (23:44 +0000)]
expr.c (expand_expr, [...]): Delay putting the cleanup on the cleanup chain until after the subexpression...

* expr.c (expand_expr, case TARGET_EXPR): Delay putting the cleanup
on the cleanup chain until after the subexpression has been expanded.
Fixes eh44.C and eh45.C

From-SVN: r11504

28 years ago(store_constructor_field): Add explanatory comment.
Jim Wilson [Fri, 8 Mar 1996 21:52:23 +0000 (13:52 -0800)]
(store_constructor_field): Add explanatory comment.

Call store_field if bitpos is nonzero and target is not a MEM.

From-SVN: r11503

28 years ago(ix86_binary_operator_ok): one memory operand is OK.
Stan Cox [Fri, 8 Mar 1996 21:19:14 +0000 (21:19 +0000)]
(ix86_binary_operator_ok): one memory operand is OK.

From-SVN: r11502

28 years ago(reg_unused_after): Return 0 if see a JUMP_INSN.
Jim Wilson [Fri, 8 Mar 1996 19:10:35 +0000 (11:10 -0800)]
(reg_unused_after): Return 0 if see a JUMP_INSN.

From-SVN: r11501

28 years ago(CPP_SPEC): Use %(cpp_cpu).
Doug Evans [Fri, 8 Mar 1996 17:59:37 +0000 (17:59 +0000)]
(CPP_SPEC): Use %(cpp_cpu).

From-SVN: r11500

28 years agosparc.h (TARGET_SWITCHES): Move -mlive-g0 from here,
Doug Evans [Fri, 8 Mar 1996 01:18:14 +0000 (01:18 +0000)]
sparc.h (TARGET_SWITCHES): Move -mlive-g0 from here,

* sparc.h (TARGET_SWITCHES): Move -mlive-g0 from here,
* splet.h (SUBTARGET_SWITCHES): To here.

From-SVN: r11499

28 years agosparc.h (TARGET_SWITCHES): Move -mlive-g0 from here,
Doug Evans [Fri, 8 Mar 1996 01:17:17 +0000 (01:17 +0000)]
sparc.h (TARGET_SWITCHES): Move -mlive-g0 from here,

splet.h (SUBTARGET_SWITCHES): To here.

From-SVN: r11498

28 years ago85th Cygnus<->FSF merge
Mike Stump [Fri, 8 Mar 1996 00:38:10 +0000 (00:38 +0000)]
85th Cygnus<->FSF merge

From-SVN: r11497

28 years agoInitial revision
Doug Evans [Fri, 8 Mar 1996 00:21:09 +0000 (00:21 +0000)]
Initial revision

From-SVN: r11496

28 years ago(eligible_for_epilogue_delay): Move set of `pat'.
Doug Evans [Fri, 8 Mar 1996 00:13:46 +0000 (00:13 +0000)]
(eligible_for_epilogue_delay): Move set of `pat'.

From-SVN: r11495

28 years agosparc.h (MASK_LIVE_G0,TARGET_LIVE_G0): Define.
Doug Evans [Fri, 8 Mar 1996 00:12:21 +0000 (00:12 +0000)]
sparc.h (MASK_LIVE_G0,TARGET_LIVE_G0): Define.

* sparc/sparc.h (MASK_LIVE_G0,TARGET_LIVE_G0): Define.
(TARGET_SWITCHES): Add live-g0.
(FIRST_PSEUDO_REGISTER): Add 1 for %icc (now 101).
(FIXED_REGISTERS,CALL_USED_REGISTERS): Update.
(FIXED_REGISTERS): %g0 is fixed by default.
(SPARC_{FIRST,LAST}_V9_FCC_REG): Define.
(SPARC_{ICC,FCC}_REG): Define.
(CONDITIONAL_REGISTER_USAGE): Don't fix %fcc0 if v8.
(REG_CLASS_CONTENTS): Reg 0 is an int reg, reg 100 is %icc.
(REGNO_REG_CLASS): Rewrite to use global `sparc_regno_reg_class'.
(REG_ALLOC_ORDER,REG_LEAF_ALLOC_ORDER,LEAF_REGISTERS): Add %icc.
(REG_CLASS_FROM_LETTER): Handle 'c' for FPCC_REGS in non-v9 case.
(REGNO_OK_FOR_{BASE,INDEX}_P): Treat %g0 as a normal reg.
(REG_OK_FOR_{BASE,INDEX}_P,EXTRA_CONSTRAINT): Likewise.
(REGISTER_NAMES): Add %icc.
(ADDITIONAL_REGISTER_NAMES): Use SPARC_ICC_REG.
* sparc/sparc.c (leaf_reg_remap): Add %icc=100.
(reg_or_0_operand): Don't allow 0 if TARGET_LIVE_G0.
(fcc_reg_operand): Renamed from ccfp_reg_operand.
Use SPARC_FCC_REG.  Don't treat reg 0 as an fcc reg.  Don't match
modes if `mode' argument is VOIDmode.
(icc_or_fcc_reg_operand): New function.
(gen_compare_reg): Use SPARC_FCC_REG for v8 fp compares.
Use SPARC_ICC_REG for int compares.
(eligible_for_epilogue_delay): Don't allow anything if TARGET_LIVE_G0.
Delete unnecessary test for %g0.
(emit_move_sequence): Don't emit (set (mem) (const_int 0)) if
TARGET_LIVE_G0.
(output_scc_insn): Label moved to operand 3.  Condition code reg
moved to operand 2.
(sparc_mode_class): Enum C_MODE renamed to CC_MODE.
(hard_32bit_mode_classes): Set reg 0 to S_MODES.  Add entry for %icc.
(hard_64bit_mode_classes): Set reg 0 to D_MODES.  Add entry for %icc.
(sparc_regno_reg_class): New global.
(sparc_init_modes): Initialize it.
(output_cbranch): Delete fp_cond_reg argument.
(print_operand, MEM op): Don't print "%g0+" if TARGET_SPARCLET.
(sparc_flat_eligible_for_epilogue_delay): Don't allow anything if
TARGET_LIVE_G0.
* sparc/sparc.md (live_g0): New attribute.
(*): Integer condition code register is now reg 100.
Use SPARC_ICC_REG instead of hardcoding reg 100 where possible.
Non-v9 floating point condition code register is now reg 96.
(*cmp{sf,df,tf}_{fpe,fp}_sp{32,64}): Combine v9/non-v9 cases.
(*{normal,inverted}_{,fp,fpe}_branch): Update call to output_cbranch.
(*mov{qi,hi,si}_insn): Don't use if TARGET_LIVE_G0.
(*mov{qi,hi,si}_insn_liveg0): New patterns.
(*mov{si,di,sf,df,tf}_ccfp{,e}_sp64): ccfp_reg_operand renamed to
fcc_reg_operand.
(*negdi2_sp32,negsi2,one_cmplsi2,ffssi2): Ensure %%g0 is 0 if
TARGET_LIVE_G0.
(*one_cmpldi2_sp32): Move operand 1 to rs1 and use 0 as rs2.
(patterns that use %g0 in rs2): Use 0 immediate value instead.
(patterns that read %g0): Don't use if TARGET_LIVE_G0.

From-SVN: r11494

28 years ago(PASS_IN_REG_P): Change < to <=.
Jim Wilson [Thu, 7 Mar 1996 23:12:02 +0000 (15:12 -0800)]
(PASS_IN_REG_P): Change < to <=.

From-SVN: r11493

28 years ago(va_start): Change __SH3E___ to __SH3E__.
Jim Wilson [Thu, 7 Mar 1996 23:10:54 +0000 (15:10 -0800)]
(va_start): Change __SH3E___ to __SH3E__.

(va_arg): Add little-endian SH3E support.  Fix big-endian version
to work for arguments smaller than the word size.

From-SVN: r11492

28 years agolib2funcs.asm: Remove entry/exit routines.
Jeff Law [Thu, 7 Mar 1996 17:38:08 +0000 (10:38 -0700)]
lib2funcs.asm: Remove entry/exit routines.

        * lib2funcs.asm: Remove entry/exit routines.  Move them into...
        * ee.asm: New file.  Entry/exit code.
        * ee_fp.asm: New file.  Entry/exit code with frame pointer.
        * t-pa: Corresponding changes.
        * t-pro: Corresponding changes.

From-SVN: r11491

28 years agoInitial revision
Jeff Law [Thu, 7 Mar 1996 17:34:53 +0000 (10:34 -0700)]
Initial revision

From-SVN: r11490

28 years agocd config/pa
Jeff Law [Thu, 7 Mar 1996 15:38:43 +0000 (08:38 -0700)]
cd config/pa

        * pa.c: Fix misc small typos/thinkos in recent changes.

From-SVN: r11489

28 years ago* t-pro (dp-bit rule): Fix typo.
Jeff Law [Thu, 7 Mar 1996 02:46:06 +0000 (19:46 -0700)]
* t-pro (dp-bit rule): Fix typo.

From-SVN: r11488

28 years ago(demangle_template): Fix for address-of-extern arguments.
Jason Merrill [Thu, 7 Mar 1996 01:40:04 +0000 (01:40 +0000)]
(demangle_template): Fix for address-of-extern arguments.

From-SVN: r11487

28 years ago(USER_H): Add ginclude/va-sh.h.
Jim Wilson [Thu, 7 Mar 1996 01:03:43 +0000 (17:03 -0800)]
(USER_H): Add ginclude/va-sh.h.

From-SVN: r11486

28 years agoUse va-sh.h.
Jim Wilson [Thu, 7 Mar 1996 00:59:13 +0000 (16:59 -0800)]
Use va-sh.h.

From-SVN: r11485

28 years agoNew file.
Jim Wilson [Thu, 7 Mar 1996 00:56:15 +0000 (16:56 -0800)]
New file.

From-SVN: r11484

28 years agolib2funcs.asm (__outline_prologue): Remove frame pointer support.
Jeff Law [Wed, 6 Mar 1996 20:18:32 +0000 (13:18 -0700)]
lib2funcs.asm (__outline_prologue): Remove frame pointer support.

        * lib2funcs.asm (__outline_prologue): Remove frame pointer
        support.
        (__outline_prologue_fp): Out of line prologue with frame pointer.
        (__outline_epilogue, outline_epilogue_fp): Similarly.
        * pa.c (compute_frame_size): Allocate enough space to avoid holes
        in the callee register saves.  Remove some special handling of %r3.
        (hppa_expand_prologue): Don't do an out of line prologue/epilogue
        if it would take more insns than an inline prologue/epilogue.
        Don't leave holes in the callee register save set.
        (hppa_expand_prologue): Corresponding changes.  Pass stack size
        to out of line epilogue code.
        * pa.h (FRAME_POINTER_REQUIRED): Revert last change.
        * pa.md (outline_prologue_call): Handle outline prologues which
        don't need frame pointers.
        (outline_epilogue_call): Similarly.
        * t-pro: Reenable multilib code.  Build a set of libraries that
        optimize for space.

From-SVN: r11483

28 years ago(PASS_IN_REG_P): Fix typo in last change.
Jim Wilson [Wed, 6 Mar 1996 19:45:40 +0000 (11:45 -0800)]
(PASS_IN_REG_P): Fix typo in last change.

From-SVN: r11482

28 years agoadd scheduling information for stores
David Edelsohn [Wed, 6 Mar 1996 16:40:14 +0000 (16:40 +0000)]
add scheduling information for stores

From-SVN: r11481

28 years ago602 uses 603 description
David Edelsohn [Wed, 6 Mar 1996 16:38:58 +0000 (16:38 +0000)]
602 uses 603 description

From-SVN: r11480

28 years ago(ASM_OUTPUT_SECTION_NAME): New define.
Richard Kenner [Tue, 5 Mar 1996 23:51:38 +0000 (18:51 -0500)]
(ASM_OUTPUT_SECTION_NAME): New define.

From-SVN: r11479

28 years ago(SUPPORT_PASCAL_STRINGS): Deleted.
Richard Kenner [Tue, 5 Mar 1996 23:49:33 +0000 (18:49 -0500)]
(SUPPORT_PASCAL_STRINGS): Deleted.

From-SVN: r11478

28 years agoInitial revision
Richard Kenner [Tue, 5 Mar 1996 23:43:19 +0000 (18:43 -0500)]
Initial revision

From-SVN: r11477

28 years ago(ASM_OUTPUT_CASE_END): Add missing semicolon.
Richard Kenner [Tue, 5 Mar 1996 23:38:05 +0000 (18:38 -0500)]
(ASM_OUTPUT_CASE_END): Add missing semicolon.

(switch_table_difference_label_flag): Make extern.

From-SVN: r11476

28 years ago(sys/param.h): Fix c89 __asm statements.
Richard Kenner [Tue, 5 Mar 1996 23:37:33 +0000 (18:37 -0500)]
(sys/param.h): Fix c89 __asm statements.

From-SVN: r11475

28 years agoAdd -apple and -aux.
Richard Kenner [Tue, 5 Mar 1996 23:34:58 +0000 (18:34 -0500)]
Add -apple and -aux.

From-SVN: r11465

28 years ago(find_barrier): Set si_limit to 1018 instead of 1020, and
Jim Wilson [Tue, 5 Mar 1996 23:28:32 +0000 (15:28 -0800)]
(find_barrier): Set si_limit to 1018 instead of 1020, and
hi_limit to 510 instead of 512.

From-SVN: r11464

28 years agosparc.md (*mov{qi,hi,si}_insn): Simplify length attribute.
Doug Evans [Tue, 5 Mar 1996 22:37:54 +0000 (22:37 +0000)]
sparc.md (*mov{qi,hi,si}_insn): Simplify length attribute.

* sparc/sparc.md (*mov{qi,hi,si}_insn): Simplify length attribute.
(*movsi_insn): Use fpload/fpstore attributes for fp loads/stores.
%r1 -> %1 for fpstore alternative.
(*movsf_insn,*movsf_no_f_insn): %r1 -> %1.

From-SVN: r11463

28 years ago(staticp): Check DECL_NO_STATIC_CHAIN on nested functions.
Jason Merrill [Tue, 5 Mar 1996 22:16:33 +0000 (22:16 +0000)]
(staticp): Check DECL_NO_STATIC_CHAIN on nested functions.

From-SVN: r11462

28 years ago(expand_expr, case *_DECL): If we make a non-local reference from a function with...
Jason Merrill [Tue, 5 Mar 1996 22:16:33 +0000 (22:16 +0000)]
(expand_expr, case *_DECL): If we make a non-local reference from a function with DECL_NO_STATIC_CHAIN set, abort.

(expand_expr, case *_DECL): If we make a non-local
        reference from a function with DECL_NO_STATIC_CHAIN set, abort.
        (expand_expr, case ADDR_EXPR): We don't need a trampoline for a
        function with DECL_NO_STATIC_CHAIN set.

From-SVN: r11461

28 years ago(JUMP_TABLES_IN_TEXT_SECTION): Define.
Jim Wilson [Tue, 5 Mar 1996 20:29:06 +0000 (12:29 -0800)]
(JUMP_TABLES_IN_TEXT_SECTION): Define.

From-SVN: r11460

28 years ago(push_e, pop_e): Add TARGET_SH3E to condition.
Jim Wilson [Tue, 5 Mar 1996 20:11:11 +0000 (12:11 -0800)]
(push_e, pop_e): Add TARGET_SH3E to condition.

From-SVN: r11459

28 years agoloop.c (init_loop): Use pseudo reg in add_cost computation so cost doesn't vary depen...
Doug Evans [Tue, 5 Mar 1996 18:39:19 +0000 (18:39 +0000)]
loop.c (init_loop): Use pseudo reg in add_cost computation so cost doesn't vary depending on...

* loop.c (init_loop): Use pseudo reg in add_cost computation
so cost doesn't vary depending on whether reg 0 happens to be
fixed or not.

From-SVN: r11458

28 years agoFix typo in last change.
Jeff Law [Tue, 5 Mar 1996 16:30:04 +0000 (09:30 -0700)]
Fix typo in last change.

From-SVN: r11457

28 years ago(free): Remove declaration.
Richard Kenner [Tue, 5 Mar 1996 15:28:39 +0000 (10:28 -0500)]
(free): Remove declaration.

From-SVN: r11456

28 years ago(free): Delete declaration of library function.
Richard Kenner [Tue, 5 Mar 1996 15:26:14 +0000 (10:26 -0500)]
(free): Delete declaration of library function.

From-SVN: r11455

28 years ago(record_label_references): Check for undefined label.
Richard Kenner [Tue, 5 Mar 1996 14:32:16 +0000 (09:32 -0500)]
(record_label_references): Check for undefined label.

From-SVN: r11454

28 years agoInitial revision
Richard Kenner [Tue, 5 Mar 1996 14:22:13 +0000 (09:22 -0500)]
Initial revision

From-SVN: r11453

28 years agoDelete reference to thread-test directory.
Richard Kenner [Tue, 5 Mar 1996 14:14:02 +0000 (09:14 -0500)]
Delete reference to thread-test directory.

From-SVN: r11452

28 years agoInitial revision
Richard Kenner [Tue, 5 Mar 1996 14:13:36 +0000 (09:13 -0500)]
Initial revision

From-SVN: r11451

28 years agoDelete reference to thread-test.
Richard Kenner [Tue, 5 Mar 1996 14:13:24 +0000 (09:13 -0500)]
Delete reference to thread-test.

From-SVN: r11450

28 years agoInitial revision
Richard Kenner [Tue, 5 Mar 1996 14:13:02 +0000 (09:13 -0500)]
Initial revision

From-SVN: r11449

28 years ago(get_imp, __objc_responds_to): Surround sarray access with mutex lock/unlock.
Richard Kenner [Tue, 5 Mar 1996 14:12:47 +0000 (09:12 -0500)]
(get_imp, __objc_responds_to): Surround sarray access with mutex lock/unlock.

(__objc_init_install_dtable): Likewise.
(__objc_update_dispatch_table_for_class): Likewise.
(__objc_print_dtable_stats): Likewise.

From-SVN: r11448

28 years ago(sel_get_typed_uid, sel_get_any_typed_uid): Likewise.
Richard Kenner [Tue, 5 Mar 1996 14:12:08 +0000 (09:12 -0500)]
(sel_get_typed_uid, sel_get_any_typed_uid): Likewise.

(sel_get_any_uid, sel_get_name, sel_register_name): Likewise.
(sel_register_typed_name): Likewise.

From-SVN: r11447

28 years ago(union sversion): New.
Richard Kenner [Tue, 5 Mar 1996 14:11:25 +0000 (09:11 -0500)]
(union sversion): New.

(struct sarray): Maintain multiple versions.
(sarray_remove_garbage): Add prototype.

From-SVN: r11446

28 years ago(sarray_{remove,free}_garbage): New functions.
Richard Kenner [Tue, 5 Mar 1996 14:10:50 +0000 (09:10 -0500)]
(sarray_{remove,free}_garbage): New functions.

(sarray_at_put, sarray_new, sarray_lazy_copy):
Modify/copy sarray structure/data in a thread-safe manner
(sarray_{realloc,free}): Reallocate/free sarray structure/data in a
thread-safe manner.

From-SVN: r11445

28 years agoInclude objc/thread.h.
Richard Kenner [Tue, 5 Mar 1996 14:10:10 +0000 (09:10 -0500)]
Include objc/thread.h.

From-SVN: r11444

28 years agoUpdate comments.
Richard Kenner [Tue, 5 Mar 1996 14:09:10 +0000 (09:09 -0500)]
Update comments.

From-SVN: r11443

28 years ago(__objc_runtime_mutux, __objc_runtime_thread_alive): New variables.
Richard Kenner [Tue, 5 Mar 1996 14:07:56 +0000 (09:07 -0500)]
(__objc_runtime_mutux, __objc_runtime_thread_alive): New variables.

(objc_init_statics, __objc_init_protocols): Surround sarray access
with mutex lock/unlock
(__objc_exec_class): Likewise.
Initialization for thread-safe global variables.
Declarations for thread-safe functions and global variables

From-SVN: r11442

28 years ago(__objc_init_class_tables): Surround sarray access with mutex lock/unlock.
Richard Kenner [Tue, 5 Mar 1996 14:06:45 +0000 (09:06 -0500)]
(__objc_init_class_tables): Surround sarray access with mutex lock/unlock.

(__objc_add_class_to_hash, objc_lookup_class): Likewise.
(objc_get_class, objc_get_next_class): Likweise.
(__objc_resolve_class_links, class_pose_as) Likewise.

From-SVN: r11441

28 years agoChanges to compile new files and name renaming.
Richard Kenner [Tue, 5 Mar 1996 14:06:02 +0000 (09:06 -0500)]
Changes to compile new files and name renaming.

From-SVN: r11440

28 years ago(duplicate_decl): If making decl non-external, copy context from old
Richard Kenner [Tue, 5 Mar 1996 12:51:14 +0000 (07:51 -0500)]
(duplicate_decl): If making decl non-external, copy context from old
to new.

From-SVN: r11439

28 years agolib2funcs.asm (__outline_prologue): New "function".
Jeff Law [Tue, 5 Mar 1996 07:34:13 +0000 (00:34 -0700)]
lib2funcs.asm (__outline_prologue): New "function".

        * lib2funcs.asm (__outline_prologue): New "function".
        (__outline_epilogue): New "function".
        * pa.h (TARGET_SPACE): Define.
        (target_flags): Add -mspace and -mno-space.  Enable/disable
        space saving optimizations.
        (FRAME_POINTER_REQUIRED): Frame pointers are always required
        when generating out of line prologues and epilogues.
        * pa.c (compute_frame_size): Handle out of line prologues/epilogues.
        (hppa_expand_prologue): If optimizing for space, emit an out of
        line prologue.
        * pa.c (compute_frame_size): Handle out of line prologues/epilogues.
        (hppa_expand_prologue): If optimizing for space, emit an out of
        line prologue.
        (hppa_expand_epilogue): Similarly.
        (override_options): Optimizing for space is not compatable with
        either profiling or PIC code generation.
        * pa.md (outline_prologue_call): New pattern.
        (outline_epilogue_call): Likewise.

From-SVN: r11438

28 years agosparc.md (*cmp{si,di}_insn): %r0 -> %0.
Doug Evans [Tue, 5 Mar 1996 07:16:53 +0000 (07:16 +0000)]
sparc.md (*cmp{si,di}_insn): %r0 -> %0.

* sparc/sparc.md (*cmp{si,di}_insn): %r0 -> %0.
(DFmode move split): Ensure registers not extended v9 fp regs.
(*mov{sf,df,tf}_cc_reg_sp64): %r3 -> %3.

From-SVN: r11437

28 years ago(moss): Fix previous change.
Erik Naggum [Tue, 5 Mar 1996 03:02:45 +0000 (04:02 +0100)]
(moss): Fix previous change.

From-SVN: r11435

28 years ago(grokdeclarator): Restore #if 0's to disable decl_machine_attr references.
Doug Evans [Tue, 5 Mar 1996 00:34:32 +0000 (00:34 +0000)]
(grokdeclarator): Restore #if 0's to disable decl_machine_attr references.

From-SVN: r11434

28 years agomanfred@lts.sel.alcatel.de
Manfred Hollstein [Mon, 4 Mar 1996 23:49:28 +0000 (18:49 -0500)]
manfred@lts.sel.alcatel.de

From-SVN: r11433

28 years ago(L_bb/atexit, onexit): Declarations replaced by #include'ing "gbl-ctors.h".
Richard Kenner [Mon, 4 Mar 1996 23:46:29 +0000 (18:46 -0500)]
(L_bb/atexit, onexit): Declarations replaced by #include'ing "gbl-ctors.h".

(L_exit/atexit): New function.
(L_exit/exit): Call any registered functions.

From-SVN: r11432

28 years ago(HAVE_ATEXIT): Define if NEED_ATEXIT is defined.
Richard Kenner [Mon, 4 Mar 1996 23:45:47 +0000 (18:45 -0500)]
(HAVE_ATEXIT): Define if NEED_ATEXIT is defined.

(atexit): Use `int atexit' prototype also if NEED_ATEXIT is defined.
(on_exit): According to man on_exit on the Sun it returns int not void.

From-SVN: r11431

28 years ago(USG): Set to 1.
Richard Kenner [Mon, 4 Mar 1996 23:44:47 +0000 (18:44 -0500)]
(USG): Set to 1.

From-SVN: r11430

28 years agoInitial revision
Richard Kenner [Mon, 4 Mar 1996 23:44:17 +0000 (18:44 -0500)]
Initial revision

From-SVN: r11429

28 years ago(FUNCTION_PROFILER): Emit label references corresponding to those generated by ASM_OU...
Richard Kenner [Mon, 4 Mar 1996 23:42:46 +0000 (18:42 -0500)]
(FUNCTION_PROFILER): Emit label references corresponding to those generated by ASM_OUTPUT_INTERNAL_LABEL.

(FUNCTION_PROFILER): Emit label references corresponding to those generated
by ASM_OUTPUT_INTERNAL_LABEL.
(MOTOROLA, MOTOROLA_BSR, ...): Define #ifndef USE_GAS.
(ASM_SPEC): Define properly #ifdef USE_GAS.
(LIB_SPEC): -L/usr/lib/libp deleted.
(STARTFILE_SPEC): -L/usr/lib/libp added.
(DEFAULT_A_OUT_NAME): Define.
(LINK_SPEC): Pass -v if GNU ld is used.
(LOCAL_LABEL_PREFIX): Local labels start with .L using GAS, else L%.
(USER_LABEL_PREFIX): Undefine.
(FUNCTION_PROFILER): Call asm_fprintf instead of normal fprintf.
(ASM_APP_ON, ASM_FILE_START): GAS supports it.
(CTORS_.../DTORS_...): Define if GNU ld is used.
(ASM_FILE_START): Define properly for Motorola and GNU as syntax.
(TARGET_VERSION): Re-define only #ifndef USE_GAS.
(CALL_USED_REGISTERS): Deleted.
(GLOBAL_ASM_OP): Re-define only #ifndef USE_GAS.
(ASM_{LONG,SHORT,CHAR,BYTE,BYTE_OP}): New macros.
(ASM_OUTPUT_{DOUBLE,LONG_DOUBLE,FLOAT,INT,SHORT}): Use them.
(ASM_OUTPUT_{CHAR,BYTE,ASCII,FLOAT_OPERAND,DOUBLE_OPERAND}): Likewise.
(ALIGN_ASM_OP, SKIP_ASM_OP): New macros.
(ASM_OUTPUT_{ALIGN,SKIP}): Use them.
(ASM_OUTPUT_SOURCE_FILENAME): Define only if not using GNU as.
(ASM_{GENERATE,OUTPUT}_INTERAL_LABEL): Provide proper definitions for
Motorola and GNU as syntax.
(ASM_OUTPUT_ADDR_{VEC,DIFF}_ELT): Changed for portability between
Motorola and GNU as syntax.
(ASM_OUTPUT_{CASE_LABEL,OPCODE}): Define only if not using GNU as.
(ASM_OUTPUT_CASE_FETCH, ASM_RETURN_CASE_JUMP): New macros.
(ASM_OUTPUT_{COMMON,LOCAL}): Proper defns for Motorola and gas syntax.
(SDB_...): Define only for Motorola as.
(ALT_LIBM): New define to tell g++.c about an alternative name for `-lm'.
(MATH_LIBRARY, NEED_ATEXIT, HAVE_ATEXIT, EXIT_BODY): New macros.

From-SVN: r11428

28 years ago(print_operand): Emit .l as scale factor #ifdef MOTOROLA.
Richard Kenner [Mon, 4 Mar 1996 23:40:06 +0000 (18:40 -0500)]
(print_operand): Emit .l as scale factor #ifdef MOTOROLA.

From-SVN: r11427

28 years ago(main): Check new define DEFAULT_A_OUT_NAME.
Richard Kenner [Mon, 4 Mar 1996 23:39:47 +0000 (18:39 -0500)]
(main): Check new define DEFAULT_A_OUT_NAME.

From-SVN: r11426

28 years ago(CRT0STUFF_T_CFLAGS): New macro.
Richard Kenner [Mon, 4 Mar 1996 23:39:06 +0000 (18:39 -0500)]
(CRT0STUFF_T_CFLAGS): New macro.

(stamp-crt0, crt0.o, mcrt0.o): New goals.
(STAGESTUFF): stamp-crt0 added.

From-SVN: r11425

28 years ago(PASS_IN_REG_P): Don't reject BLKmode for SH3e.
Jim Wilson [Mon, 4 Mar 1996 23:38:50 +0000 (15:38 -0800)]
(PASS_IN_REG_P): Don't reject BLKmode for SH3e.

For SH3e, do reject parameter that won't fit entirely in registers.

From-SVN: r11424

28 years ago(mulhisi3-2, mulhisi3-1, mulsidi3_i, umulsidi3_i,
Jim Wilson [Mon, 4 Mar 1996 23:07:38 +0000 (15:07 -0800)]
(mulhisi3-2, mulhisi3-1, mulsidi3_i, umulsidi3_i,

smulsi3_highpart, umulsi3_highpart): Renames operands 1/2 to 0/1.
(mulsidi3, umulsidi3): Add support for TARGET_LITTLE_ENDIAN.

From-SVN: r11423

28 years agoInitial revision
Richard Kenner [Mon, 4 Mar 1996 23:03:33 +0000 (18:03 -0500)]
Initial revision

From-SVN: r11422

28 years agoAccept -moss* as op sys.
Richard Kenner [Mon, 4 Mar 1996 23:03:15 +0000 (18:03 -0500)]
Accept -moss* as op sys.

From-SVN: r11421

28 years agoRemove a Cygnus FSF difference, so the tree will build.
Mike Stump [Mon, 4 Mar 1996 22:46:30 +0000 (22:46 +0000)]
Remove a Cygnus FSF difference, so the tree will build.

From-SVN: r11420

28 years ago(machine_dependent_reorg): In TARGET_RELAX code...
Jim Wilson [Mon, 4 Mar 1996 22:37:57 +0000 (14:37 -0800)]
(machine_dependent_reorg): In TARGET_RELAX code...

(machine_dependent_reorg): In TARGET_RELAX code, when scan
forward from LINK, fail if pass a CODE_LABEL before finding INSN.
Fail if SCAN not INSN is a JUMP_INSN.

From-SVN: r11419

28 years agoUpdate copyright.
Doug Evans [Mon, 4 Mar 1996 20:18:45 +0000 (20:18 +0000)]
Update copyright.

From-SVN: r11418

28 years agoFix typo in last change.
Michael Meissner [Mon, 4 Mar 1996 20:06:58 +0000 (20:06 +0000)]
Fix typo in last change.

From-SVN: r11417

28 years agoAdd attribute((longcall)) support
Michael Meissner [Mon, 4 Mar 1996 16:34:29 +0000 (16:34 +0000)]
Add attribute((longcall)) support

From-SVN: r11416

28 years ago(significand_size): Don't test the modes, but their sizes.
Richard Kenner [Mon, 4 Mar 1996 13:57:43 +0000 (08:57 -0500)]
(significand_size): Don't test the modes, but their sizes.

From-SVN: r11415

28 years ago(xstrdup): Declare instead of instead of strdup.
Richard Kenner [Mon, 4 Mar 1996 13:42:03 +0000 (08:42 -0500)]
(xstrdup): Declare instead of instead of strdup.

(ASM_OUTPUT_LABEL): Use xstrdup instead of strdup.
(FIX_FRAME_POINTER_ADDRESS): Don't use DEPTH in string.

From-SVN: r11414

28 years ago(strdup): Delete.
Richard Kenner [Mon, 4 Mar 1996 13:40:48 +0000 (08:40 -0500)]
(strdup): Delete.

(float_label):  xstrdup instead of strdup.

From-SVN: r11413

28 years ago(bc_expand_function_start): Likewise.
Richard Kenner [Mon, 4 Mar 1996 13:40:01 +0000 (08:40 -0500)]
(bc_expand_function_start): Likewise.

From-SVN: r11412

28 years ago(bc_strdup): Delete.
Richard Kenner [Mon, 4 Mar 1996 13:39:11 +0000 (08:39 -0500)]
(bc_strdup): Delete.

(bc_load_externaddr_id): Use xstrdup instead of bc_xstrdup.

From-SVN: r11411

28 years ago(bc_xstrdup): Delete.
Richard Kenner [Mon, 4 Mar 1996 13:38:39 +0000 (08:38 -0500)]
(bc_xstrdup): Delete.

From-SVN: r11410

28 years ago(xstrdup): Declare.
Richard Kenner [Mon, 4 Mar 1996 13:36:43 +0000 (08:36 -0500)]
(xstrdup): Declare.

From-SVN: r11409

28 years ago(xstrdup): New function.
Richard Kenner [Mon, 4 Mar 1996 13:36:14 +0000 (08:36 -0500)]
(xstrdup): New function.

From-SVN: r11408

28 years ago(xstrdup): Moved from here.
Richard Kenner [Mon, 4 Mar 1996 13:35:34 +0000 (08:35 -0500)]
(xstrdup): Moved from here.

From-SVN: r11407

28 years ago(NO_WAIT_H): Deleted.
Richard Kenner [Mon, 4 Mar 1996 13:24:34 +0000 (08:24 -0500)]
(NO_WAIT_H): Deleted.

From-SVN: r11406

28 years agoNever include wait.h.
Richard Kenner [Mon, 4 Mar 1996 13:23:11 +0000 (08:23 -0500)]
Never include wait.h.

From-SVN: r11405

28 years ago(expand_call): If passing by invisible ref, not const.
Richard Kenner [Sat, 2 Mar 1996 19:30:32 +0000 (14:30 -0500)]
(expand_call): If passing by invisible ref, not const.

From-SVN: r11404

28 years agoh8300.h (BIGGEST_FIELD_ALIGNMENT): Replace uses of TARGET_ALIGN_STRUCT_300 with TARGE...
Doug Evans [Sat, 2 Mar 1996 18:40:11 +0000 (18:40 +0000)]
h8300.h (BIGGEST_FIELD_ALIGNMENT): Replace uses of TARGET_ALIGN_STRUCT_300 with TARGET_ALIGN_300.

* h8300.h (BIGGEST_FIELD_ALIGNMENT): Replace uses of
TARGET_ALIGN_STRUCT_300 with TARGET_ALIGN_300.
(BIGGEST_ALIGNMENT): Likewise.

From-SVN: r11403

28 years ago(SKIP_CALLERS_UNIMP_P): Make agree with test used in call.
Richard Kenner [Sat, 2 Mar 1996 17:44:23 +0000 (12:44 -0500)]
(SKIP_CALLERS_UNIMP_P): Make agree with test used in call.

From-SVN: r11402