platform/upstream/gcc.git
28 years agoInclude thr.h, not thread.h.
Richard Kenner [Thu, 4 Apr 1996 17:35:00 +0000 (12:35 -0500)]
Include thr.h, not thread.h.

From-SVN: r11665

28 years agoRename thread-* to thr-*.
Richard Kenner [Thu, 4 Apr 1996 17:26:03 +0000 (12:26 -0500)]
Rename thread-* to thr-*.

From-SVN: r11664

28 years agoRename thread* to thr*.
Richard Kenner [Thu, 4 Apr 1996 17:24:18 +0000 (12:24 -0500)]
Rename thread* to thr*.

From-SVN: r11663

28 years agoDon't include stamp.h for Linux.
Richard Kenner [Thu, 4 Apr 1996 17:19:09 +0000 (12:19 -0500)]
Don't include stamp.h for Linux.

From-SVN: r11662

28 years ago(ashldi3_const_int): Don't recognize if won't match constraint of
Richard Kenner [Thu, 4 Apr 1996 17:16:53 +0000 (12:16 -0500)]
(ashldi3_const_int): Don't recognize if won't match constraint of
operand 2.

From-SVN: r11661

28 years agoSet EXECUTABLE_SUFFIX to .exe.
Michael Meissner [Thu, 4 Apr 1996 17:00:54 +0000 (17:00 +0000)]
Set EXECUTABLE_SUFFIX to .exe.

From-SVN: r11660

28 years agoAdd support for EXTENDED_FLOAT_STUBS
Michael Meissner [Thu, 4 Apr 1996 16:45:26 +0000 (16:45 +0000)]
Add support for EXTENDED_FLOAT_STUBS

From-SVN: r11659

28 years ago(emit_push_insn): Clobber register only if it is non-zero.
Jim Wilson [Wed, 3 Apr 1996 22:30:07 +0000 (14:30 -0800)]
(emit_push_insn): Clobber register only if it is non-zero.

From-SVN: r11658

28 years ago(CC_NO_OVERFLOW): Add comment clarifying usage.
Doug Evans [Wed, 3 Apr 1996 20:56:14 +0000 (20:56 +0000)]
(CC_NO_OVERFLOW): Add comment clarifying usage.

From-SVN: r11657

28 years agoh8300.h (h8300_funcvec_function_p): Declaration moved here.
Jeff Law [Wed, 3 Apr 1996 16:31:01 +0000 (09:31 -0700)]
h8300.h (h8300_funcvec_function_p): Declaration moved here.

        * h8300.h (h8300_funcvec_function_p): Declaration moved here.
        * h8300.c (h8300_funcvec_function_p): Declaration removed
        from here.
        * h8300.md (tstqi): Tweak to work like other tstXX patterns.
        (cmphi): Turn into a define_expand.  Add two anonymous
        matterns to match the output of the cmphi expander.
        (cmpsi): Accept constants as the second input operand.

From-SVN: r11656

28 years agoh8300.md (movqi_internal): Remove useless alternative(s).
Jeff Law [Wed, 3 Apr 1996 02:36:54 +0000 (19:36 -0700)]
h8300.md (movqi_internal): Remove useless alternative(s).

        * h8300.md (movqi_internal): Remove useless alternative(s).  Fix
        lengths and simplify by reordering remaining alternatives.
        (movestrictqi, movhi_internal, movstricthi): Likewise.
        (movsi_h8300h, movsf_h8300h): Likewise.

From-SVN: r11655

28 years ago86th Cygnus<->FSF merge
Mike Stump [Tue, 2 Apr 1996 21:44:27 +0000 (21:44 +0000)]
86th Cygnus<->FSF merge

From-SVN: r11654

28 years agoh8300.c (extra_pop): Remove unused variable.
Jeff Law [Tue, 2 Apr 1996 18:53:54 +0000 (11:53 -0700)]
h8300.c (extra_pop): Remove unused variable.

        * h8300/h8300.c (extra_pop): Remove unused variable.
        (current_function_anonymous_args): Likewise.
        (function_prologue): Remove incorrect varargs/stdarg
        related code.
        (function_epilogue): Likewise.
        (function_arg): Never pass unnamed arguments in registers.
        * h8300.h (LONG_LONG_TYPE_SIZE): Use 64bits when ints are
        32bits.
        (SETUP_INCOMING_VARARGS): Remove definition.

From-SVN: r11653

28 years agoFix signal prototype on SunOS to avoid C++ pedantic error
Ian Lance Taylor [Mon, 1 Apr 1996 22:00:44 +0000 (22:00 +0000)]
Fix signal prototype on SunOS to avoid C++ pedantic error

From-SVN: r11652

28 years ago(get_inner_reference): When finding mode to access bitfield that ends up properly...
Richard Kenner [Mon, 1 Apr 1996 21:16:06 +0000 (16:16 -0500)]
(get_inner_reference): When finding mode to access bitfield that ends up properly aligned...

(get_inner_reference): When finding mode to access bitfield that ends
up properly aligned, use mode class of its type unless type's mode was
BLKmode.

From-SVN: r11651

28 years agoh8300.c (interrupt_handler): Renamed from pragma_interrupt.
Jeff Law [Mon, 1 Apr 1996 18:48:52 +0000 (11:48 -0700)]
h8300.c (interrupt_handler): Renamed from pragma_interrupt.

        * h8300.c (interrupt_handler): Renamed from pragma_interrupt.
        All references changed.
        (function_prologue): Set interrupt_handler if the current
        function has the "interrrupt-handler" attribute.
        (small_call_insn_operand): New function.
        (h8300_interrrupt_function_p): New function.
        (h8300_funcvec_function_p): New function.
        (h8300_valid_machine_decl_attribute): New function.
        * h8300.h (VALID_MACHINE_DECL_ATTRIBUTE): Define.
        * h8300.md (call insns): Handle calls through the
        function vector.  Indirect calls and calls through
        the function vector have a length of two bytes.

From-SVN: r11650

28 years agocalls.c (expand_call): Remove current_call_is_indirect nonsense.
Jeff Law [Mon, 1 Apr 1996 06:02:12 +0000 (23:02 -0700)]
calls.c (expand_call): Remove current_call_is_indirect nonsense.

        * calls.c (expand_call): Remove current_call_is_indirect nonsense.
        Add additional argument to INIT_CUMULATIVE_ARGS.
        (emit_library_call): Likewise.
        (emit_library_call_value): Likewise.
        * expr.c (expand_builtin): Likewise.
        * function.c (assign_parms): Likewise.
        * config/pa/pa.h (hppa_args): New field "indirect".
        (INIT_CUMULATIVE_ARGS): Initialize "indirect" field.
        (FUNCTION_ARG): Check "indirect" field, rather than
        "current_call_is_indirect".
        * All other backends updated with new argument to
        INIT_CUMULATIVE_ARGS

From-SVN: r11649

28 years ago(schedule_block): CALL_INSNs don't affect fixed regs.
Richard Kenner [Sun, 31 Mar 1996 22:59:20 +0000 (17:59 -0500)]
(schedule_block): CALL_INSNs don't affect fixed regs.

From-SVN: r11648

28 years ago(layout_decl): Don't make a bitfield an integral mode if the mode of
Richard Kenner [Sun, 31 Mar 1996 11:18:58 +0000 (06:18 -0500)]
(layout_decl): Don't make a bitfield an integral mode if the mode of
the field type is not MODE_INT.

From-SVN: r11647

28 years ago(propagate_block): CALL_INSNs don't kill fixed regs.
Richard Kenner [Sun, 31 Mar 1996 10:10:01 +0000 (05:10 -0500)]
(propagate_block): CALL_INSNs don't kill fixed regs.

From-SVN: r11646

28 years ago(expand_divmod, case TRUNC_DIV_EXPR): Move some code
Torbjorn Granlund [Sat, 30 Mar 1996 12:48:15 +0000 (12:48 +0000)]
(expand_divmod, case TRUNC_DIV_EXPR): Move some code
to avoid shifting by a too large count.

From-SVN: r11645

28 years agosparc.h (FUNCTION_PROFILER): Save/restore %g2 around call to mcount.
Doug Evans [Fri, 29 Mar 1996 20:45:31 +0000 (20:45 +0000)]
sparc.h (FUNCTION_PROFILER): Save/restore %g2 around call to mcount.

* sparc/sparc.h (FUNCTION_PROFILER): Save/restore %g2 around call
to mcount.

From-SVN: r11644

28 years ago(notice_update_cc): Clear cc_status if it references a mem we are modifying.
Stan Cox [Fri, 29 Mar 1996 19:27:45 +0000 (19:27 +0000)]
(notice_update_cc): Clear cc_status if it references a mem we are modifying.

From-SVN: r11643

28 years agomethod.c (emit_thunk): Remove current_call_is_indirect nonsense.
Jeffrey A. Law [Fri, 29 Mar 1996 14:42:00 +0000 (07:42 -0700)]
method.c (emit_thunk): Remove current_call_is_indirect nonsense.

        * method.c (emit_thunk): Remove current_call_is_indirect nonsense.
        Add additional argument to INIT_CUMULATIVE_ARGS.

From-SVN: r11642

28 years agocalls.c (expand_call): Remove current_call_is_indirect nonsense.
Jeff Law [Fri, 29 Mar 1996 14:37:11 +0000 (07:37 -0700)]
calls.c (expand_call): Remove current_call_is_indirect nonsense.

* calls.c (expand_call): Remove current_call_is_indirect nonsense.
Add additional argument to INIT_CUMULATIVE_ARGS.
(emit_library_call): Likewise.
(emit_library_call_value): Likewise.
* expr.c (expand_builtin): Likewise.
* function.c (assign_parms): Likewise.
* cp/method.c (emit_thunk): Likewise.
* config/pa/pa.h (hppa_args): New field "indirect".
(INIT_CUMULATIVE_ARGS): Initialize "indirect" field.
(FUNCTION_ARG): Check "indirect" field, rather than
"current_call_is_indirect".
* All other backends updated with new argument to
INIT_CUMULATIVE_ARGS

From-SVN: r11641

28 years ago(aux): Delete another duplicate entry.
Doug Evans [Fri, 29 Mar 1996 01:49:55 +0000 (01:49 +0000)]
(aux): Delete another duplicate entry.

From-SVN: r11629

28 years ago(aux): Delete duplicate entry.
Doug Evans [Fri, 29 Mar 1996 01:46:52 +0000 (01:46 +0000)]
(aux): Delete duplicate entry.

From-SVN: r11628

28 years ago(summarize_insn): Fix three "off-by-one" bugs in loop bounds.
Richard Kenner [Thu, 28 Mar 1996 23:45:41 +0000 (18:45 -0500)]
(summarize_insn): Fix three "off-by-one" bugs in loop bounds.

From-SVN: r11627

28 years ago* ginclude/va-h8300.h (va_arg): Don't assume sizeof (int) == 4.
Jeff Law [Thu, 28 Mar 1996 18:20:00 +0000 (11:20 -0700)]
* ginclude/va-h8300.h (va_arg): Don't assume sizeof (int) == 4.

From-SVN: r11626

28 years agopa.c (hppa_legitimize_address): Don't lose for (plus (plus (mult (A) (shadd_const...
Jeff Law [Thu, 28 Mar 1996 17:14:41 +0000 (10:14 -0700)]
pa.c (hppa_legitimize_address): Don't lose for (plus (plus (mult (A) (shadd_const)) (B)) (C)) if...

        * pa.c (hppa_legitimize_address): Don't lose for
        (plus (plus (mult (A) (shadd_const)) (B)) (C)) if
        B + C isn't a valid address for indexing.
        (basereg_operand): Only accept base registers after
        cse has completed.  Don't accept the frame pointer if
        it's likely to be eliminated.
        * pa.md (unscaled indexing patterns): Add variants with
        basereg and index register reversed.
        (HImode and QImode loads): Add zero extended variants.

From-SVN: r11625

28 years ago(negate_rtx): Fix typo in previous change.
Richard Kenner [Wed, 27 Mar 1996 12:45:08 +0000 (07:45 -0500)]
(negate_rtx): Fix typo in previous change.

From-SVN: r11624

28 years ago(expand_call): In convert_to_mode call, use word_mode
Jim Wilson [Tue, 26 Mar 1996 18:50:03 +0000 (10:50 -0800)]
(expand_call): In convert_to_mode call, use word_mode
not SImode.

From-SVN: r11623

28 years agoexpr.c (emit_push_insn): When doing a partial push...
Jeff Law [Tue, 26 Mar 1996 15:45:03 +0000 (08:45 -0700)]
expr.c (emit_push_insn): When doing a partial push...

        * expr.c (emit_push_insn): When doing a partial push, emit
        a CLOBBER so that flow doesn't think the entire register
        is live.

From-SVN: r11622

28 years ago(summarize_insn, default case): Properly use format_ptr.
Richard Kenner [Tue, 26 Mar 1996 15:00:38 +0000 (10:00 -0500)]
(summarize_insn, default case): Properly use format_ptr.

From-SVN: r11621

28 years ago(fullword move): Call output_move_simode_const.
Richard Kenner [Tue, 26 Mar 1996 14:50:53 +0000 (09:50 -0500)]
(fullword move): Call output_move_simode_const.

From-SVN: r11620

28 years ago(output_move_simode_const): New function.
Richard Kenner [Tue, 26 Mar 1996 14:49:56 +0000 (09:49 -0500)]
(output_move_simode_const): New function.

(singlemove_string): Call it.

From-SVN: r11619

28 years ago(output_move_simode_const): New extern declaration.
Richard Kenner [Tue, 26 Mar 1996 14:43:18 +0000 (09:43 -0500)]
(output_move_simode_const): New extern declaration.

From-SVN: r11618

28 years ago(NOTICE_UPDATE_CC): Handle ZERO_EXTRACT destination.
Torbjorn Granlund [Tue, 26 Mar 1996 13:47:00 +0000 (13:47 +0000)]
(NOTICE_UPDATE_CC): Handle ZERO_EXTRACT destination.

From-SVN: r11617

28 years ago(insv matcher): Call CC_STATUS_INIT.
Torbjorn Granlund [Tue, 26 Mar 1996 13:46:44 +0000 (13:46 +0000)]
(insv matcher): Call CC_STATUS_INIT.

From-SVN: r11616

28 years ago(expand_function_start): Don't set up context_display
Jason Merrill [Tue, 26 Mar 1996 00:17:01 +0000 (00:17 +0000)]
(expand_function_start): Don't set up context_display
        unless current_function_needs_context.

From-SVN: r11615

28 years ago(fold, case BIT_IOR_EXPR): Recognize rotates with variable count.
Richard Kenner [Mon, 25 Mar 1996 23:48:05 +0000 (18:48 -0500)]
(fold, case BIT_IOR_EXPR): Recognize rotates with variable count.

From-SVN: r11614

28 years ago(libgcc1-test): Undo Feb 12 change.
Jim Wilson [Mon, 25 Mar 1996 22:57:48 +0000 (14:57 -0800)]
(libgcc1-test): Undo Feb 12 change.

From-SVN: r11613

28 years ago(objc_mutex_unlock): Properly declare thread_id.
Richard Kenner [Mon, 25 Mar 1996 13:09:26 +0000 (08:09 -0500)]
(objc_mutex_unlock): Properly declare thread_id.

From-SVN: r11612

28 years ago(negate_rtx): Don't try to negate a constant ourself; instead call
Richard Kenner [Sun, 24 Mar 1996 13:16:26 +0000 (08:16 -0500)]
(negate_rtx): Don't try to negate a constant ourself; instead call
simplify_unary_operation.

From-SVN: r11611

28 years ago(SWITCHES_NEED_SPACES): Change definition correspondingly.
Richard Kenner [Sun, 24 Mar 1996 12:28:59 +0000 (07:28 -0500)]
(SWITCHES_NEED_SPACES): Change definition correspondingly.

From-SVN: r11610

28 years ago(process_command): Instead of hardcoding non-empty switches_need_spaces to turn on...
Richard Kenner [Sun, 24 Mar 1996 12:28:21 +0000 (07:28 -0500)]
(process_command): Instead of hardcoding non-empty switches_need_spaces to turn on "o" and "L"...

(process_command): Instead of hardcoding non-empty
switches_need_spaces to turn on "o" and "L", make the string contain
the switches that need the spaces.

From-SVN: r11609

28 years ago(bc_emit_instruction): Add missing va_end call.
Richard Kenner [Sun, 24 Mar 1996 01:39:39 +0000 (20:39 -0500)]
(bc_emit_instruction): Add missing va_end call.

From-SVN: r11608

28 years ago(set_init_index): Check for use outside an array initializer.
Richard Kenner [Sun, 24 Mar 1996 00:52:37 +0000 (19:52 -0500)]
(set_init_index): Check for use outside an array initializer.

From-SVN: r11607

28 years ago(LIB_SPEC): Always output -lmach.
Richard Kenner [Sat, 23 Mar 1996 23:34:38 +0000 (18:34 -0500)]
(LIB_SPEC): Always output -lmach.

From-SVN: r11606

28 years ago(ASM_OUTPUT_ADDR_DIFF_ELT): Don't define.
Richard Kenner [Sat, 23 Mar 1996 23:25:32 +0000 (18:25 -0500)]
(ASM_OUTPUT_ADDR_DIFF_ELT): Don't define.

From-SVN: r11605

28 years ago(ASM_OUTPUT_ADDR_DIFF_ELT): Delete.
Richard Kenner [Sat, 23 Mar 1996 23:25:04 +0000 (18:25 -0500)]
(ASM_OUTPUT_ADDR_DIFF_ELT): Delete.

From-SVN: r11604

28 years ago(make_extraction): In BITS_BIG_ENDIAN correction of POS, need to treat
Doug Evans [Sat, 23 Mar 1996 22:07:00 +0000 (22:07 +0000)]
(make_extraction): In BITS_BIG_ENDIAN correction of POS, need to treat
MEM and REG differently.

From-SVN: r11603

28 years agosparc.md (*mov{qi,hi,si,di}_cc_sp64): Fix constraints.
Doug Evans [Sat, 23 Mar 1996 20:55:14 +0000 (20:55 +0000)]
sparc.md (*mov{qi,hi,si,di}_cc_sp64): Fix constraints.

* sparc/sparc.md (*mov{qi,hi,si,di}_cc_sp64): Fix constraints.
(*mov{qi,hi,si,di}_cc_reg_sp64): Likewise.

From-SVN: r11602

28 years agosparc.c (arith11_operand): Use SPARC_SIMM11_P.
Doug Evans [Sat, 23 Mar 1996 20:54:48 +0000 (20:54 +0000)]
sparc.c (arith11_operand): Use SPARC_SIMM11_P.

* sparc/sparc.c (arith11_operand): Use SPARC_SIMM11_P.
(arith10_operand): Use SPARC_SIMM10_P.

From-SVN: r11601

28 years agosparc.h (SPARC_SIMM{10,11,13}_P): Define.
Doug Evans [Sat, 23 Mar 1996 20:54:21 +0000 (20:54 +0000)]
sparc.h (SPARC_SIMM{10,11,13}_P): Define.

* sparc/sparc.h (SPARC_SIMM{10,11,13}_P): Define.
(SMALL_INT): Use SPARC_SIMM13_P.
(CONST_OK_FOR_LETTER_P): Support new letters L,M.

From-SVN: r11600

28 years ago(TRAMPOLINE_TEMPLATE): Correct first instruction.
Richard Kenner [Sat, 23 Mar 1996 12:47:13 +0000 (07:47 -0500)]
(TRAMPOLINE_TEMPLATE): Correct first instruction.

From-SVN: r11599

28 years ago(build_array_ref): Give error if subscripting a function.
Richard Kenner [Sat, 23 Mar 1996 12:07:23 +0000 (07:07 -0500)]
(build_array_ref): Give error if subscripting a function.

From-SVN: r11598

28 years ago85th Cygnus<->FSF quick merge
Mike Stump [Fri, 22 Mar 1996 23:11:55 +0000 (23:11 +0000)]
85th Cygnus<->FSF quick merge

From-SVN: r11597

28 years ago(optimize_reg_copy_1): Only update reg_live_length if it is
Richard Kenner [Fri, 22 Mar 1996 14:11:37 +0000 (09:11 -0500)]
(optimize_reg_copy_1): Only update reg_live_length if it is
non-negative.

From-SVN: r11596

28 years ago(os): sunos[3456] -> sunos[34], sunos[56] have their own entries
Doug Evans [Thu, 21 Mar 1996 23:26:26 +0000 (23:26 +0000)]
(os): sunos[3456] -> sunos[34], sunos[56] have their own entries

From-SVN: r11588

28 years ago85th Cygnus<->FSF quick merge
Mike Stump [Thu, 21 Mar 1996 19:46:11 +0000 (19:46 +0000)]
85th Cygnus<->FSF quick merge

From-SVN: r11587

28 years ago(STARTFILE_SPEC,LINK_SPEC): Define.
Doug Evans [Thu, 21 Mar 1996 19:42:11 +0000 (19:42 +0000)]
(STARTFILE_SPEC,LINK_SPEC): Define.

From-SVN: r11586

28 years ago(note_mem_written): Delete obsolete code for handling
Jim Wilson [Wed, 20 Mar 1996 23:26:55 +0000 (15:26 -0800)]
(note_mem_written): Delete obsolete code for handling
(mem (scratch)).

From-SVN: r11585

28 years ago(mips_expand_prologue): In initialization of fnargs, delete
Jim Wilson [Wed, 20 Mar 1996 22:20:11 +0000 (14:20 -0800)]
(mips_expand_prologue): In initialization of fnargs, delete
special treatment of METHOD_TYPE.

From-SVN: r11584

28 years agosparc.c (fcc_reg_operand): Ensure correct mode.
Doug Evans [Wed, 20 Mar 1996 22:07:22 +0000 (22:07 +0000)]
sparc.c (fcc_reg_operand): Ensure correct mode.

* sparc/sparc.c (fcc_reg_operand): Ensure correct mode.
(icc_or_fcc_reg_operand): Likewise.
(gen_v9_scc): IF_THEN_ELSE must have a mode.
(print_operand): New operand code `x' for all condition codes.
New operand codes `c,d' for reversed conditional moves.
* sparc/sparc.md (movqicc,movhicc): New named patterns.
(movsicc,movdicc,movsfcc,movdfcc,movtfcc): Rewrite.
(conditional move matchers): Rewrite.

From-SVN: r11583

28 years agosparc.h (CPP_CPU_SPEC): Add v8plus entry.
Doug Evans [Wed, 20 Mar 1996 22:05:49 +0000 (22:05 +0000)]
sparc.h (CPP_CPU_SPEC): Add v8plus entry.

* sparc/sparc.h (CPP_CPU_SPEC): Add v8plus entry.
(ASM_CPU_SPEC): Likewise.

From-SVN: r11582

28 years agosol2.h (ASM_CPU_SPEC): Recognize -mcpu=v8plus, not v9.
Doug Evans [Wed, 20 Mar 1996 22:05:05 +0000 (22:05 +0000)]
sol2.h (ASM_CPU_SPEC): Recognize -mcpu=v8plus, not v9.

* sparc/sol2.h (ASM_CPU_SPEC): Recognize -mcpu=v8plus, not v9.
Fix typo in ultrasparc entry.

From-SVN: r11581

28 years ago(HARD_REGNO_MODE_OK): Relax QImode constraint to avoid a reload problem.
Stan Cox [Wed, 20 Mar 1996 21:19:14 +0000 (21:19 +0000)]
(HARD_REGNO_MODE_OK): Relax QImode constraint to avoid a reload problem.

From-SVN: r11580

28 years agopa.c (hppa_legitimize_address): Don't lose for x[n-const] when n-const will not be...
Jeff Law [Wed, 20 Mar 1996 18:15:13 +0000 (11:15 -0700)]
pa.c (hppa_legitimize_address): Don't lose for x[n-const] when n-const will not be shifted.

        * pa.c (hppa_legitimize_address): Don't lose for x[n-const]
        when n-const will not be shifted.  Don't pessimize code for
        x[n-const] when const is small.

From-SVN: r11579

28 years ago(LIB_SPEC): Don't link /usr/lib/bb_link.o with `gcc -a'.
Richard Kenner [Wed, 20 Mar 1996 16:41:45 +0000 (11:41 -0500)]
(LIB_SPEC): Don't link /usr/lib/bb_link.o with `gcc -a'.

(__bb_init_func): Deleted.
(BLOCK_PROFILER_CODE): Don't set macro to nothing.

From-SVN: r11578

28 years ago(ASM_SPEC): Deleted.
Richard Kenner [Wed, 20 Mar 1996 16:28:31 +0000 (11:28 -0500)]
(ASM_SPEC): Deleted.

(STRUCT_VALUE_REGNUM): Redefine as register a0.
(STATIC_CHAIN_REGNUM): Redefine as register a1.
(TRAMPOLINE_TEMPLATE): Redefine to use the right register.

From-SVN: r11577

28 years ago(expand_builtin, case BUILT_IN_SETJMP): Call "setjmp" pattern, if any.
Richard Kenner [Wed, 20 Mar 1996 13:13:06 +0000 (08:13 -0500)]
(expand_builtin, case BUILT_IN_SETJMP): Call "setjmp" pattern, if any.

Call dummy function pointed to by static chain pointer.
(expand_builtin, case BUILT_IN_LONJMP): Ignore second expression.
Set address of __dummy into static chain pointer.
Copy the label to return to into a pseudo earlier.

From-SVN: r11576

28 years ago(LIB2FUNCS): Add __dummy.
Richard Kenner [Wed, 20 Mar 1996 13:12:13 +0000 (08:12 -0500)]
(LIB2FUNCS): Add __dummy.

From-SVN: r11575

28 years ago(__dummy): New function.
Richard Kenner [Wed, 20 Mar 1996 13:11:20 +0000 (08:11 -0500)]
(__dummy): New function.

From-SVN: r11574

28 years ago(last_setjmp_suid, regs_crosses_setjmp): New variables.
Richard Kenner [Wed, 20 Mar 1996 13:04:28 +0000 (08:04 -0500)]
(last_setjmp_suid, regs_crosses_setjmp): New variables.

(stupid_life_analysis, stupid_mark_refs): Use them to track which
regs are live over a setjmp; don't allocate such regs.

From-SVN: r11573

28 years ago(demangle_template): Fix for non-mangled pointer
Jason Merrill [Wed, 20 Mar 1996 06:11:33 +0000 (06:11 +0000)]
(demangle_template): Fix for non-mangled pointer
        arguments.

From-SVN: r11572

28 years ago(NULL): Define only if not already defined.
Roland McGrath [Wed, 20 Mar 1996 01:08:11 +0000 (01:08 +0000)]
(NULL): Define only if not already defined.

From-SVN: r11569

28 years ago[HAVE_STRING_H]: Include string.h.
Roland McGrath [Wed, 20 Mar 1996 01:07:36 +0000 (01:07 +0000)]
[HAVE_STRING_H]: Include string.h.

[HAVE_STDLIB_H]: Include stdlib.h.

From-SVN: r11568

28 years agopa.c (compute_frame_size): Update comments to reflect reality.
Jeff Law [Tue, 19 Mar 1996 18:57:24 +0000 (11:57 -0700)]
pa.c (compute_frame_size): Update comments to reflect reality.

        * pa.c (compute_frame_size): Update comments to reflect reality.
        (hppa_expand_prologue): Don't save registers which aren't
        used, even if it creates holes.  Partially undoes changes from
        early March.
        (hppa_expand_epilogue): Likewise.

From-SVN: r11567

28 years agoupdate compare function unit comment
David Edelsohn [Tue, 19 Mar 1996 15:50:21 +0000 (15:50 +0000)]
update compare function unit comment

From-SVN: r11566

28 years ago(struct case_node): New member balance.
Richard Kenner [Tue, 19 Mar 1996 13:24:56 +0000 (08:24 -0500)]
(struct case_node): New member balance.

(add_case_node): New function.
(pushcase, pushcase_range): Use it.
(case_tree2list): New function.
(expand_end_case): Use it.

From-SVN: r11565

28 years ago(move_for_stack_reg): Avoid stack overflow while storing XFmode from
Richard Kenner [Tue, 19 Mar 1996 12:44:11 +0000 (07:44 -0500)]
(move_for_stack_reg): Avoid stack overflow while storing XFmode from
fp reg to memory.

From-SVN: r11564

28 years ago(MASK_*): New macros.
Richard Kenner [Tue, 19 Mar 1996 12:37:55 +0000 (07:37 -0500)]
(MASK_*): New macros.

(OVERRIDE_OPTIONS): Use them.
(TARGET_SWITCHES): Likewise.
Treat -m68332 like -m68000.

From-SVN: r11563

28 years ago(emit_store_flag): If expanding (GE X 0) will need two insns, don't use subtarget...
Richard Kenner [Tue, 19 Mar 1996 01:04:00 +0000 (20:04 -0500)]
(emit_store_flag): If expanding (GE X 0) will need two insns, don't use subtarget for the result of the first insn.

(emit_store_flag): If expanding (GE X 0) will need two
insns, don't use subtarget for the result of the first insn.
Move a likely constant to the start of a condition.

From-SVN: r11562

28 years ago(pushexthisi_const, movsi_const0): New names.
Richard Kenner [Tue, 19 Mar 1996 00:48:01 +0000 (19:48 -0500)]
(pushexthisi_const, movsi_const0): New names.

(andsi3, iorsi3): Allow only 'M', not 'K' constants, if dest is 'd'.

From-SVN: r11561

28 years ago(output_function_epilogue): Restore registers using sp+ instead of fp(n) in leaf...
Richard Kenner [Tue, 19 Mar 1996 00:47:29 +0000 (19:47 -0500)]
(output_function_epilogue): Restore registers using sp+ instead of fp(n) in leaf functions.

(output_function_epilogue): Restore registers using sp+ instead of fp(n) in
leaf functions.
(USE_MOVQ, use_movq): Function replaced by macro.

From-SVN: r11560

28 years ago(CONST_OK_FOR_LETTER_VALUE): New constraint 'M'.
Richard Kenner [Tue, 19 Mar 1996 00:46:52 +0000 (19:46 -0500)]
(CONST_OK_FOR_LETTER_VALUE): New constraint 'M'.

From-SVN: r11559

28 years ago(build_conditional_expr): If OP1 is null, set both OP1 and ORIG_OP1 to IFEXP.
Richard Kenner [Tue, 19 Mar 1996 00:42:40 +0000 (19:42 -0500)]
(build_conditional_expr): If OP1 is null, set both OP1 and ORIG_OP1 to IFEXP.

From-SVN: r11558

28 years agoInitial revision
Richard Kenner [Tue, 19 Mar 1996 00:33:11 +0000 (19:33 -0500)]
Initial revision

From-SVN: r11557

28 years ago(FUNCTION_PROLOGUE): LE/370 takes 120 bytes for DSA.
Richard Kenner [Tue, 19 Mar 1996 00:33:01 +0000 (19:33 -0500)]
(FUNCTION_PROLOGUE): LE/370 takes 120 bytes for DSA.

Have only one copy of timestamp and PPA2 per object module.
Only have unnamed CSECT to match IBM C.

From-SVN: r11556

28 years ago(simplify_if_then_else): Allow for case that condition might no longer
Richard Kenner [Tue, 19 Mar 1996 00:25:58 +0000 (19:25 -0500)]
(simplify_if_then_else): Allow for case that condition might no longer
be a condition.

From-SVN: r11555

28 years ago(iterator_loop_epilogue): Don't clear DECL_RTL for a static decl.
Richard Kenner [Tue, 19 Mar 1996 00:14:36 +0000 (19:14 -0500)]
(iterator_loop_epilogue): Don't clear DECL_RTL for a static decl.

From-SVN: r11554

28 years ago(summarize_insn, case SUBREG, CONST_*): New cases.
Richard Kenner [Mon, 18 Mar 1996 13:02:09 +0000 (08:02 -0500)]
(summarize_insn, case SUBREG, CONST_*): New cases.

From-SVN: r11553

28 years ago(find_split_point): Handle NULL return from make_extraction.
Doug Evans [Sun, 17 Mar 1996 21:54:11 +0000 (21:54 +0000)]
(find_split_point): Handle NULL return from make_extraction.

(make_field_assignment): Likewise.

From-SVN: r11552

28 years ago(trap): New attribute.
Richard Kenner [Sun, 17 Mar 1996 00:33:14 +0000 (19:33 -0500)]
(trap): New attribute.

Modify patterns for all floating-point trap generating instructions.

From-SVN: r11551

28 years ago(alpha_tp, alpha_fprm, alpha_fptm): New variables.
Richard Kenner [Sun, 17 Mar 1996 00:32:42 +0000 (19:32 -0500)]
(alpha_tp, alpha_fprm, alpha_fptm): New variables.

(alpha_tp_string, alpha_fprm_string, alpha_fptm_string
(trap_pending): Likewise.
(override_options, summarize_insn, final_prescan_insn): New functions.
(print_operand): Handle cases '&', '\'', ')', and '+'.
(output_prolog): Emit ".eflag 48" if TARGET_IEEE_CONFORMANT.
(output_epilog): Call final_prescan_insn before emitting epilog.

From-SVN: r11550

28 years ago(CPP_SPEC): Added -mieee and -mieee-with-inexact.
Richard Kenner [Sun, 17 Mar 1996 00:32:17 +0000 (19:32 -0500)]
(CPP_SPEC): Added -mieee and -mieee-with-inexact.

(alpha_trap_precision, alpha_fp_rounding_mode, alpha_fp_trap_mode):
New enum types.
(target_flags, alpha_tp, alpha_fprm, alpha_fptm): New external vars.
(alpha_fprm_string, alpha_fptm_string, alpha_tp_string): Likewise.
(TARGET_IEEE{,_WITH_INEXACT,_CONFORMANT}): New macros.
(MASK_IEEE{,_WITH_INEXACT,_CONFORMANT}): Likewise.
(MASK_FP, MASK_FPREGS,
(TARGET_SWITCHES): Added "ieee-conformant", "ieee", and
"ieee-with-inexact"; use MASK symbols.
(TARGET_OPTIONS): New macro.
(OVERRIDE_OPTIONS, FINAL_PRESCAN_{INSN,LABEL}): New macros.
(PRINT_OPERAND_PUNCT_VALID_P): Allow operand codes for FP insns.
(CC1_SPEC): New macro.

From-SVN: r11549

28 years ago(final_scan_insn, case CODE_LABEL): Invoke FINAL_PRESCAN_INSN if
Richard Kenner [Sun, 17 Mar 1996 00:31:33 +0000 (19:31 -0500)]
(final_scan_insn, case CODE_LABEL): Invoke FINAL_PRESCAN_INSN if
FINAL_SCAN_LABEL is defined.

From-SVN: r11548

28 years ago(substitute_in_expr, case COMPONENT_REF): Ignore if inner
Richard Kenner [Sun, 17 Mar 1996 00:23:14 +0000 (19:23 -0500)]
(substitute_in_expr, case COMPONENT_REF): Ignore if inner
PLACEHOLDER_EXPR has not yet been initialized.

From-SVN: r11547

28 years ago(insv): Restore missing end of comment.
Richard Kenner [Sun, 17 Mar 1996 00:19:01 +0000 (19:19 -0500)]
(insv): Restore missing end of comment.

From-SVN: r11546