OSDN Git Service

pf3gnuchains/gcc-fork.git
28 years agofix TImode offset addres test
edelsohn [Fri, 15 Mar 1996 03:27:18 +0000 (03:27 +0000)]
fix TImode offset addres test

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11541 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoadd -bnoentry if no entry point for shared object
edelsohn [Fri, 15 Mar 1996 03:26:31 +0000 (03:26 +0000)]
add -bnoentry if no entry point for shared object

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11540 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(ASM_OUTPUT_DOUBLE_INT): Use 'X' if CONST_INT and
wilson [Fri, 15 Mar 1996 00:58:32 +0000 (00:58 +0000)]
(ASM_OUTPUT_DOUBLE_INT): Use 'X' if CONST_INT and
HOST_BITS_PER_WIDE_INT == 64.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11539 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoRecognize mips-*-sysv*
ian [Fri, 15 Mar 1996 00:14:04 +0000 (00:14 +0000)]
Recognize mips-*-sysv*

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11531 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoFix bug with 8-16 byte structures not getting instantiated correctly
meissner [Thu, 14 Mar 1996 20:20:34 +0000 (20:20 +0000)]
Fix bug with 8-16 byte structures not getting instantiated correctly

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11530 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(mips_expand_prologue): Change TYPE_NEEDS_CONSTRUCTING to
wilson [Thu, 14 Mar 1996 17:46:53 +0000 (17:46 +0000)]
(mips_expand_prologue): Change TYPE_NEEDS_CONSTRUCTING to
TREE_ADDRESSABLE;

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11529 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoAdd exception attribute for Windows
meissner [Thu, 14 Mar 1996 16:25:20 +0000 (16:25 +0000)]
Add exception attribute for Windows

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11528 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago * pa/pa.h (ASM_DECLARE_FUNCTION_NAME): Change TYPE_NEEDS_CONSTRUCTING
law [Thu, 14 Mar 1996 06:54:34 +0000 (06:54 +0000)]
    * pa/pa.h (ASM_DECLARE_FUNCTION_NAME): Change TYPE_NEEDS_CONSTRUCTING
        to TREE_ADDRESSABLE.  From Jim Wilson.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11527 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(warn_sign_compare): Add extern to declaration.
wilson [Wed, 13 Mar 1996 23:20:46 +0000 (23:20 +0000)]
(warn_sign_compare): Add extern to declaration.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11526 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoFix ASM_OUTPUT_ALIGN
meissner [Wed, 13 Mar 1996 18:30:30 +0000 (18:30 +0000)]
Fix ASM_OUTPUT_ALIGN

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11525 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoAdd static constructor/destructor support to Windows NT
meissner [Wed, 13 Mar 1996 17:12:13 +0000 (17:12 +0000)]
Add static constructor/destructor support to Windows NT

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11524 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago* dbxout.c (dbxout_type): Better "variant" handling to ignore
bothner [Wed, 13 Mar 1996 05:47:30 +0000 (05:47 +0000)]
* dbxout.c (dbxout_type):  Better "variant" handling to ignore
const/volatile but not typedef names.  Improves Feb 12 change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11523 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(ROUND_TPE_SIZE): Return round_up result instead of
wilson [Tue, 12 Mar 1996 23:51:01 +0000 (23:51 +0000)]
(ROUND_TPE_SIZE): Return round_up result instead of
COMPUTED.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11522 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(__LONG_MAX__): on Alpha, use 64 bit value.
kenner [Tue, 12 Mar 1996 22:24:57 +0000 (22:24 +0000)]
(__LONG_MAX__): on Alpha, use 64 bit value.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11521 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(nonlocal_goto): Emit barrier after jump.
kenner [Tue, 12 Mar 1996 18:54:00 +0000 (18:54 +0000)]
(nonlocal_goto): Emit barrier after jump.
(setjmp{,_64,_32}): New patterns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11520 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(expand_expr, case COMPONENT_REF): For unaligned object in
wilson [Tue, 12 Mar 1996 17:51:15 +0000 (17:51 +0000)]
(expand_expr, case COMPONENT_REF): For unaligned object in
an aligned union, delete check for EXPAND_SUM.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11519 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(clear_storage): Add comment terminator.
wilson [Tue, 12 Mar 1996 17:42:04 +0000 (17:42 +0000)]
(clear_storage): Add comment terminator.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11518 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(dbra peepholes): Use flags_in_68881.
tege [Tue, 12 Mar 1996 15:07:49 +0000 (15:07 +0000)]
(dbra peepholes): Use flags_in_68881.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11517 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(valid_dbcc_comparison_p): Don't test cc_prev_status here.
tege [Tue, 12 Mar 1996 15:07:49 +0000 (15:07 +0000)]
(valid_dbcc_comparison_p): Don't test cc_prev_status here.
(flags_in_68881): New function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11516 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago * recog.c (constrain_operands, case 'V'): Don't call
law [Tue, 12 Mar 1996 00:08:58 +0000 (00:08 +0000)]
    * recog.c (constrain_operands, case 'V'): Don't call
        offsettable_memref_p before reload has completed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11515 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago * h8300/h8300.h (SP_AND_G_REGS): Renamed from SP_AND_G_REG.
dje [Mon, 11 Mar 1996 21:05:49 +0000 (21:05 +0000)]
* h8300/h8300.h (SP_AND_G_REGS): Renamed from SP_AND_G_REG.
(CC_DONE_CBIT): Delete.
(CC_OVERFLOW_0,CC_OVERFLOW_UNUSABLE,CC_NO_CARRY): Define.
* h8300/h8300.c (cond_string): Delete CC_DONE_CBIT handling.
(notice_update_cc): Delete CC_CBIT, CC_WHOOPS.  Add CC_SET_ZN_C0.
(restore_compare_p): New function.
(shift_one): Use shll instead of shal so overflow bit is usable.
Set cc_valid bits to cc_status.flags values.
(emit_a_shift): Set cc_status.flags.
* h8300/h8300.md (attr cc): Delete whoops,cbit.  Add set_zn_c0.
(all patterns) Update cc attr setting.
(tstqi,tsthi,tstsi): Delete CC_DONE_CBIT handling.
(addhi3,subhi3): Change define_expand to define_insn.
(branch_true,branch_false): Check if compare needs to be restored.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11514 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoMake long longs use normal CONST_DOUBLE in movdi, do not split too early
meissner [Mon, 11 Mar 1996 18:57:23 +0000 (18:57 +0000)]
Make long longs use normal CONST_DOUBLE in movdi, do not split too early

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11513 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(jump_optimize): When handle a USE insn before an
wilson [Mon, 11 Mar 1996 18:12:30 +0000 (18:12 +0000)]
(jump_optimize): When handle a USE insn before an
unconditional jump, disable the optimization if the USE is the
only insn in the loop.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11512 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoUse proper modes and predicates for {sign,zero}_extract.
kenner [Mon, 11 Mar 1996 11:53:27 +0000 (11:53 +0000)]
Use proper modes and predicates for {sign,zero}_extract.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11511 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(make_extraction): Use proper mode for INNER in all cases.
kenner [Mon, 11 Mar 1996 11:49:32 +0000 (11:49 +0000)]
(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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11510 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(move_pic_label_si,move_label_di): Rewrite length
dje [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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11509 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(free_insn): New variable.
kenner [Sun, 10 Mar 1996 11:23:17 +0000 (11:23 +0000)]
(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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11508 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoUpdate comment for rtx_equal_function_value_matters.
kenner [Sun, 10 Mar 1996 11:15:07 +0000 (11:15 +0000)]
Update comment for rtx_equal_function_value_matters.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11507 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11506 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11505 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago * expr.c (expand_expr, case TARGET_EXPR): Delay putting the cleanup
mrs [Fri, 8 Mar 1996 23:44:26 +0000 (23:44 +0000)]
* 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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11504 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(store_constructor_field): Add explanatory comment.
wilson [Fri, 8 Mar 1996 21:52:23 +0000 (21:52 +0000)]
(store_constructor_field): Add explanatory comment.
Call store_field if bitpos is nonzero and target is not a MEM.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11503 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11502 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11501 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11500 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago* sparc.h (TARGET_SWITCHES): Move -mlive-g0 from here,
dje [Fri, 8 Mar 1996 01:18:14 +0000 (01:18 +0000)]
* sparc.h (TARGET_SWITCHES): Move -mlive-g0 from here,
* splet.h (SUBTARGET_SWITCHES): To here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11499 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agosparc.h (TARGET_SWITCHES): Move -mlive-g0 from here,
dje [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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11498 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11497 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11496 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11495 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago * sparc/sparc.h (MASK_LIVE_G0,TARGET_LIVE_G0): Define.
dje [Fri, 8 Mar 1996 00:12:21 +0000 (00:12 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11494 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11493 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(va_start): Change __SH3E___ to __SH3E__.
wilson [Thu, 7 Mar 1996 23:10:54 +0000 (23:10 +0000)]
(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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11492 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago * lib2funcs.asm: Remove entry/exit routines. Move them into...
law [Thu, 7 Mar 1996 17:38:08 +0000 (17:38 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11491 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoInitial revision
law [Thu, 7 Mar 1996 17:34:53 +0000 (17:34 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11490 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agocd config/pa
law [Thu, 7 Mar 1996 15:38:43 +0000 (15:38 +0000)]
cd config/pa

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11489 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11488 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11487 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11486 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11485 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoNew file.
wilson [Thu, 7 Mar 1996 00:56:15 +0000 (00:56 +0000)]
New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11484 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago * lib2funcs.asm (__outline_prologue): Remove frame pointer
law [Wed, 6 Mar 1996 20:18:32 +0000 (20:18 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11483 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11482 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11481 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11480 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(ASM_OUTPUT_SECTION_NAME): New define.
kenner [Tue, 5 Mar 1996 23:51:38 +0000 (23:51 +0000)]
(ASM_OUTPUT_SECTION_NAME): New define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11479 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(SUPPORT_PASCAL_STRINGS): Deleted.
kenner [Tue, 5 Mar 1996 23:49:33 +0000 (23:49 +0000)]
(SUPPORT_PASCAL_STRINGS): Deleted.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11478 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoInitial revision
kenner [Tue, 5 Mar 1996 23:43:19 +0000 (23:43 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11477 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(ASM_OUTPUT_CASE_END): Add missing semicolon.
kenner [Tue, 5 Mar 1996 23:38:05 +0000 (23:38 +0000)]
(ASM_OUTPUT_CASE_END): Add missing semicolon.
(switch_table_difference_label_flag): Make extern.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11476 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11475 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11465 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11464 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago * sparc/sparc.md (*mov{qi,hi,si}_insn): Simplify length attribute.
dje [Tue, 5 Mar 1996 22:37:54 +0000 (22:37 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11463 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11462 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(expand_expr, case *_DECL): If we make a non-local
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 ADDR_EXPR): We don't need a trampoline for a
        function with DECL_NO_STATIC_CHAIN set.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11461 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(JUMP_TABLES_IN_TEXT_SECTION): Define.
wilson [Tue, 5 Mar 1996 20:29:06 +0000 (20:29 +0000)]
(JUMP_TABLES_IN_TEXT_SECTION): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11460 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11459 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago * loop.c (init_loop): Use pseudo reg in add_cost computation
dje [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 whether reg 0 happens to be
fixed or not.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11458 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11457 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(free): Remove declaration.
kenner [Tue, 5 Mar 1996 15:28:39 +0000 (15:28 +0000)]
(free): Remove declaration.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11456 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11455 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11454 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoInitial revision
kenner [Tue, 5 Mar 1996 14:22:13 +0000 (14:22 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11453 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11452 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoInitial revision
kenner [Tue, 5 Mar 1996 14:13:36 +0000 (14:13 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11451 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11450 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoInitial revision
kenner [Tue, 5 Mar 1996 14:13:02 +0000 (14:13 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11449 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(get_imp, __objc_responds_to): Surround sarray access with mutex lock/unlock.
kenner [Tue, 5 Mar 1996 14:12:47 +0000 (14:12 +0000)]
(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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11448 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(sel_get_typed_uid, sel_get_any_typed_uid): Likewise.
kenner [Tue, 5 Mar 1996 14:12:08 +0000 (14:12 +0000)]
(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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11447 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(union sversion): New.
kenner [Tue, 5 Mar 1996 14:11:25 +0000 (14:11 +0000)]
(union sversion): New.
(struct sarray): Maintain multiple versions.
(sarray_remove_garbage): Add prototype.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11446 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(sarray_{remove,free}_garbage): New functions.
kenner [Tue, 5 Mar 1996 14:10:50 +0000 (14:10 +0000)]
(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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11445 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoInclude objc/thread.h.
kenner [Tue, 5 Mar 1996 14:10:10 +0000 (14:10 +0000)]
Include objc/thread.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11444 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11443 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(__objc_runtime_mutux, __objc_runtime_thread_alive): New variables.
kenner [Tue, 5 Mar 1996 14:07:56 +0000 (14:07 +0000)]
(__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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11442 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(__objc_init_class_tables): Surround sarray access with mutex lock/unlock.
kenner [Tue, 5 Mar 1996 14:06:45 +0000 (14:06 +0000)]
(__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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11441 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11440 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11439 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago * lib2funcs.asm (__outline_prologue): New "function".
law [Tue, 5 Mar 1996 07:34:13 +0000 (07:34 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11438 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago * sparc/sparc.md (*cmp{si,di}_insn): %r0 -> %0.
dje [Tue, 5 Mar 1996 07:16:53 +0000 (07:16 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11437 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11435 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11434 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11433 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(L_bb/atexit, onexit): Declarations replaced by #include'ing "gbl-ctors.h".
kenner [Mon, 4 Mar 1996 23:46:29 +0000 (23:46 +0000)]
(L_bb/atexit, onexit): Declarations replaced by #include'ing "gbl-ctors.h".
(L_exit/atexit): New function.
(L_exit/exit): Call any registered functions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11432 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(HAVE_ATEXIT): Define if NEED_ATEXIT is defined.
kenner [Mon, 4 Mar 1996 23:45:47 +0000 (23:45 +0000)]
(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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11431 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(USG): Set to 1.
kenner [Mon, 4 Mar 1996 23:44:47 +0000 (23:44 +0000)]
(USG): Set to 1.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11430 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoInitial revision
kenner [Mon, 4 Mar 1996 23:44:17 +0000 (23:44 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11429 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(FUNCTION_PROFILER): Emit label references corresponding to those generated
kenner [Mon, 4 Mar 1996 23:42:46 +0000 (23:42 +0000)]
(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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11428 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11427 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11426 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(CRT0STUFF_T_CFLAGS): New macro.
kenner [Mon, 4 Mar 1996 23:39:06 +0000 (23:39 +0000)]
(CRT0STUFF_T_CFLAGS): New macro.
(stamp-crt0, crt0.o, mcrt0.o): New goals.
(STAGESTUFF): stamp-crt0 added.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11425 138bc75d-0d04-0410-961f-82ee72b054a4