platform/upstream/gcc.git
28 years ago(TARGET_DEFAULT): Comment out TARGET_CPU_DEFAULT support for now.
Doug Evans [Sun, 14 Apr 1996 03:43:53 +0000 (03:43 +0000)]
(TARGET_DEFAULT): Comment out TARGET_CPU_DEFAULT support for now.

(MULTLIB_DEFAULTS): Always little-endian for now.

From-SVN: r11760

28 years agoInitial revision
Richard Kenner [Sun, 14 Apr 1996 00:35:30 +0000 (20:35 -0400)]
Initial revision

From-SVN: r11759

28 years ago(CHECK_FLOAT_VALUE): Define.
Richard Kenner [Sun, 14 Apr 1996 00:18:03 +0000 (20:18 -0400)]
(CHECK_FLOAT_VALUE): Define.

(ASM_OUTPUT_FLOAT): Print the value in hex.

From-SVN: r11758

28 years ago(check_float_value): New function.
Richard Kenner [Sun, 14 Apr 1996 00:16:55 +0000 (20:16 -0400)]
(check_float_value): New function.

From-SVN: r11757

28 years agoInitial revision
Doug Evans [Sat, 13 Apr 1996 19:07:47 +0000 (19:07 +0000)]
Initial revision

From-SVN: r11756

28 years agoarm.c (use_return_insn): Don't use return for naked functions.
Doug Evans [Sat, 13 Apr 1996 19:05:54 +0000 (19:05 +0000)]
arm.c (use_return_insn): Don't use return for naked functions.

* arm/arm.c (use_return_insn): Don't use return for naked functions.
(arm_valid_machine_decl_attribute): New function.
(arm_naked_function_p): New function.
(output_func_prologue): Naked functions don't have prologues.
(arm_expand_prologue): Likewise.
(output_func_epilogue): Likewise with epilogues.

From-SVN: r11755

28 years agoh8300.c (adds_subs_operand): Fix thinko in last change.
Jeff Law [Sat, 13 Apr 1996 15:35:46 +0000 (09:35 -0600)]
h8300.c (adds_subs_operand): Fix thinko in last change.

        * h8300/h8300.c (adds_subs_operand): Fix thinko in last change.

        * h8300/h8300.md (subhi3): Turn into a define_expand.
        (subhi3 using adds_subs): New pattern.
        (H8300 subhi): Derived from old subhi pattern.  Simplified.
        (H8300H subhi): Likewise.
        (subsi using adds_subs): New pattern.  Only used on H8300H.
        (subsi_h8300): Allow "a" registers as destination.
        (subsi_h8300h): Allow "a" registers as destination.  Simplify.

        * h8300/h8300.md (bcs_qiqi, bcs_hihi, bs_hiqi): Fix thinkos
        in last change.

From-SVN: r11754

28 years ago(ASM_DECLARE_FUNCTION_NAME): Don't write anything to asm file, because
Richard Kenner [Sat, 13 Apr 1996 12:59:35 +0000 (08:59 -0400)]
(ASM_DECLARE_FUNCTION_NAME): Don't write anything to asm file, because
everything is handled in FUNCTION_PROLOGUE.

From-SVN: r11753

28 years ago(alpha_emit_set_const_1): Renamed from alpha_emit_set_const and static.
Richard Kenner [Sat, 13 Apr 1996 11:55:30 +0000 (07:55 -0400)]
(alpha_emit_set_const_1): Renamed from alpha_emit_set_const and static.

Remove change of Nov 26; again use normal mechanism for SImode.
(alpha_emit_set_const): New function.

From-SVN: r11752

28 years agoh8300.md: Add more comments about things which seem wrong...
Jeff Law [Sat, 13 Apr 1996 06:37:29 +0000 (00:37 -0600)]
h8300.md: Add more comments about things which seem wrong...

        * h8300.md: Add more comments about things which seem
        wrong, stupid, or just don't make any sense yet.

        * h8300.c (adds_subs_operand): New function.
        (output_adds_subs): New function.
        * h8300.md (addhi3): Turn into a define_expand.
        (addhi3 using adds_subs): New pattern.
        (H8300 addhi): Derived from old addhi pattern.  Simplified.
        (H8300H addhi): Likewise.
        (addsi using adds_subs): New pattern.  Only used on H8300H.
        (addsi_h8300): Allow "a" registers as destination.
        (addsi_h8300h):  Simplify.  Allow "a" registers as destination.

        * h8300.md (bcs): New attribute type.
        (default_length): Compute correct length for bcs insns.
        (bcs_qiqi, bcs_hihi, bs_hiqi): Use new type and update
        to account for correct length computation.

        * h8300.md (movhi_internal): Demand at least one operand to
        be a register.
        (movsi_h8300): Optimize loading certain constants.
        (movsi_h8300h): Likewise.

        * h8300.h (NO_FUNCTION_CSE): Comment out.
        (FUNCTION_ARG_REGNO_P): Properly define for TARGET_QUICKCALL.
        (RETURN_IN_MEMORY): Don't return small structs in regs.

From-SVN: r11751

28 years agoconfig.guess: Combine two OSF1 rules.
Per Bothner [Sat, 13 Apr 1996 00:06:54 +0000 (17:06 -0700)]
config.guess: Combine two OSF1 rules.

* config.guess:  Combine two OSF1 rules.
Also recognize field test versions.  From mjr@zk3.dec.com.
* config.guess (dgux):  Use /usr/bin/uname rather than uname,
because GNU uname does not support -p.  From pmr@pajato.com.

From-SVN: r11712

28 years agoFix typo.
Jeff Law [Fri, 12 Apr 1996 23:57:07 +0000 (17:57 -0600)]
Fix typo.

From-SVN: r11711

28 years ago86th Cygnus<->FSF quick merge
Mike Stump [Fri, 12 Apr 1996 23:55:07 +0000 (23:55 +0000)]
86th Cygnus<->FSF quick merge

From-SVN: r11710

28 years agoh8300.c (const_costs): -4 and 4 are cheap on the h8300h.
Jeff Law [Fri, 12 Apr 1996 23:49:19 +0000 (17:49 -0600)]
h8300.c (const_costs): -4 and 4 are cheap on the h8300h.

        * h8300/h8300.c (const_costs): -4 and 4 are cheap on the h8300h.
        (notice_update_cc): Remove references to "value2" field.

From-SVN: r11709

28 years agoh8300.c (dosize): Remove unused "fped" argument.
Jeff Law [Fri, 12 Apr 1996 23:23:05 +0000 (17:23 -0600)]
h8300.c (dosize): Remove unused "fped" argument.

        * h8300/h8300.c (dosize): Remove unused "fped" argument.  All callers
        changed.  Handle add/sub of 5-8 bytes efficiently on the h8300h.

From-SVN: r11708

28 years agoh8300.c (print_operand): Handle new 'R' case for accessing the 8-bit area.
Jeff Law [Fri, 12 Apr 1996 22:21:28 +0000 (16:21 -0600)]
h8300.c (print_operand): Handle new 'R' case for accessing the 8-bit area.

        * h8300/h8300.c (print_operand): Handle new 'R' case for accessing
        the 8-bit area.  Make code for 'Y' fall into code for 'R' when
        operand is not a register.  Update some comments.
        (h8300_tiny_data_p): New function.
        (h8300_valid_machine_decl_attribute): Handle "tiny_data" attribute.
        * h8300/h8300.h (OK_FOR_U): Handle memory references into the
        8-bit area.
        (ENCODE_SECTION_INFO): Mark SYMBOL_REFs which refer to the 8-bit
        area.
        * h8300/h8300.md (many patterns): Use 'R' rather than 'X' for
        operands that may be memory accesses into the 8-bit area.
        (btst pattern): New pattern to set the cc0 (zbit) based on
        data in the 8-bit area.

        * h8300/h8300.md (one_cmplsi2): Fix length computation for h8300h.

From-SVN: r11707

28 years agoaout.h (ASM_GENERATE_INTERNAL_LABEL): Use LOCAL_LABEL_PREFIX.
Doug Evans [Fri, 12 Apr 1996 18:47:39 +0000 (18:47 +0000)]
aout.h (ASM_GENERATE_INTERNAL_LABEL): Use LOCAL_LABEL_PREFIX.

* arm/aout.h (ASM_GENERATE_INTERNAL_LABEL): Use LOCAL_LABEL_PREFIX.
(ASM_OUTPUT_ADDR_{VEC,DIFF_ELT}): Likewise.

From-SVN: r11706

28 years ago(CPP_PREDEFINES): Define __semi__ instead of semi.
Doug Evans [Fri, 12 Apr 1996 18:41:09 +0000 (18:41 +0000)]
(CPP_PREDEFINES): Define __semi__ instead of semi.

From-SVN: r11705

28 years agoarm.md (*ldmsi,*stmsi): Use (mem (match_operand ...)) to avoid using indirect_operand...
Doug Evans [Fri, 12 Apr 1996 18:34:14 +0000 (18:34 +0000)]
arm.md (*ldmsi,*stmsi): Use (mem (match_operand ...)) to avoid using indirect_operand (reload problems).

* arm/arm.md (*ldmsi,*stmsi): Use (mem (match_operand ...))
to avoid using indirect_operand (reload problems).

From-SVN: r11704

28 years ago(dbxout_typedefs): Don't emit incomplete types yet.
Jason Merrill [Fri, 12 Apr 1996 16:42:46 +0000 (16:42 +0000)]
(dbxout_typedefs): Don't emit incomplete types yet.

        (dbxout_symbol): Use DECL_ARTIFICIAL to recognize C++ implicit
        typedefs.

From-SVN: r11703

28 years agot-winnt (winnt.o): Rewrite based on .c.o rule.
Doug Evans [Fri, 12 Apr 1996 01:56:09 +0000 (01:56 +0000)]
t-winnt (winnt.o): Rewrite based on .c.o rule.

* i386/t-winnt (winnt.o): Rewrite based on .c.o rule.
(oldnames.o,spawnv.o): Add rules for.

From-SVN: r11702

28 years agolib1funcs.asm (modnorm): New function(s).
Jeff Law [Thu, 11 Apr 1996 20:10:57 +0000 (14:10 -0600)]
lib1funcs.asm (modnorm): New function(s).

        * lib1funcs.asm (modnorm): New function(s).  Like divnorm,
        but gets the sign bit right for modulo operations.
        (__modhi3, modsi3): Use modnorm.

From-SVN: r11701

28 years agoMinor EXTRA_SPECS fixes.
Stan Cox [Thu, 11 Apr 1996 17:00:35 +0000 (17:00 +0000)]
Minor EXTRA_SPECS fixes.

From-SVN: r11700

28 years ago(expand_call): In inlining case, if BEFORE_CALLS is zero, start
Richard Kenner [Thu, 11 Apr 1996 13:04:53 +0000 (09:04 -0400)]
(expand_call): In inlining case, if BEFORE_CALLS is zero, start
looking at first insn.

From-SVN: r11699

28 years ago(preexpand_calls, case CALL_EXPR): Rework to properly avoid expanding
Richard Kenner [Thu, 11 Apr 1996 12:24:56 +0000 (08:24 -0400)]
(preexpand_calls, case CALL_EXPR): Rework to properly avoid expanding
functions returning variable size objects.

From-SVN: r11698

28 years ago(expand_inline_function): When comparing types of formal and actual,
Richard Kenner [Thu, 11 Apr 1996 11:24:55 +0000 (07:24 -0400)]
(expand_inline_function): When comparing types of formal and actual,

use TYPE_MAIN_VARIANT.

From-SVN: r11697

28 years agoh8300.c (dosize): On the h8300h, do 4 byte adjustments using adds and subs.
Jeff Law [Thu, 11 Apr 1996 04:51:22 +0000 (22:51 -0600)]
h8300.c (dosize): On the h8300h, do 4 byte adjustments using adds and subs.

        * h8300.c (dosize): On the h8300h, do 4 byte adjustments
        using adds and subs.
        * h8300.h (LONG_LONG_TYPE_SIZE): Always make this 32bits.
        Reverses change from Apr 2, 1996.

From-SVN: r11696

28 years agosparc.h (ASM_OUTPUT_INTERNAL_LABELREF): Delete.
Doug Evans [Thu, 11 Apr 1996 01:12:55 +0000 (01:12 +0000)]
sparc.h (ASM_OUTPUT_INTERNAL_LABELREF): Delete.

* sparc/sparc.h (ASM_OUTPUT_INTERNAL_LABELREF): Delete.
(FUNCTION_PROFILER): Use ASM_GENERATE_INTERNAL_LABEL instead.

From-SVN: r11695

28 years ago* sparc/splet.h (SUBTARGET_SWITCHES): Recognize -mbroken-saverestore.
Doug Evans [Wed, 10 Apr 1996 22:39:25 +0000 (22:39 +0000)]
* sparc/splet.h (SUBTARGET_SWITCHES): Recognize -mbroken-saverestore.

From-SVN: r11694

28 years ago* sparc/sparc.md (attr cpu): 90c701 renamed to tsc701.
Doug Evans [Wed, 10 Apr 1996 22:38:36 +0000 (22:38 +0000)]
* sparc/sparc.md (attr cpu): 90c701 renamed to tsc701.

From-SVN: r11693

28 years agosparc.h (CPP_SPEC): Handle -mcpu={sparclet,tsc701}.
Doug Evans [Wed, 10 Apr 1996 22:37:50 +0000 (22:37 +0000)]
sparc.h (CPP_SPEC): Handle -mcpu={sparclet,tsc701}.

* sparc/sparc.h (CPP_SPEC): Handle -mcpu={sparclet,tsc701}.
(ASM_SPEC): Likewise.
({MASK,TARGET}_BROKEN_SAVERESTORE): Define.
(enum processor_type): 90C701 renamed to TSC701.

From-SVN: r11692

28 years agosparc.c (sparc_override_options): 90c701 renamed to tsc701.
Doug Evans [Wed, 10 Apr 1996 22:37:08 +0000 (22:37 +0000)]
sparc.c (sparc_override_options): 90c701 renamed to tsc701.

* sparc/sparc.c (sparc_override_options): 90c701 renamed to tsc701.
(eligible_for_epilogue_delay_slot): Don't allow anything if
-mbroken-saverestore.
(output_function_prologue): Only use trivial save's if
-mbroken-saverestore.

From-SVN: r11691

28 years agoSupport EXTRA_SPECS
Stan Cox [Wed, 10 Apr 1996 21:52:00 +0000 (21:52 +0000)]
Support EXTRA_SPECS

From-SVN: r11690

28 years ago(parse_number): Don't reject long long constants unless pedantic.
Richard Kenner [Wed, 10 Apr 1996 21:22:35 +0000 (17:22 -0400)]
(parse_number): Don't reject long long constants unless pedantic.

From-SVN: r11689

28 years ago(e64toe): Properly distinguish between NaN and infinity bit patterns for real-words...
Richard Kenner [Wed, 10 Apr 1996 21:19:42 +0000 (17:19 -0400)]
(e64toe): Properly distinguish between NaN and infinity bit patterns for real-words-big-endian targets.

(e64toe): Properly distinguish between NaN and infinity bit patterns
for real-words-big-endian targets.
(endian): Add two explicit casts.
(e64toe): Support ARM extended precision fp format.  Check negative
infinities properly for NaNs.
(toe64): Support ARM extended precision fp format.

From-SVN: r11688

28 years ago(ASM_OUTPUT_ALIGN): Define and use .balign.
Doug Evans [Tue, 9 Apr 1996 16:53:18 +0000 (16:53 +0000)]
(ASM_OUTPUT_ALIGN): Define and use .balign.

From-SVN: r11687

28 years ago(fp_zero_operand): Exclude -0.0.
Doug Evans [Tue, 9 Apr 1996 16:48:21 +0000 (16:48 +0000)]
(fp_zero_operand): Exclude -0.0.

From-SVN: r11686

28 years agoFix typo in last change.
Richard Kenner [Tue, 9 Apr 1996 11:50:58 +0000 (07:50 -0400)]
Fix typo in last change.

From-SVN: r11685

28 years ago(substitute_in_type): Delete declaration.
Richard Kenner [Tue, 9 Apr 1996 11:11:16 +0000 (07:11 -0400)]
(substitute_in_type): Delete declaration.

From-SVN: r11684

28 years ago(substitute_in_expr): Don't return new expression if nothing changed.
Richard Kenner [Tue, 9 Apr 1996 11:10:49 +0000 (07:10 -0400)]
(substitute_in_expr): Don't return new expression if nothing changed.

(substitute_in_type): Deleted, not used.

From-SVN: r11683

28 years agoflow.c (find_auto_inc): Also make sure there aren't any sets of the incremented regis...
Jeff Law [Mon, 8 Apr 1996 20:31:32 +0000 (14:31 -0600)]
flow.c (find_auto_inc): Also make sure there aren't any sets of the incremented register between the...

        * flow.c (find_auto_inc): Also make sure there aren't
        any sets of the incremented register between the memory
        reference and increment insn.

From-SVN: r11682

28 years agoAdd Solaris on PowerPC support
Michael Meissner [Mon, 8 Apr 1996 20:19:10 +0000 (20:19 +0000)]
Add Solaris on PowerPC support

From-SVN: r11677

28 years agoAdd -fpic/-fPIC support
Michael Meissner [Mon, 8 Apr 1996 19:48:29 +0000 (19:48 +0000)]
Add -fpic/-fPIC support

From-SVN: r11676

28 years agoInitial revision
Richard Kenner [Mon, 8 Apr 1996 19:40:45 +0000 (15:40 -0400)]
Initial revision

From-SVN: r11675

28 years ago(finish_function): Always warn if main doesn't return int.
Richard Kenner [Mon, 8 Apr 1996 18:44:21 +0000 (14:44 -0400)]
(finish_function): Always warn if main doesn't return int.

From-SVN: r11674

28 years agoFix mains args in eabi; use reg_names to print out registers
Michael Meissner [Mon, 8 Apr 1996 17:05:33 +0000 (17:05 +0000)]
Fix mains args in eabi; use reg_names to print out registers

From-SVN: r11673

28 years ago86th Cygnus<->FSF quick merge
Mike Stump [Fri, 5 Apr 1996 18:07:00 +0000 (18:07 +0000)]
86th Cygnus<->FSF quick merge

From-SVN: r11672

28 years agoh8300.c (h8300_valid_machine_decl_attribute): Use underscores, not dashes in attributes.
Jeff Law [Fri, 5 Apr 1996 05:58:46 +0000 (22:58 -0700)]
h8300.c (h8300_valid_machine_decl_attribute): Use underscores, not dashes in attributes.

        * h8300/h8300.c (h8300_valid_machine_decl_attribute): Use
        underscores, not dashes in attributes.
        (h8300_funcvec_function_p): Corresponding changes.
        (h8300_interrupt_function_p): Likewise.

From-SVN: r11671

28 years agopa.h (INIT_CUMULATIVE_INCOMING_ARGS): Initialize "indirect" field to zero.
Jeff Law [Fri, 5 Apr 1996 05:42:17 +0000 (22:42 -0700)]
pa.h (INIT_CUMULATIVE_INCOMING_ARGS): Initialize "indirect" field to zero.

        * pa/pa.h (INIT_CUMULATIVE_INCOMING_ARGS): Initialize "indirect"
        field to zero.

From-SVN: r11670

28 years ago(GIV_SORT_CRITERION): Define.
Jim Wilson [Thu, 4 Apr 1996 20:12:59 +0000 (12:12 -0800)]
(GIV_SORT_CRITERION):  Define.

From-SVN: r11669

28 years ago(combine_givs): Use new macro GIV_SORT_CRITERION.
Jim Wilson [Thu, 4 Apr 1996 20:01:59 +0000 (12:01 -0800)]
(combine_givs): Use new macro GIV_SORT_CRITERION.

New variable giv_array.  Loop over giv_array instead of following
next_iv links.
(giv_sort): New function.
K

From-SVN: r11668

28 years ago(push_init_level): When output alignment for structure
Jim Wilson [Thu, 4 Apr 1996 17:46:09 +0000 (09:46 -0800)]
(push_init_level): When output alignment for structure
field, add check to verify it is the next field to be output.

From-SVN: r11667

28 years agoInlcude thr.h, not thread.h.
Richard Kenner [Thu, 4 Apr 1996 17:35:55 +0000 (12:35 -0500)]
Inlcude thr.h, not thread.h.

From-SVN: r11666

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