Commit Graph

11745 Commits

Author SHA1 Message Date
Richard Kenner 31fa03e54d Use the new trampoline definition.
(TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Deleted.
(INITIALIZE_TRAMPOLINE): Changed.
(FINALIZE_TRAMPOLINE, CLEAR_INSN_CACHE): New.

From-SVN: r11936
1996-05-06 09:49:05 -04:00
Richard Kenner 833c0b26ac (rtx_addr_varies_p): Scan operands of type `E'.
From-SVN: r11935
1996-05-06 09:43:48 -04:00
Richard Kenner 233fdd10bf (BOOT_CFLAGS, STMP_FIXPROTO, STMP_FIXPROTO): Deleted.
From-SVN: r11934
1996-05-06 09:04:35 -04:00
Richard Kenner 00cd3feb80 Initial revision
From-SVN: r11933
1996-05-06 09:04:01 -04:00
Richard Kenner 010d2c10bd (BOOT_CFLAGS, STMP_FIXPROTO, STMP_FIXPROTO): New, moved from x-linux.
From-SVN: r11932
1996-05-06 09:03:48 -04:00
Richard Kenner 9c906e8127 (default_include): For C++, also search OLD_GPLUSPLUS_INCLUDE_DIR.
From-SVN: r11931
1996-05-05 22:12:23 -04:00
Richard Kenner b039b61b5f (include_defaults_array): For C++, also search
OLD_GPLUSPLUS_INCLUDE_DIR.

From-SVN: r11930
1996-05-05 22:11:01 -04:00
Richard Kenner 5d6be9c866 (gxx_include_dir): Change to $(prefix)/include/g++.
(old_gxx_include_dir): New - defined as $(libdir)/g++-include.
(cccp.o, cpplib.o): Also pass OLD_GPLUSPLUS_INCLUDE_DIR (set from
$(old_gxx_include_dir)).

From-SVN: r11929
1996-05-05 22:10:03 -04:00
Richard Kenner a8767945fe (check_newline): Fix #pragma parsing; issue error message for
directive that starts with `p' but isn't `pragma'.

From-SVN: r11928
1996-05-05 21:59:45 -04:00
Richard Kenner 373e7d695e Fix typo in comment.
From-SVN: r11927
1996-05-05 13:18:02 -04:00
Richard Kenner 1139608504 (hash_value_for_key): Prevent endless loop when 0 was stored in a
hashtable.

From-SVN: r11926
1996-05-05 13:13:21 -04:00
Richard Kenner ff858cdf99 (SET_ASM_OP, ASM_WEAKEN_LABEL): Define.
From-SVN: r11925
1996-05-05 13:09:49 -04:00
Richard Kenner fef854565e (build_real_from_int_cst): Remove spurious test for
REAL_IS_NOT_DOUBLE.

From-SVN: r11924
1996-05-05 12:47:58 -04:00
Richard Earnshaw c9d9bc85c8 aout.h (ASM_OUTPUT_MI_THUNK): Delete.
* aout.h (ASM_OUTPUT_MI_THUNK): Delete.
(ASM_OUTPUT_OPTIONS): Define.
(ASM_FILE_START): Call ASM_OUTPUT_OPTIONS.
(BSS_SECTION_OP): Define.
(ASM_OUTPUT_ALIGN): Don't output anything if byte alignment is wanted.
(ASM_OUTPUT_ALIGNED_BSS): Define.

From-SVN: r11923
1996-05-04 16:13:28 +00:00
Richard Earnshaw 4e574e82bb (PROCESSOR_DEFAULT): Default to PROCESSOR_ARM6.
From-SVN: r11922
1996-05-04 16:13:28 +00:00
Richard Earnshaw bd9c7e2388 (arm_select): Declare and initialize.
(all_procs): Add arm7100.
(arm_override_options): Parse arm_select structure to determine selected
architecture and tuning parameters.
(output_option, output_options): New functions.
(arm_canonicalize_comparison): New function.
(arm_gen_movstrqi): Don't add a writeback of the index registers for the
last instructions.
(arm_select_cc_mode): Detect case where mode is carry out of unsigned
arithmetic.
(output_lcomm_directive): Use bss_section (), and use alignment rather than
rounding.
(get_arm_condition_code): Handle CC_Cmode.
(final_prescan_insn): Avoid boundary case where we would occasionally
inline MAX_INSNS_SKIPPED+1 insns.  Allow call_insns to be inlined in APCS_32
mode if they are the last insn in the block.

From-SVN: r11921
1996-05-04 16:13:28 +00:00
Richard Earnshaw a0b632ecd1 (*addsi3_compareneg): Delete potentially unsafe insn.
(*addsi3_compare_op[12]): New insns.
(*compare_addsi2_op[01]): New insns.
(*addsi3_carryin, *addsi3_carryin_alt[12]): New insns.
(*cmp_ite1): Use arm_add_operand instead of arm_rhs_operand.

From-SVN: r11920
1996-05-04 16:13:28 +00:00
Richard Earnshaw 62dd06ea77 (ASM_OUTPUT_MI_THUNK): Moved here from aout.h.
(ASM_OUTPUT_MI_THUNK): Moved here from aout.h.  Rewrite to be
independent of the selected assembler, and to use optimal number of
instructions.
(target_cpu_name): Delete.
(TARGET_SWITCHES): Delete "be" and "le".
(TARGET_OPTIONS): Delete "cpu-", add "tune=".
(struct arm_cpu_select): New struct.
(PROCESSOR_DEFAULT, TARGET_CPU_DEFAULT): Define.
(EXTRA_CC_MODES, EXTRA_CC_NAMES): Add CC_Cmode.
(CANONICALIZE_COMPARISON): Define.

From-SVN: r11919
1996-05-04 16:13:28 +00:00
Stan Cox 07d4d67db4 (ASM_OUTPUT_MI_THUNK): Define.
From-SVN: r11918
1996-05-03 17:47:15 +00:00
Stan Cox 926b3fae1f (movesicc, movehicc) Pentium Pro conditional move insns
From-SVN: r11917
1996-05-03 17:18:07 +00:00
Stan Cox 3a0433fd4d (TARGET_PENTIUMPRO, TARGET_CMOVE, BRANCH_COST,
From-SVN: r11916
1996-05-03 17:17:42 +00:00
Stan Cox e5cb57e8b5 (asm_output_function_prefix, function_prologue): Setup
From-SVN: r11915
1996-05-03 17:15:40 +00:00
Jason Merrill 809c8c30be 86th Cygnus<->FSF quick merge
From-SVN: r11914
1996-05-02 16:31:04 +00:00
Jason Merrill 1df8f58faf (ASM_OUTPUT_MI_THUNK): Fix for sparc64, optimize.
From-SVN: r11913
1996-05-02 00:57:29 +00:00
Jeff Law dd4fd0a0fd h8300.c (h8300_adjust_insn_length): Adjust the cost of shifts by small constant values.
* h8300/h8300.c (h8300_adjust_insn_length): Adjust the cost of
        shifts by small constant values.
        * h8300/h8300.md: Refine comments.  Remove names from many
        patterns which don't need them.
        (compare insns): Don't underestimate lengths.
        (andqi3 expander): Remove constrains.
        (andhi3): Don't underestimate length.
        (andsi3): Don't underestimate length.  Improve code when upper
        or lower half of destination is being cleared.
        (indirect_jump_h8300, indirect_jump_h8300h): Simplify.
        (shift insns): Remove useless "I" constraint.

From-SVN: r11912
1996-05-01 16:41:55 -06:00
Jason Merrill 17d6fedc57 (ASM_OUTPUT_ALIGNED_BSS): Define.
From-SVN: r11911
1996-05-01 21:18:50 +00:00
Jeff Law e1aa1a6c6e h8300.md (bcs type): Remove "bcs" type attribute and all references.
* h8300/h8300.md (bcs type): Remove "bcs" type attribute and
        all references.
        (bcs insns): Delete.  No longer needed.
        (setcc from bitfield): Rewrite to use zero_extract.  Provide
        QImode, HImode and SImode variants.

From-SVN: r11910
1996-04-30 23:49:58 -06:00
Jason Merrill df37d0faf5 (SELECT_SECTION): If RELOC is true, put it in data.
From-SVN: r11909
1996-05-01 04:49:53 +00:00
Jason Merrill 3ffcb234e7 (fold): Don't call convert to recreate tree nodes
we already have.

From-SVN: r11908
1996-04-30 21:27:32 +00:00
Jeff Law e62197363e h8300.c (one_insn_adds_subs_operand): New function.
* h8300/h8300.c (one_insn_adds_subs_operand): New function.
        (h8300_adjust_insn_length): New function.
        * h8300/h8300.h (ADJUST_INSN_LENGTH): Define.
        * h8300/h8300.md: Remove obsolete comments.
        (move patterns): Tweak constraints.
        (tst patterns): Use "register_operand" for predicate.
        (adds pattern): Use one_insn_adds_subs_operand to get length
        computation correct.
        (subs pattern): Similarly.
        (movstrhi): Remove unused expander.
        (fancy*, pxor, and-not patterns): Remove.  No longer needed.

From-SVN: r11907
1996-04-30 14:56:24 -06:00
Doug Evans 731a7b1f40 (USER_LABEL_PREFIX): Set to "".
From-SVN: r11906
1996-04-30 20:52:18 +00:00
Mike Stump 46b02c6d61 86th Cygnus<->FSF quick merge
From-SVN: r11905
1996-04-30 18:29:47 +00:00
Michael Meissner e28b8ef8d1 Disable __do_global_ctors for now
From-SVN: r11904
1996-04-30 17:32:54 +00:00
Doug Evans 32806d5e19 * sparc/vxsparc.h: sparc-aout.h renamed to aout.h.
From-SVN: r11903
1996-04-29 17:02:49 +00:00
Jeff Law bd93f12695 h8300.c (names_small): Remove "BAD" postfix from %r7 byte registers.
* h8300/h8300.c (names_small): Remove "BAD" postfix from
        %r7 byte registers.
        (rtx_equal_function_value_matters): Remove extra declaration.
        (output_simode_bld): New function.
        * h8300/h8300.h (NO_FUNCTION_CSE): Do define this.  Register
        pressure makes cse-int function addresses rarely a win.
        (reg_class): Remove unnecessary register classes LONG_REGS,
        SP_REG, SP_AND_G_REGS.
        (REG_CLASS_NAMES): Corresponding changes.
        (REG_CLASS_CONTENTS): Corresponding changes.
        (REGNO_REG_CLASS): Corresponding changes.
        (REG_CLASS_FROM_LETTER): Corresponding chagnes.
        (output_simode_bld): Declare.
        * h8300/h8300.md: Nuke comments for stuff which has been fixed.
        (all patterns): Remove references to register class "a" (SP_REGS)
        which no longer exists.
        (many patterns): Accept auto-inc auto-dec addresses in more cases.
        (zero_extendqisi2): New pattern for the H8/300.
        (zero_extendhisi2): Only use zero_extendhisi2_h8300 when not optimizing.
        (extendhisi2): Only use extendhisi2_h8300 when not optimizing.
        (extendqisi2): New pattern for the H8/300.
        (bitfield related patterns): Completely rewrite.
        (fancy_bclr, fancy_btst): Deleted.  Redundant with new bitfield
        patterns.
        (addhi3 pattern for h8300): Handle case where we can't make matching
        constraints (works around hard to fix reload problem).
        (stack_pointer_manip): Delete.
        (and not patterns): New combiner patterns.

From-SVN: r11902
1996-04-28 23:27:26 -06:00
Jeff Law 2ac42d3ac2 pa.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Make sure the final $CODE$ subspace is in the $TEXT$ space.
* pa/pa.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Make sure the
        final $CODE$ subspace is in the $TEXT$ space.

From-SVN: r11901
1996-04-28 22:36:47 -06:00
Jason Merrill 6de7818374 (ASM_OUTPUT_SECTION_NAME): If no decl is specified,
make the section read/write data.

From-SVN: r11900
1996-04-28 22:04:08 +00:00
Michael Meissner 670866a572 -mrelocatable needs -meabi
From-SVN: r11899
1996-04-27 14:31:22 +00:00
Jason Merrill c7690c684f *** empty log message ***
From-SVN: r11898
1996-04-26 21:41:34 +00:00
Jason Merrill 7303f45c75 Fixes
From-SVN: r11897
1996-04-26 21:36:40 +00:00
Doug Evans 637166fe38 * sparc/sparc.md (smacsi,smacdi,umacdi): Fix constraint on operand 0.
From-SVN: r11896
1996-04-26 20:10:10 +00:00
Michael Meissner d0981662f8 Add soft-float multilib directory
From-SVN: r11895
1996-04-26 19:03:12 +00:00
Stan Cox 862c4ef3ae (LINK_SPEC): include /lib
From-SVN: r11894
1996-04-26 18:53:36 +00:00
Michael Meissner 35cf49d474 Remove last change adding -ldl.
From-SVN: r11893
1996-04-26 13:47:29 +00:00
Richard Kenner 977a7752c7 (layout_decl): Turn off DECL_BIT_FIELD for BLKmode that's properly
aligned and a multiple of a byte.

From-SVN: r11892
1996-04-26 06:38:48 -04:00
Doug Evans 46d4a027e7 * i386/go32.h (ASM_OUTPUT_ALIGN): Define.
From-SVN: r11891
1996-04-26 02:42:03 +00:00
Doug Evans d45e8c4c75 (ASM_OUTPUT_ALIGN): #if 0 out again.
Undoes change of Apr. 9.

From-SVN: r11890
1996-04-26 02:41:05 +00:00
Michael Meissner ba5e43aaf6 Fix error compiling on AIX
From-SVN: r11889
1996-04-26 01:45:04 +00:00
Richard Kenner a19176508a (expand_call): In inlining case, if BEFORE_CALLS is zero, start
looking at first insn (one more place).

From-SVN: r11888
1996-04-25 15:24:30 -04:00
Michael Meissner c388525f7a Add -ldl for Solaris.
From-SVN: r11887
1996-04-25 18:33:38 +00:00