aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1996-03-08(reg_unused_after): Return 0 if see a JUMP_INSN.Jim Wilson1-2/+5
From-SVN: r11501
1996-03-08(CPP_SPEC): Use %(cpp_cpu).Doug Evans1-2/+2
From-SVN: r11500
1996-03-08sparc.h (TARGET_SWITCHES): Move -mlive-g0 from here,Doug Evans1-0/+6
* sparc.h (TARGET_SWITCHES): Move -mlive-g0 from here, * splet.h (SUBTARGET_SWITCHES): To here. From-SVN: r11499
1996-03-08sparc.h (TARGET_SWITCHES): Move -mlive-g0 from here,Doug Evans1-1/+0
splet.h (SUBTARGET_SWITCHES): To here. From-SVN: r11498
1996-03-0885th Cygnus<->FSF mergeMike Stump17-103/+340
From-SVN: r11497
1996-03-08Initial revisionDoug Evans2-0/+51
From-SVN: r11496
1996-03-08(eligible_for_epilogue_delay): Move set of `pat'.Doug Evans1-2/+2
From-SVN: r11495
1996-03-08sparc.h (MASK_LIVE_G0,TARGET_LIVE_G0): Define.Doug Evans3-419/+595
* 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
1996-03-07(PASS_IN_REG_P): Change < to <=.Jim Wilson1-1/+1
From-SVN: r11493
1996-03-07(va_start): Change __SH3E___ to __SH3E__.Jim Wilson1-9/+46
(va_arg): Add little-endian SH3E support. Fix big-endian version to work for arguments smaller than the word size. From-SVN: r11492
1996-03-07lib2funcs.asm: Remove entry/exit routines.Jeff Law3-469/+20
* 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
1996-03-07Initial revisionJeff Law2-0/+535
From-SVN: r11490
1996-03-07cd config/paJeff Law1-4/+5
* pa.c: Fix misc small typos/thinkos in recent changes. From-SVN: r11489
1996-03-06* t-pro (dp-bit rule): Fix typo.Jeff Law1-1/+1
From-SVN: r11488
1996-03-07(demangle_template): Fix for address-of-extern arguments.Jason Merrill1-1/+9
From-SVN: r11487
1996-03-06(USER_H): Add ginclude/va-sh.h.Jim Wilson1-1/+1
From-SVN: r11486
1996-03-06Use va-sh.h.Jim Wilson2-0/+8
From-SVN: r11485
1996-03-06New file.Jim Wilson1-0/+183
From-SVN: r11484
1996-03-06lib2funcs.asm (__outline_prologue): Remove frame pointer support.Jeff Law5-117/+444
* 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
1996-03-06(PASS_IN_REG_P): Fix typo in last change.Jim Wilson1-1/+1
From-SVN: r11482
1996-03-06add scheduling information for storesDavid Edelsohn1-121/+181
From-SVN: r11481
1996-03-06602 uses 603 descriptionDavid Edelsohn2-5/+6
From-SVN: r11480
1996-03-05(ASM_OUTPUT_SECTION_NAME): New define.Richard Kenner1-0/+8
From-SVN: r11479
1996-03-05(SUPPORT_PASCAL_STRINGS): Deleted.Richard Kenner1-3/+0
From-SVN: r11478
1996-03-05Initial revisionRichard Kenner8-0/+659
From-SVN: r11477
1996-03-05(ASM_OUTPUT_CASE_END): Add missing semicolon.Richard Kenner1-3/+3
(switch_table_difference_label_flag): Make extern. From-SVN: r11476
1996-03-05(sys/param.h): Fix c89 __asm statements.Richard Kenner1-0/+18
From-SVN: r11475
1996-03-05Add -apple and -aux.Richard Kenner1-2/+10
From-SVN: r11465
1996-03-05(find_barrier): Set si_limit to 1018 instead of 1020, andJim Wilson1-4/+8
hi_limit to 510 instead of 512. From-SVN: r11464
1996-03-05sparc.md (*mov{qi,hi,si}_insn): Simplify length attribute.Doug Evans1-8/+8
* 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
1996-03-05(staticp): Check DECL_NO_STATIC_CHAIN on nested functions.Jason Merrill1-1/+1
From-SVN: r11462
1996-03-05(expand_expr, case *_DECL): If we make a non-local reference from a function ↵Jason Merrill2-4/+9
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
1996-03-05(JUMP_TABLES_IN_TEXT_SECTION): Define.Jim Wilson1-0/+4
From-SVN: r11460
1996-03-05(push_e, pop_e): Add TARGET_SH3E to condition.Jim Wilson1-2/+2
From-SVN: r11459
1996-03-05loop.c (init_loop): Use pseudo reg in add_cost computation so cost doesn't ↵Doug Evans1-1/+1
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
1996-03-05Fix typo in last change.Jeff Law1-1/+1
From-SVN: r11457
1996-03-05(free): Remove declaration.Richard Kenner1-1/+0
From-SVN: r11456
1996-03-05(free): Delete declaration of library function.Richard Kenner1-1/+0
From-SVN: r11455
1996-03-05(record_label_references): Check for undefined label.Richard Kenner1-0/+4
From-SVN: r11454
1996-03-05Initial revisionRichard Kenner8-0/+1888
From-SVN: r11453
1996-03-05Delete reference to thread-test directory.Richard Kenner1-6/+0
From-SVN: r11452
1996-03-05Initial revisionRichard Kenner1-0/+206
From-SVN: r11451
1996-03-05Delete reference to thread-test.Richard Kenner1-2/+0
From-SVN: r11450
1996-03-05Initial revisionRichard Kenner1-0/+52
From-SVN: r11449
1996-03-05(get_imp, __objc_responds_to): Surround sarray access with mutex lock/unlock.Richard Kenner1-6/+28
(__objc_init_install_dtable): Likewise. (__objc_update_dispatch_table_for_class): Likewise. (__objc_print_dtable_stats): Likewise. From-SVN: r11448
1996-03-05(sel_get_typed_uid, sel_get_any_typed_uid): Likewise.Richard Kenner1-14/+56
(sel_get_any_uid, sel_get_name, sel_register_name): Likewise. (sel_register_typed_name): Likewise. From-SVN: r11447
1996-03-05(union sversion): New.Richard Kenner1-5/+14
(struct sarray): Maintain multiple versions. (sarray_remove_garbage): Add prototype. From-SVN: r11446
1996-03-05(sarray_{remove,free}_garbage): New functions.Richard Kenner1-121/+202
(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
1996-03-05Include objc/thread.h.Richard Kenner2-3/+16
From-SVN: r11444
1996-03-05Update comments.Richard Kenner1-4/+4
From-SVN: r11443