gcc.git
28 years ago(alpha_emit_conditional_move): New function.
Richard Kenner [Tue, 16 Apr 1996 14:53:48 +0000 (10:53 -0400)]
(alpha_emit_conditional_move): New function.

From-SVN: r11814

28 years ago(struct function): New field returns_pointer.
Richard Kenner [Tue, 16 Apr 1996 14:19:48 +0000 (10:19 -0400)]
(struct function): New field returns_pointer.

From-SVN: r11813

28 years ago(push_function_context_{to,from}): Save and restore
Richard Kenner [Tue, 16 Apr 1996 14:19:07 +0000 (10:19 -0400)]
(push_function_context_{to,from}): Save and restore
current_function_returns_pointer.

From-SVN: r11812

28 years ago(ENDFILE_SPEC): Add missing `%s'.
Richard Kenner [Tue, 16 Apr 1996 14:10:51 +0000 (10:10 -0400)]
(ENDFILE_SPEC): Add missing `%s'.

From-SVN: r11811

28 years ago(LIB_SPEC): Deleted.
Richard Kenner [Tue, 16 Apr 1996 13:20:17 +0000 (09:20 -0400)]
(LIB_SPEC): Deleted.

(BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS): Define.

From-SVN: r11810

28 years agoInitial revision
Richard Kenner [Tue, 16 Apr 1996 13:19:18 +0000 (09:19 -0400)]
Initial revision

From-SVN: r11809

28 years ago(INSTALL_ASSERT_H): New definition.
Richard Kenner [Tue, 16 Apr 1996 13:18:56 +0000 (09:18 -0400)]
(INSTALL_ASSERT_H): New definition.

(CRTSTUFF_T_CFLAGS_S, TARGET_LIBGCC2_CFLAGS): New definitions.

From-SVN: r11808

28 years ago(TRAMPOLINE_ALIGNMENT): Specify alignment in bits, not bytes.
Richard Kenner [Tue, 16 Apr 1996 13:06:08 +0000 (09:06 -0400)]
(TRAMPOLINE_ALIGNMENT): Specify alignment in bits, not bytes.

From-SVN: r11807

28 years ago(final_scan_insn): Allow removal of redundant test and compare
Richard Kenner [Tue, 16 Apr 1996 12:53:07 +0000 (08:53 -0400)]
(final_scan_insn): Allow removal of redundant test and compare
instructions that use clobbers.

From-SVN: r11806

28 years ago(expand_builtin, case BUILT_IN_LONGJMP): Make a decl for __dummy, so
Richard Kenner [Tue, 16 Apr 1996 12:37:28 +0000 (08:37 -0400)]
(expand_builtin, case BUILT_IN_LONGJMP): Make a decl for __dummy, so
we can call make_function_rtl on it.

From-SVN: r11805

28 years ago(expand_assignment): Don't pre-evaluate RHS if a CALL_EXPR with a
Richard Kenner [Tue, 16 Apr 1996 10:21:39 +0000 (06:21 -0400)]
(expand_assignment): Don't pre-evaluate RHS if a CALL_EXPR with a
variable-size return.

From-SVN: r11804

28 years ago(do_store_flag): Before calling exact_log2, remove any
Jim Wilson [Mon, 15 Apr 1996 23:06:00 +0000 (16:06 -0700)]
(do_store_flag): Before calling exact_log2, remove any
sign extension bits.

From-SVN: r11803

28 years agoFix undefined VOIDFUNCPTR in VxWorks 5.2 <time.h>
Ian Lance Taylor [Mon, 15 Apr 1996 21:39:45 +0000 (21:39 +0000)]
Fix undefined VOIDFUNCPTR in VxWorks 5.2 <time.h>

From-SVN: r11802

28 years ago(emit_reload_insns): Call reload_reg_reaches_end_p for every reg of multi-reg spill...
Jim Wilson [Mon, 15 Apr 1996 19:10:36 +0000 (12:10 -0700)]
(emit_reload_insns): Call reload_reg_reaches_end_p for every reg of multi-reg spill register.

(emit_reload_insns): Call reload_reg_reaches_end_p for
every reg of multi-reg spill register.  Invalidate old info for multi
reg spill registers when only part survives to the end.

From-SVN: r11801

28 years agofunction.c (preserve_temp_slots): Only preserve temporaries that happen to be at...
Mike Stump [Mon, 15 Apr 1996 18:46:12 +0000 (18:46 +0000)]
function.c (preserve_temp_slots): Only preserve temporaries that happen to be at the current level.

* function.c (preserve_temp_slots): Only preserve temporaries that
happen to be at the current level.
Fixes p7325.C.

From-SVN: r11800

28 years agortl.h: #include "gansidecl.h".
Doug Evans [Mon, 15 Apr 1996 18:07:51 +0000 (18:07 +0000)]
rtl.h: #include "gansidecl.h".

* rtl.h: #include "gansidecl.h".
(PROTO,VPROTO,PVPROTO,VPROTO,VA_START,STDIO_PROTO): Delete.
(NULL,GENERIC_PTR,NULL_PTR): Delete.
* tree.h: Likewise.

From-SVN: r11799

28 years agortl.h: #include "gansidecl.h".
Doug Evans [Mon, 15 Apr 1996 18:06:42 +0000 (18:06 +0000)]
rtl.h: #include "gansidecl.h".

* rtl.h: #include "gansidecl.h".
(PROTO,VPROTO,PVPROTO,VPROTO,VA_START,STDIO_PROTO): Delete.
(NULL,GENERIC_PTR,NULL_PTR): Delete.

From-SVN: r11798

28 years agorecog.h: #include "gansidecl.h".
Doug Evans [Mon, 15 Apr 1996 18:05:24 +0000 (18:05 +0000)]
recog.h: #include "gansidecl.h".

* recog.h: #include "gansidecl.h".
(PROTO,const): Delete.

From-SVN: r11797

28 years agomachmode.h: #include "gansidecl.h".
Doug Evans [Mon, 15 Apr 1996 18:04:42 +0000 (18:04 +0000)]
machmode.h: #include "gansidecl.h".

* machmode.h: #include "gansidecl.h".
(PROTO): Delete.
(HAVE_MACHINE_MODES): Move definition to standard place.

From-SVN: r11796

28 years ago* genattr.c (main): Delete printing of "#define PROTO".
Doug Evans [Mon, 15 Apr 1996 18:01:14 +0000 (18:01 +0000)]
* genattr.c (main): Delete printing of "#define PROTO".

From-SVN: r11795

28 years agogcc.c: #include "gansidecl.h".
Doug Evans [Mon, 15 Apr 1996 17:59:56 +0000 (17:59 +0000)]
gcc.c: #include "gansidecl.h".

* gcc.c: #include "gansidecl.h".
(PROTO,VPROTO,PVPROTO,VPROTO,VA_START,NULL): Delete.
(GENERIC_PTR,NULL_PTR,P_tmpdir): Delete.
(choose_temp_base): Declare as extern, delete internal copy.
(concat): Rewrite to take a variable number of arguments.
(choose_temp_base_try,concat[346]): Delete.
(translate_options,set_spec,process_command,do_spec_1,
is_directory,main): Always use concat, not concat[346].  Pass
NULL_PTR as trailing arg to concat.

From-SVN: r11794

28 years agofix-header.c: #include "gansidecl.h".
Doug Evans [Mon, 15 Apr 1996 17:58:45 +0000 (17:58 +0000)]
fix-header.c: #include "gansidecl.h".

* fix-header.c: #include "gansidecl.h".
(const): Delete.

From-SVN: r11793

28 years ago* expr.h (const): Delete.
Doug Evans [Mon, 15 Apr 1996 17:57:27 +0000 (17:57 +0000)]
* expr.h (const): Delete.

From-SVN: r11792

28 years agodemangle.h: #include "gansidecl.h".
Doug Evans [Mon, 15 Apr 1996 17:56:39 +0000 (17:56 +0000)]
demangle.h: #include "gansidecl.h".

* demangle.h: #include "gansidecl.h".
(PROTO,PTR,const): Delete.

From-SVN: r11791

28 years agocpphash.c: #include "gansidecl.h".
Doug Evans [Mon, 15 Apr 1996 17:51:25 +0000 (17:51 +0000)]
cpphash.c: #include "gansidecl.h".

* cpphash.c: #include "gansidecl.h".
(NULL,const,volatile): Delete.

From-SVN: r11790

28 years agocollect2.c: #include "gansidecl.h".
Doug Evans [Mon, 15 Apr 1996 17:49:08 +0000 (17:49 +0000)]
collect2.c: #include "gansidecl.h".

* collect2.c: #include "gansidecl.h".
(const,PROTO): Delete.
(P_tmpdir): Delete.
(choose_temp_base): Declare as extern, delete internal copy.
(main): Update call to choose_temp_base.

From-SVN: r11789

28 years agoMakefile.in (xgcc): Depend on and link in choose-temp.o.
Doug Evans [Mon, 15 Apr 1996 17:47:09 +0000 (17:47 +0000)]
Makefile.in (xgcc): Depend on and link in choose-temp.o.

* Makefile.in (xgcc): Depend on and link in choose-temp.o.
(collect2): Likewise.
(choose-temp.o): Add.

From-SVN: r11788

28 years agoInitial revision
Doug Evans [Mon, 15 Apr 1996 17:43:05 +0000 (17:43 +0000)]
Initial revision

From-SVN: r11787

28 years ago(invalidate_skipped_set): Ignore CLOBBER after calling
Richard Kenner [Mon, 15 Apr 1996 12:49:02 +0000 (08:49 -0400)]
(invalidate_skipped_set): Ignore CLOBBER after calling
note_mem_written, not before.

From-SVN: r11786

28 years ago(notice_update_cc, case ASHIFT{,RT}, LSHIFTRT, ROTATE{,RT}): Don't set
Richard Kenner [Mon, 15 Apr 1996 12:21:56 +0000 (08:21 -0400)]
(notice_update_cc, case ASHIFT{,RT}, LSHIFTRT, ROTATE{,RT}): Don't set
CC_NO_OVERFLOW.

From-SVN: r11785

28 years ago(TARGET_SWITCHES): Fix typo in "c68000" entry.
Richard Kenner [Mon, 15 Apr 1996 12:21:33 +0000 (08:21 -0400)]
(TARGET_SWITCHES): Fix typo in "c68000" entry.

From-SVN: r11784

28 years ago(tstdi): Optimized for "d" case.
Richard Kenner [Mon, 15 Apr 1996 12:21:03 +0000 (08:21 -0400)]
(tstdi): Optimized for "d" case.

(movqi): Allow moving "i" into "a".
(zero_extendsidi2): Alternatives merged.
(extendplussidi): Fixed when operands 0 and 1 share a register.
(adddi_sexthishl32): Constraints reordered for better reload.
(adddi3,subdi_sexthishl32,subdi3,negdi2): Likewise.
(ashldi_sexthi): Accept "m" as operand 0.
(ashldi_const32): Alternatives merged.
(ashift patterns): Output "lsl" instead of "asl".
(beq0_di): If condition codes already set, output only branch insn.
(bne0_di,bge0_di,blt0_di): Likewise.

From-SVN: r11783

28 years ago(eadd1): Check for overflow on X plus X.
Richard Kenner [Mon, 15 Apr 1996 12:06:07 +0000 (08:06 -0400)]
(eadd1): Check for overflow on X plus X.

From-SVN: r11782

28 years ago(HAVE_SYSV_PRAGMA): Removed definition.
Richard Kenner [Mon, 15 Apr 1996 12:02:21 +0000 (08:02 -0400)]
(HAVE_SYSV_PRAGMA): Removed definition.

From-SVN: r11781

28 years ago(HAVE_SYSV_PRAGMA): Define.
Richard Kenner [Mon, 15 Apr 1996 12:01:51 +0000 (08:01 -0400)]
(HAVE_SYSV_PRAGMA): Define.

(SET_ASM_OP): Define.

From-SVN: r11780

28 years ago(bc_expand_increment): Change declaration to return void.
Richard Kenner [Mon, 15 Apr 1996 11:52:17 +0000 (07:52 -0400)]
(bc_expand_increment): Change declaration to return void.

From-SVN: r11779

28 years ago(find_dead_or_set_registers): Only kill spill regs after label made
Richard Kenner [Mon, 15 Apr 1996 11:46:28 +0000 (07:46 -0400)]
(find_dead_or_set_registers): Only kill spill regs after label made
before jump2.

From-SVN: r11778

28 years ago(max_label_num_after_reload): New variable.
Richard Kenner [Mon, 15 Apr 1996 11:46:02 +0000 (07:46 -0400)]
(max_label_num_after_reload): New variable.

(rest_of_compilation): Set it.

From-SVN: r11777

28 years ago(CC): Pass -b $(host), not target.
Richard Kenner [Mon, 15 Apr 1996 11:28:50 +0000 (07:28 -0400)]
(CC): Pass -b $(host), not target.

From-SVN: r11776

28 years ago(expand_field_assignment): Take SUBREG_WORD into account when have STRICT_LOW_PART.
Richard Kenner [Mon, 15 Apr 1996 09:12:16 +0000 (05:12 -0400)]
(expand_field_assignment): Take SUBREG_WORD into account when have STRICT_LOW_PART.

(expand_field_assignment): Take SUBREG_WORD into account when have
STRICT_LOW_PART.
(make_extraction): Make a STRICT_LOW_PART at any low-order word.

From-SVN: r11775

28 years agoflags.h (flag_function_sections): Declare.
Jeff Law [Mon, 15 Apr 1996 07:46:10 +0000 (01:46 -0600)]
flags.h (flag_function_sections): Declare.

        * flags.h (flag_function_sections): Declare.
        * toplev.c (flag_function_sections): Define.
        (compile_file): Add warnings when -ffunction-sections is
        used with -g, or profiling.  Disable -ffunction-sections
        when profiling is used.  Add warning when -ffunction-sections
        is used on a target that doesn't support it.
        * varasm.c (named_section): Make a copy of the section name
        in case the original is in temporary storage.
        (function_section): Set DECL_SECTION_NAME for each function
        if flag_function_sections is on and the target supports it.
        * dbxout.c (dbxout_function_end): New function.
        (dbxout_function): Call dbxout_function_end if using extensions
        and flag_function_sections is on.
        * sparc/sysv4.h (ASM_OUTPUT_SECTION_NAME): Prefix a function
        section's name with ".text%" when -ffunction-sections.

From-SVN: r11774

28 years ago(try_combine): When substituting in output of I2, ensure dest isn't
Richard Kenner [Mon, 15 Apr 1996 00:42:14 +0000 (20:42 -0400)]
(try_combine): When substituting in output of I2, ensure dest isn't
clobbered in I2.

From-SVN: r11773

28 years ago(main): Delete redundant test for -p used with -fbytecode.
Doug Evans [Sun, 14 Apr 1996 23:37:25 +0000 (23:37 +0000)]
(main): Delete redundant test for -p used with -fbytecode.

From-SVN: r11772

28 years ago(finish_enum): Don't crash if no type can represent all enumeration values.
Richard Kenner [Sun, 14 Apr 1996 23:01:38 +0000 (19:01 -0400)]
(finish_enum): Don't crash if no type can represent all enumeration values.

From-SVN: r11771

28 years ago(ftruncdf2): Enable for m68060 systems.
Richard Kenner [Sun, 14 Apr 1996 22:56:28 +0000 (18:56 -0400)]
(ftruncdf2): Enable for m68060 systems.

From-SVN: r11770

28 years ago(expand_end_case): Move conversion of case_list before
Richard Kenner [Sun, 14 Apr 1996 22:52:47 +0000 (18:52 -0400)]
(expand_end_case): Move conversion of case_list before
check_for_full_enumeration_handling.

From-SVN: r11769

28 years ago(range_test): Don't convert hi_cst or lo_cst to unsigned when folding
Richard Kenner [Sun, 14 Apr 1996 22:49:18 +0000 (18:49 -0400)]
(range_test): Don't convert hi_cst or lo_cst to unsigned when folding
signed range tests.

From-SVN: r11768

28 years ago(real_value_from_int_cst): New arg, TYPE.
Richard Kenner [Sun, 14 Apr 1996 12:56:17 +0000 (08:56 -0400)]
(real_value_from_int_cst): New arg, TYPE.

Pass mode to REAL_VALUE_FROM_INT.
(build_real_from_int_cst): Properly deal with truncation.

From-SVN: r11767

28 years ago(fold_convert): Add new arg to REAL_VALUE_FROM_INT.
Richard Kenner [Sun, 14 Apr 1996 12:55:37 +0000 (08:55 -0400)]
(fold_convert): Add new arg to REAL_VALUE_FROM_INT.

From-SVN: r11766

28 years ago(simplify_unary_operation): Add new arg to REAL_VALUE_FROM_INT.
Richard Kenner [Sun, 14 Apr 1996 12:54:55 +0000 (08:54 -0400)]
(simplify_unary_operation): Add new arg to REAL_VALUE_FROM_INT.

From-SVN: r11765

28 years ago(ereal_from_{int,uint}): Add new arg, MODE.
Richard Kenner [Sun, 14 Apr 1996 12:54:19 +0000 (08:54 -0400)]
(ereal_from_{int,uint}): Add new arg, MODE.

From-SVN: r11764

28 years ago(ereal_from_{int,uint}): New arg, MODE.
Richard Kenner [Sun, 14 Apr 1996 12:53:43 +0000 (08:53 -0400)]
(ereal_from_{int,uint}): New arg, MODE.

From-SVN: r11763

28 years ago(combine_instructions): In initial scan of insns, handle a REG_INC note's affect...
Richard Kenner [Sun, 14 Apr 1996 12:20:54 +0000 (08:20 -0400)]
(combine_instructions): In initial scan of insns, handle a REG_INC note's affect on sign bit copies and nonzero bits.

(combine_instructions): In initial scan of insns, handle a REG_INC
note's affect on sign bit copies and nonzero bits.
(set_nonzero_bits_and_sign_copies): Treat a zero SET arg as a CLOBBER.

From-SVN: r11762

28 years ago(objc_skip_typespec): Don't abort for _C_UNDEF.
Richard Kenner [Sun, 14 Apr 1996 11:52:23 +0000 (07:52 -0400)]
(objc_skip_typespec): Don't abort for _C_UNDEF.

From-SVN: r11761

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