platform/upstream/gcc.git
29 years ago* expr.c (store_constructor): Don't use get_set_constructor_words.
Per Bothner [Wed, 15 Feb 1995 06:40:27 +0000 (22:40 -0800)]
* expr.c (store_constructor):  Don't use get_set_constructor_words.

From-SVN: r8954

29 years ago* tree.h: get_set_constructor_words -> get_set_constructor_bytes.
Per Bothner [Wed, 15 Feb 1995 06:40:11 +0000 (22:40 -0800)]
* tree.h: get_set_constructor_words -> get_set_constructor_bytes.

From-SVN: r8953

29 years agotree.c (get_set_constructor_bytes): New function. Replaces ...
Per Bothner [Wed, 15 Feb 1995 06:39:19 +0000 (22:39 -0800)]
tree.c (get_set_constructor_bytes):  New function.  Replaces ...

(get_set_constructor_words):  ... removed old function.

From-SVN: r8952

29 years ago(stabilize_reference_1): No longer static.
Richard Kenner [Tue, 14 Feb 1995 13:04:52 +0000 (08:04 -0500)]
(stabilize_reference_1): No longer static.

From-SVN: r8951

29 years ago(stabilize_reference_1): Add declaration.
Richard Kenner [Tue, 14 Feb 1995 13:04:23 +0000 (08:04 -0500)]
(stabilize_reference_1): Add declaration.

From-SVN: r8950

29 years agoWritten to use ELF object format.
Roland McGrath [Tue, 14 Feb 1995 00:40:16 +0000 (00:40 +0000)]
Written to use ELF object format.

From-SVN: r8949

29 years ago(GNU_CPP_PREDEFINES): New macro.
Roland McGrath [Tue, 14 Feb 1995 00:38:07 +0000 (00:38 +0000)]
(GNU_CPP_PREDEFINES): New macro.

From-SVN: r8948

29 years ago(CPP_PREDEFINES): Use GNU_CPP_PREDEFINES macro.
Roland McGrath [Tue, 14 Feb 1995 00:37:09 +0000 (00:37 +0000)]
(CPP_PREDEFINES): Use GNU_CPP_PREDEFINES macro.

From-SVN: r8947

29 years ago(exit): Don't call __do_global_dtors if
Doug Evans [Mon, 13 Feb 1995 23:22:38 +0000 (23:22 +0000)]
(exit): Don't call __do_global_dtors if
INIT_SECTION_ASM_OP and OBJECT_FORMAT_ELF.

From-SVN: r8946

29 years ago(find_basic_blocks): Revise calculation of when to make another pass.
Doug Evans [Mon, 13 Feb 1995 22:26:49 +0000 (22:26 +0000)]
(find_basic_blocks): Revise calculation of when to make another pass.

From-SVN: r8945

29 years agoDon't define LD_INIT_SWITCH.
Jason Merrill [Mon, 13 Feb 1995 22:26:47 +0000 (22:26 +0000)]
Don't define LD_INIT_SWITCH.

From-SVN: r8944

29 years ago(libgcc1.S): New target.
Doug Evans [Mon, 13 Feb 1995 22:14:59 +0000 (22:14 +0000)]
(libgcc1.S): New target.

From-SVN: r8943

29 years agovarasm.c (function_section): New function.
Doug Evans [Mon, 13 Feb 1995 22:08:43 +0000 (22:08 +0000)]
varasm.c (function_section): New function.

* varasm.c (function_section): New function.
(assemble_start_function): Call it.
* output.h (function_section): Declare it.
* final.c (final_scan_insn): Call function_section instead of
text_section.
* dwarfout.c (dwarfout_begin_block): Likewise.
(dwarfout_end_block): Likewise.
(dwarfout_label): Likewise.
(dwarfout_begin_function): Likewise.
(dwarfout_end_function): Likewise.
(dwarfout_line): Likewise.

From-SVN: r8942

29 years agoDon't call write ifdef inhibit_libc.
Jason Merrill [Mon, 13 Feb 1995 22:08:25 +0000 (22:08 +0000)]
Don't call write ifdef inhibit_libc.

From-SVN: r8941

29 years ago(store_split_bit_field): If value is VOIDmode, pass word_mode to force_reg.
Doug Evans [Mon, 13 Feb 1995 21:47:31 +0000 (21:47 +0000)]
(store_split_bit_field): If value is VOIDmode, pass word_mode to force_reg.

From-SVN: r8940

29 years ago(DBX_DEBUGGING_INFO): Define.
Doug Evans [Mon, 13 Feb 1995 21:42:15 +0000 (21:42 +0000)]
(DBX_DEBUGGING_INFO): Define.

(PREFERRED_DEBUGGING_TYPE): Define.

From-SVN: r8939

29 years agotree.c (permanent_allocation): Pop function_maybepermanent_obstack, not hardwired...
Per Bothner [Mon, 13 Feb 1995 20:55:17 +0000 (12:55 -0800)]
tree.c (permanent_allocation): Pop function_maybepermanent_obstack, not hardwired &maybepermanent_obstack.

* tree.c (permanent_allocation):  Pop function_maybepermanent_obstack,
not hardwired &maybepermanent_obstack.

From-SVN: r8938

29 years ago* c-decl.c (grokdeclarator): Maybe set FUNCTION_NEEDS_STATIC_CHAIN.
Per Bothner [Mon, 13 Feb 1995 20:54:47 +0000 (12:54 -0800)]
* c-decl.c (grokdeclarator):  Maybe set FUNCTION_NEEDS_STATIC_CHAIN.

From-SVN: r8937

29 years ago* tree.h (FUNCTION_NEEDS_STATIC_CHAIN): New macro.
Per Bothner [Mon, 13 Feb 1995 20:54:24 +0000 (12:54 -0800)]
* tree.h (FUNCTION_NEEDS_STATIC_CHAIN):  New macro.

From-SVN: r8936

29 years agoRename files.
Michael Meissner [Mon, 13 Feb 1995 20:31:46 +0000 (20:31 +0000)]
Rename files.

From-SVN: r8935

29 years agoAdd test for NETBSD_NATIVE
Michael Meissner [Mon, 13 Feb 1995 20:24:19 +0000 (20:24 +0000)]
Add test for NETBSD_NATIVE

From-SVN: r8934

29 years agoFix collecting under AIX
Jason Merrill [Mon, 13 Feb 1995 20:21:44 +0000 (20:21 +0000)]
Fix collecting under AIX

From-SVN: r8933

29 years ago(warn_if_unused_value): Don't warn about automatic reference dereference.
Jason Merrill [Mon, 13 Feb 1995 20:02:34 +0000 (20:02 +0000)]
(warn_if_unused_value): Don't warn about automatic reference dereference.

From-SVN: r8932

29 years ago(RTX_COSTS): Fix typo from last change.
Jim Wilson [Mon, 13 Feb 1995 19:07:29 +0000 (11:07 -0800)]
(RTX_COSTS): Fix typo from last change.

From-SVN: r8931

29 years ago(last_spill_reg): Move definition to top of file.
Jim Wilson [Mon, 13 Feb 1995 19:00:20 +0000 (11:00 -0800)]
(last_spill_reg): Move definition to top of file.

Don't initialize here.
(reload): Intialize here to -1.

From-SVN: r8930

29 years ago(OBJECT_SUFFIX): New macro.
Richard Kenner [Mon, 13 Feb 1995 14:41:35 +0000 (09:41 -0500)]
(OBJECT_SUFFIX): New macro.

(LIB_SPEC, STARTFILE_SPEC): Adjust to include better set of libs.

From-SVN: r8929

29 years ago(strcasecmp): New definition.
Richard Kenner [Mon, 13 Feb 1995 14:37:19 +0000 (09:37 -0500)]
(strcasecmp): New definition.

From-SVN: r8928

29 years ago(DIR_SEPARATOR): Define if not already.
Richard Kenner [Mon, 13 Feb 1995 14:34:43 +0000 (09:34 -0500)]
(DIR_SEPARATOR): Define if not already.

From-SVN: r8927

29 years ago(longlong_t, u_longlong_t): Work around bug in Solaris 2.4
Richard Kenner [Mon, 13 Feb 1995 14:29:44 +0000 (09:29 -0500)]
(longlong_t, u_longlong_t): Work around bug in Solaris 2.4
<sys/types.h>.

From-SVN: r8926

29 years ago(CPP_SPEC): Define _POSIX_SOURCE if -posix.
Richard Kenner [Mon, 13 Feb 1995 14:04:18 +0000 (09:04 -0500)]
(CPP_SPEC): Define _POSIX_SOURCE if -posix.

From-SVN: r8925

29 years ago(ALIGN): Remove unused token.
Richard Kenner [Mon, 13 Feb 1995 13:45:33 +0000 (08:45 -0500)]
(ALIGN): Remove unused token.

From-SVN: r8924

29 years ago(extendsfdf2): Undo 30 Nov 94 change.
Richard Kenner [Mon, 13 Feb 1995 13:31:00 +0000 (08:31 -0500)]
(extendsfdf2): Undo 30 Nov 94 change.

(extendsfdf2): Undo 30 Nov 94 change.  Use float_extend instead of
SUBREG and restore fmr instruction for differing FPRs.

From-SVN: r8923

29 years agoSupport reference types
Jason Merrill [Mon, 13 Feb 1995 13:24:42 +0000 (13:24 +0000)]
Support reference types

From-SVN: r8922

29 years ago(mark_loop_jump): Remove bogus assignments to LABEL_ fields in default
Richard Kenner [Mon, 13 Feb 1995 13:13:52 +0000 (08:13 -0500)]
(mark_loop_jump): Remove bogus assignments to LABEL_ fields in default
case.

From-SVN: r8921

29 years ago(smulsi3_highpart, umulsi3_highpart, mulsidi3, umulsidi3):
Torbjorn Granlund [Mon, 13 Feb 1995 12:53:09 +0000 (12:53 +0000)]
(smulsi3_highpart, umulsi3_highpart, mulsidi3, umulsidi3):

Make these conditional on TARGET_MULTM.
(multm matcher): Delete.
(multmu matcher): Delete.
(mulsidi3 DEFINE_SPLIT): Generate RTL for smulsi3_highpart instead of
for deleted pattern.  Fix typo in preparation code.
(umulsidi3 DEFINE_SPLIT): Analogous change.

From-SVN: r8920

29 years ago(TARGET_MULTM): New #define.
Torbjorn Granlund [Mon, 13 Feb 1995 12:52:26 +0000 (12:52 +0000)]
(TARGET_MULTM): New #define.

(TARGET_SWITCHES): Recognize "-mno-multm".

From-SVN: r8919

29 years ago(ASM_OUTPUT_ASCII): Don't duplicate first char.
Richard Kenner [Mon, 13 Feb 1995 12:08:56 +0000 (07:08 -0500)]
(ASM_OUTPUT_ASCII): Don't duplicate first char.

From-SVN: r8918

29 years ago(do_include, is_system_include, open_include_file): Handle
Richard Kenner [Mon, 13 Feb 1995 11:50:49 +0000 (06:50 -0500)]
(do_include, is_system_include, open_include_file): Handle
DIR_SEPARATOR.

From-SVN: r8917

29 years ago(main): Look at DIR_SEPARATOR for finding last component.
Richard Kenner [Mon, 13 Feb 1995 11:50:13 +0000 (06:50 -0500)]
(main): Look at DIR_SEPARATOR for finding last component.

From-SVN: r8916

29 years agosysv4.h (ASM_OUTPUT_SECTION_NAME): Check to make sure DECL is non-null before trying...
Brendan Kehoe [Mon, 13 Feb 1995 06:11:50 +0000 (01:11 -0500)]
sysv4.h (ASM_OUTPUT_SECTION_NAME): Check to make sure DECL is non-null before trying to reference it.

Sun Feb 12 20:20:28 1995  Brendan Kehoe  (brendan@lisa.cygnus.com)

        * config/sparc/sysv4.h (ASM_OUTPUT_SECTION_NAME): Check to make
        sure DECL is non-null before trying to reference it.
        * config/mips/elf64.h (ASM_OUTPUT_SECTION_NAME): Likewise.

From-SVN: r8915

29 years ago(expand_call): Add missing paren in wilson's change on 11 Feb 95.
Roland McGrath [Mon, 13 Feb 1995 00:55:35 +0000 (00:55 +0000)]
(expand_call): Add missing paren in wilson's change on 11 Feb 95.

From-SVN: r8914

29 years ago(L_fixunsxfsi, L_fixunsdfsi, L_fixunssfsi): Undef
Jim Wilson [Sat, 11 Feb 1995 23:26:09 +0000 (15:26 -0800)]
(L_fixunsxfsi, L_fixunsdfsi, L_fixunssfsi): Undef
normal types before including limits.h.

From-SVN: r8913

29 years ago(expand_builtin, case BUILT_IN_NEXT_ARG): Don't warn when
Jim Wilson [Sat, 11 Feb 1995 23:12:05 +0000 (15:12 -0800)]
(expand_builtin, case BUILT_IN_NEXT_ARG): Don't warn when
no argument if this is a varargs routine.

From-SVN: r8912

29 years ago(expand_call): When setting n_named_args, depend on new
Jim Wilson [Sat, 11 Feb 1995 23:09:00 +0000 (15:09 -0800)]
(expand_call): When setting n_named_args, depend on new
macro STRICT_ARGUMENT_NAMING.

From-SVN: r8911

29 years ago(%union): Delete VOIDVAL and SVAL; unused.
Richard Kenner [Sat, 11 Feb 1995 21:25:21 +0000 (16:25 -0500)]
(%union): Delete VOIDVAL and SVAL; unused.

From-SVN: r8910

29 years agoUpdate comment.
Richard Kenner [Sat, 11 Feb 1995 21:10:52 +0000 (16:10 -0500)]
Update comment.

From-SVN: r8909

29 years ago(specs): Use %O instead of "o" for object file suffix.
Richard Kenner [Sat, 11 Feb 1995 21:08:02 +0000 (16:08 -0500)]
(specs): Use %O instead of "o" for object file suffix.

(do_spec_1, case 'O'): New option.

From-SVN: r8908

29 years ago(grokdeclarator): Use NAME, not IDENTIFIER_POINTER of DECLARATOR for
Richard Kenner [Sat, 11 Feb 1995 20:16:04 +0000 (15:16 -0500)]
(grokdeclarator): Use NAME, not IDENTIFIER_POINTER of DECLARATOR for
error messages; DECLARATOR might be null.

From-SVN: r8907

29 years ago(RETURN_IN_MEMORY): Fix error in last change.
Richard Kenner [Sat, 11 Feb 1995 19:58:14 +0000 (14:58 -0500)]
(RETURN_IN_MEMORY): Fix error in last change.

From-SVN: r8906

29 years ago(expand_divmod): Always call expand_twoval_binop with psuedos as
Richard Kenner [Sat, 11 Feb 1995 18:09:17 +0000 (13:09 -0500)]
(expand_divmod): Always call expand_twoval_binop with psuedos as
targets.

From-SVN: r8905

29 years agoReplace MAX_UNITS_PER_WORD with MIN_UNITS_PER_WORD.
Richard Kenner [Sat, 11 Feb 1995 00:06:12 +0000 (19:06 -0500)]
Replace MAX_UNITS_PER_WORD with MIN_UNITS_PER_WORD.

From-SVN: r8904

29 years ago(direct_return): Can't if have outgoing args.
Richard Kenner [Fri, 10 Feb 1995 22:47:39 +0000 (17:47 -0500)]
(direct_return): Can't if have outgoing args.

From-SVN: r8903

29 years ago(store_constructor, ARRAY_TYPE): Use code for non-integer INDEX for non-integer ELTTY...
Richard Kenner [Fri, 10 Feb 1995 22:37:38 +0000 (17:37 -0500)]
(store_constructor, ARRAY_TYPE): Use code for non-integer INDEX for non-integer ELTTYPE size.

(store_constructor, ARRAY_TYPE): Use code for non-integer INDEX for
non-integer ELTTYPE size.
Allow INDEX to be zero in code and divide size by BITS_PER_UNIT.

From-SVN: r8902

29 years ago(fold): Don't modify tree with newly-allocated nodes; instead make new
Richard Kenner [Fri, 10 Feb 1995 19:54:54 +0000 (14:54 -0500)]
(fold): Don't modify tree with newly-allocated nodes; instead make new
tree in those cases.

From-SVN: r8901

29 years agoRemove last change.
Michael Meissner [Fri, 10 Feb 1995 16:49:12 +0000 (16:49 +0000)]
Remove last change.

From-SVN: r8900

29 years agoDefine RETURN_ADDR_RTX
Michael Meissner [Fri, 10 Feb 1995 16:06:02 +0000 (16:06 +0000)]
Define RETURN_ADDR_RTX

From-SVN: r8899

29 years ago(*movsi_ccx_sp64): Fix name.
Doug Evans [Wed, 8 Feb 1995 20:45:43 +0000 (20:45 +0000)]
(*movsi_ccx_sp64): Fix name.

(movsicc, movdicc): Operand 3 must be a register to match define_insns.
Delete miscellaneous cmove comments.

From-SVN: r8898

29 years ago(sparc64_initialize_trampoline): Use gen_flush
Doug Evans [Wed, 8 Feb 1995 20:13:02 +0000 (20:13 +0000)]
(sparc64_initialize_trampoline): Use gen_flush
instead of knowing what pattern looks like.

From-SVN: r8897

29 years ago(nonlocal_goto): Use Pmode instead of SImode.
Doug Evans [Wed, 8 Feb 1995 20:09:08 +0000 (20:09 +0000)]
(nonlocal_goto): Use Pmode instead of SImode.

From-SVN: r8896

29 years agosparc.c (v9_regcmp_p): New function.
Doug Evans [Wed, 8 Feb 1995 20:07:24 +0000 (20:07 +0000)]
sparc.c (v9_regcmp_p): New function.

* sparc/sparc.c (v9_regcmp_p): New function.
(v9_regcmp_op): Call it.
* sparc/sparc.md (movsicc): New pattern.
(movdicc, movsfcc, movdfcc, movtfcc): Likewise.

From-SVN: r8895

29 years agoAdd a blank in the #! line for 4.2BSD Dynix etc.
David J. MacKenzie [Wed, 8 Feb 1995 15:05:06 +0000 (15:05 +0000)]
Add a blank in the #! line for 4.2BSD Dynix etc.

From-SVN: r8894

29 years agoadd a space in #! for 4.2bsd dynix etc.
David J. MacKenzie [Wed, 8 Feb 1995 15:03:05 +0000 (15:03 +0000)]
add a space in #! for 4.2bsd dynix etc.

From-SVN: r8893

29 years agopa.md (call, call_value): Emit save of the PIC register with "emit_insn" before emitt...
Jeff Law [Wed, 8 Feb 1995 07:53:09 +0000 (00:53 -0700)]
pa.md (call, call_value): Emit save of the PIC register with "emit_insn" before emitting the call insn itself.

* pa.md (call, call_value): Emit save of the PIC register
with "emit_insn" before emitting the call insn itself.

From-SVN: r8892

29 years ago(prepare_scc_operands, from_compare): Force constant 0 into
Jim Wilson [Tue, 7 Feb 1995 20:57:00 +0000 (12:57 -0800)]
(prepare_scc_operands, from_compare): Force constant 0 into
register for unsigned comparisons.

From-SVN: r8891

29 years agoCorrect errors in comments.
Jim Wilson [Tue, 7 Feb 1995 20:19:15 +0000 (12:19 -0800)]
Correct errors in comments.

(CONDITIONAL_REGISTER_USAGE): Delete TARGET_NOSAVE support.
(TARGET_MAC, TARGET_TRYR0, TARGET_NOSAVE, TARGET_SMALLCALL,
TARGET_PARANOID, TARGET_RETR2, TARGET_SHORTADDR, TARGET_BSR): Delete.
(TARGET_SWITCHES): Delete above options.
(OVERRIDE_OPTIONS): Delete TARGET_BSR support.
(FUNCTION_BOUNDARY): Use 32 bit alignment when not TARGET_SMALLCODE.
(FIRST_RET_REG): Delete TARGET_RETR2 support.
(MODE_DISP_OK_[21]): Delete TARGET_TRYR0 support.
(EXTRA_CONSTRAINT_U): Delete.
(CONST_COSTS): For logical operations, give L constants cost 1.
(PRINT_OPERAND_PUNCT_VALID_P): Delete '*', '^', '!'.

From-SVN: r8890

29 years agoCorrect errors in comments.
Jim Wilson [Tue, 7 Feb 1995 20:18:43 +0000 (12:18 -0800)]
Correct errors in comments.

(calc_live_regs, expand_acall): Delete TARGET_SMALLCALL support.
(need_slot): Add comment.  Delete test of INSN_ANNULLED_BRANCH_P.
(print_operand_address): Delete '*', '^', '!' support.
(synth_constant): Call zero_extend* instead of and*.  Call ashlsi3_k
instead of ashlsi3_n.
(prepare_scc_operands): Abort for NE case.
(output_move_double, output_far_jump, output_branch): Delete commented
out code.  Don't output assembler comments.
(gen_ashift): Don't call addsi3.
(fixit): Delete redundant test for QImode constants.
(hi_const): Delete TARGET_SHORTADDR support.
(find_barrier): Don't put constant pool between mova and its label.
(add_function, seen_function, bsr_operand, mac_operand,
fake_shift): Delete.
(sh_expand_prologue, expand_acall): Delete TARGET_BSR support.
(general_movsrc_operand): Don't reject non-I CONST_INT.

From-SVN: r8889

29 years agoCorrect errors in comments. Delete all assembler comments.
Jim Wilson [Tue, 7 Feb 1995 20:18:09 +0000 (12:18 -0800)]
Correct errors in comments.  Delete all assembler comments.

Delete commented out patterns.  Delete all peepholes but two.
Delete all define_splits but one.  Delete all `combiner' patterns.
(mpy): Correct multiply latencies.
(needs_delay_slot, hit_stack, interrupt_function, in_delay_slot,
define_delay): Correct and/or simplify all reorg related definitions.
(addsi3_real): Delete.
(addsi3): Use arith_operand for argument 1.
(mulhisi3): Use arith_reg_operand not mac_operand.
(and_ffff, and_ff): Delete.
(andsi3): Handle constant 255 specially.
(rot*): Correct and/or simplify all rotate patterns.
(ashlsi3_k): Delete clobber of T bit.  Output add for 1 bit shift.
(ashlsi3_n, lshrsi3_n): Delete use of fake_shift.
(negc): Correct pattern by adding set of T bit.
(extend*): Delete 'u' and 'U' constraint cases.
(pop): Separate 'l' and 'x' constraint cases.
(movsi-1): Better code for move to T bit case.
(bsr, bsr_value, mac): Delete.

From-SVN: r8888

29 years ago(*): Give names to all anonymous patterns.
Doug Evans [Tue, 7 Feb 1995 19:23:24 +0000 (19:23 +0000)]
(*): Give names to all anonymous patterns.

From-SVN: r8887

29 years ago(ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE): Remove tests for host == target
Stephen L Moshier [Tue, 7 Feb 1995 04:46:41 +0000 (04:46 +0000)]
(ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE): Remove tests for host == target
format and endianness.

From-SVN: r8886

29 years ago(jump_optimize): When searching for a LOOP_END note to move,
Jim Wilson [Tue, 7 Feb 1995 00:29:31 +0000 (16:29 -0800)]
(jump_optimize): When searching for a LOOP_END note to move,

stop if we find a LOOP_BEG note first.

From-SVN: r8885

29 years ago(alter_reg): New variable stack_slot.
Jim Wilson [Tue, 7 Feb 1995 00:22:22 +0000 (16:22 -0800)]
(alter_reg): New variable stack_slot.

(alter_reg): New variable stack_slot.  Apply anti
BYTES_BIG_ENDIAN correction to stack slot address stored in
spill_stack_slot.

From-SVN: r8884

29 years ago(STARTFILE_SPEC): Delete explicit /usr/ccs/lib/ pathnames.
Jim Wilson [Tue, 7 Feb 1995 00:18:21 +0000 (16:18 -0800)]
(STARTFILE_SPEC): Delete explicit /usr/ccs/lib/ pathnames.

From-SVN: r8883

29 years ago(movsf-1, movdf-1, movtf-1): Use 'F' not 'E'.
Jim Wilson [Mon, 6 Feb 1995 23:31:41 +0000 (15:31 -0800)]
(movsf-1, movdf-1, movtf-1): Use 'F' not 'E'.

From-SVN: r8882

29 years ago(sh_function_arg): Don't reject unaligned structures.
Jim Wilson [Mon, 6 Feb 1995 23:26:58 +0000 (15:26 -0800)]
(sh_function_arg): Don't reject unaligned structures.

(sh_function_arg_partial_nregs): Likewise.

From-SVN: r8881

29 years ago(__udivsi3, __divsi3, __umodsi3, __modsi3):
Torbjorn Granlund [Mon, 6 Feb 1995 21:57:18 +0000 (21:57 +0000)]
(__udivsi3, __divsi3, __umodsi3, __modsi3):

Rewrite to actually work for more than a few small operands,
and to be reasonably small.
(__mulsi3): Eliminate usage of link register (i.e. a6).
(shift patterns): Delete.
(__umulsi3): Delete.

From-SVN: r8880

29 years ago(LIB1ASMFUNCS): Remove _umulsi3.
Torbjorn Granlund [Mon, 6 Feb 1995 21:56:55 +0000 (21:56 +0000)]
(LIB1ASMFUNCS): Remove _umulsi3.

From-SVN: r8879

29 years ago(RTX_COSTS): Rewrite.
Torbjorn Granlund [Mon, 6 Feb 1995 21:51:57 +0000 (21:51 +0000)]
(RTX_COSTS): Rewrite.

From-SVN: r8878

29 years ago(va_start): Add __builtin_next_arg call.
Jim Wilson [Mon, 6 Feb 1995 20:22:23 +0000 (12:22 -0800)]
(va_start): Add __builtin_next_arg call.

From-SVN: r8877

29 years ago(DBX_DEBUGGING_INFO): Define.
Doug Evans [Mon, 6 Feb 1995 18:01:28 +0000 (18:01 +0000)]
(DBX_DEBUGGING_INFO): Define.

(PREFERRED_DEBUGGING_TYPE): Define.

From-SVN: r8876

29 years agopa.md: Replace "misc" attribute with "multi" in recentlyadded soft-float code.
Jeff Law [Mon, 6 Feb 1995 17:00:20 +0000 (10:00 -0700)]
pa.md: Replace "misc" attribute with "multi" in recentlyadded soft-float code.

* pa.md: Replace "misc" attribute with "multi" in recentlyadded
soft-float code.

From-SVN: r8875

29 years ago* pa-osf.h (TARGET_DEFAULT): Protect definition.
Jeff Law [Mon, 6 Feb 1995 16:57:29 +0000 (09:57 -0700)]
* pa-osf.h (TARGET_DEFAULT): Protect definition.

From-SVN: r8874

29 years agoOnly include <stdio.h> and <stdlib.h> in <assert.h> for C++
Ian Lance Taylor [Mon, 6 Feb 1995 16:51:48 +0000 (16:51 +0000)]
Only include <stdio.h> and <stdlib.h> in <assert.h> for C++

From-SVN: r8873

29 years ago(globally): Use GEN_INT.
Torbjorn Granlund [Mon, 6 Feb 1995 02:55:49 +0000 (02:55 +0000)]
(globally): Use GEN_INT.

(emit_move_sequence): Use expand_inc instead of plus_constant
(generates less rtl).

From-SVN: r8872

29 years agoUse GEN_INT.
Torbjorn Granlund [Mon, 6 Feb 1995 02:55:24 +0000 (02:55 +0000)]
Use GEN_INT.

From-SVN: r8871

29 years ago(PREDICATE_CODES): Fix many errors. Enable.
Torbjorn Granlund [Mon, 6 Feb 1995 02:44:42 +0000 (02:44 +0000)]
(PREDICATE_CODES): Fix many errors.  Enable.

From-SVN: r8870

29 years ago(RTX_COSTS): Add special cases for a plain 68000.
Torbjorn Granlund [Mon, 6 Feb 1995 02:42:29 +0000 (02:42 +0000)]
(RTX_COSTS): Add special cases for a plain 68000.

From-SVN: r8869

29 years ago(mul_cost, div_cost): New variables.
Torbjorn Granlund [Mon, 6 Feb 1995 02:37:27 +0000 (02:37 +0000)]
(mul_cost, div_cost): New variables.

(mul_widen_cost, mul_highpart_cost): New variables.
(init_expmed): Init new variables.
(expand_mult_highpart): New argument, MAX_COST.
Use new argument in several places.  Simplify code that tries
widening multiply variants.
(expand_divmod): New variables MAX_COST, EXTRA_COST.
Initialize MAX_COST dependent on REM_FLAG.
Calculate and pass cost in all calls of expand_mult_highpart.

From-SVN: r8868

29 years ago(dbxout_source_file): Clean up null tree pointer test. Update copyright.
Doug Evans [Sun, 5 Feb 1995 05:26:45 +0000 (05:26 +0000)]
(dbxout_source_file): Clean up null tree pointer test.  Update copyright.

From-SVN: r8867

29 years agoNew file.
Jim Wilson [Sat, 4 Feb 1995 18:16:09 +0000 (10:16 -0800)]
New file.

From-SVN: r8866

29 years ago(TARGET_DEFAULT): Add #ifndef/#endif around define.
Jim Wilson [Sat, 4 Feb 1995 18:07:27 +0000 (10:07 -0800)]
(TARGET_DEFAULT): Add #ifndef/#endif around define.

From-SVN: r8865

29 years ago(type attribute): Add fmadd.
Jim Wilson [Sat, 4 Feb 1995 18:06:11 +0000 (10:06 -0800)]
(type attribute): Add fmadd.

(cpu attribute): Add r8000.
(umaddi+1, ..., umadddi+8): Add pattern for multiply accumulate.
(movdi): Legitimize addresses, just like movsi does.
(loadgp): New pattern for 64 bit ABI.
(shift patterns): Use INTVAL instead of XINT for constants.
(jump, tablejump_interal[12]): Add 64 bit ABI support.
(movsicc-8, ..., movsicc): Add patterns for conditional moves.

From-SVN: r8864

29 years ago(mips_isa_string): Add mips4 to comment.
Jim Wilson [Sat, 4 Feb 1995 18:04:15 +0000 (10:04 -0800)]
(mips_isa_string): Add mips4 to comment.

(large_int): Delete code for handling 64 bit constants.
(mips_const_double_ok): For irix6, reject all floating point constants.
(mips_move_2words): Use dli not li for 64 bit constants.
Use dla not la for 64 bit addresses.
(output_block_move): Likewise.
(function_arg): Add support for 64bit ABI.
(override_options): Add support for mips4 and R8000.
(print_operand): Handle new modifiers 'B', 'b', 'T', 't'.
Make 'X' case work for 64 bit host.
(mips_output_filename): Use ASM_OUTPUT_FILENAME.
(mips_asm_file_start): Go to text section for 64bit ABI.
(compure_frame_size, save_restore_insns, function_prologue,
mips_expand_prologue, function_epilogue): Add support for 64 bit ABI.
(type_dependent_reg, mips_function_value): New functions.

From-SVN: r8863

29 years ago(__PTR_TO_INT, __INT_TO_PTR): Delete.
Jim Wilson [Sat, 4 Feb 1995 18:02:46 +0000 (10:02 -0800)]
(__PTR_TO_INT, __INT_TO_PTR): Delete.

(enum processor_type): Add R8000.
(mips_isa_string, CC1_SPEC): Add mips4 to comment.
(CONDITIONAL_REGISTER_USAGE): Use SUBTARGET_CONDITIONAL_REGISTER_USAGE.
(SUBTARGET_CONDITIONAL_REGISTER_USAGE): New macro.
(ASM_SPEC, LINK_SPEC, CPP_SPEC): Add mips4 support.
(MIPS_TEMP[12]_REGNUM): Change to avoid clobbering 64bit abi
parameter registers.
(SMALL_INT, SMALL_INT_UNSIGNED, CONST_OK_FOR_LETTER_P): Fix for 64
bit host.
(ABI_64BIT): New macro.
(REG_PARM_STACK_SPACE): Use UNITS_PER_WORD not 4.
(GO_IF_LEGITIMATE_ADDRESS, CONSTANT_ADDRESS_P, LEGITIMATE_CONSTANT,
LEGITIMIZE_ADDRESS): Don't allow CONST addresses for Irix6.
(ASM_OUTPUT_FILENAME): New macro.
(ASM_OUTPUT_ADDR_DIFF_ELT): Add 64 bit ABI support.

From-SVN: r8862

29 years ago(IRIX): Sed - to _.
Jim Wilson [Sat, 4 Feb 1995 17:59:47 +0000 (09:59 -0800)]
(IRIX): Sed - to _.

From-SVN: r8861

29 years ago(*): Change __mips==3 to __mips>=3.
Jim Wilson [Sat, 4 Feb 1995 17:53:44 +0000 (09:53 -0800)]
(*): Change __mips==3 to __mips>=3.

(sgidefs.h): Include if _MIPS_SIM is defined.
(va_start): Add support for 64 bit ABI.

From-SVN: r8860

29 years ago(dbxout_source_file): Don't switch to text section if in function with section attribute.
Doug Evans [Sat, 4 Feb 1995 15:31:23 +0000 (15:31 +0000)]
(dbxout_source_file): Don't switch to text section if in function with section attribute.

(dbxout_source_file): Don't switch to text section if
in function with section attribute.  Print Ltext label to correct
file (important on mips).

From-SVN: r8859

29 years agoDo not reload reg2 under V.4 or eabi.
Michael Meissner [Fri, 3 Feb 1995 22:41:38 +0000 (22:41 +0000)]
Do not reload reg2 under V.4 or eabi.

From-SVN: r8858

29 years agoFix indirect function pointers on eABI.
Michael Meissner [Fri, 3 Feb 1995 19:45:16 +0000 (19:45 +0000)]
Fix indirect function pointers on eABI.

From-SVN: r8857

29 years agoFix MI conversions
Jason Merrill [Fri, 3 Feb 1995 03:45:07 +0000 (03:45 +0000)]
Fix MI conversions

From-SVN: r8856

29 years agoEliminate building libgcc1.a
Michael Meissner [Thu, 2 Feb 1995 21:29:18 +0000 (21:29 +0000)]
Eliminate building libgcc1.a

From-SVN: r8855