platform/upstream/gcc.git
30 years ago43rd Cygnus<->FSF merge
Jason Merrill [Wed, 6 Jul 1994 00:28:23 +0000 (00:28 +0000)]
43rd Cygnus<->FSF merge

From-SVN: r7660

30 years ago(c-parse.y): Redirect through tmp file.
Torbjorn Granlund [Tue, 5 Jul 1994 23:27:56 +0000 (23:27 +0000)]
(c-parse.y): Redirect through tmp file.

(objc-parse.y): Likewise.
(c-gperf.h): Likewise.
(mostlyclean): Delete the new tmp files.

From-SVN: r7659

30 years ago(expand_divmod): Fix typo setting op1_is_pow2.
Torbjorn Granlund [Tue, 5 Jul 1994 23:19:00 +0000 (23:19 +0000)]
(expand_divmod): Fix typo setting op1_is_pow2.

(expand_divmod): Handle powers-of-two specifically for CEIL_*_EXPR.

From-SVN: r7658

30 years ago(can_combine_p): Don't check for replacing arg of function here.
Richard Kenner [Tue, 5 Jul 1994 23:12:04 +0000 (19:12 -0400)]
(can_combine_p): Don't check for replacing arg of function here.

(can_combine_p): Do it here.

From-SVN: r7657

30 years ago(expand_increment): If pre-incrementing a promoted
Torbjorn Granlund [Tue, 5 Jul 1994 23:02:03 +0000 (23:02 +0000)]
(expand_increment): If pre-incrementing a promoted
variable, don't adjust OP0 since the result won't be used.

From-SVN: r7656

30 years ago(expand_increment): If pre-incrementing a promoted variable, don't
Richard Kenner [Tue, 5 Jul 1994 22:27:27 +0000 (18:27 -0400)]
(expand_increment): If pre-incrementing a promoted variable, don't
adjust OP0 since the result won't be used.

From-SVN: r7655

30 years ago(duplicate_loop_exit_test): Handle SUBREG in SET_DEST of loop exit
Richard Kenner [Tue, 5 Jul 1994 21:04:32 +0000 (17:04 -0400)]
(duplicate_loop_exit_test): Handle SUBREG in SET_DEST of loop exit
test statements.

From-SVN: r7654

30 years ago(try_combine): If I2DEST was used in I2SRC, it isn't unused just
Richard Kenner [Tue, 5 Jul 1994 20:59:42 +0000 (16:59 -0400)]
(try_combine): If I2DEST was used in I2SRC, it isn't unused just
because there is no SET for I2 anymore.

From-SVN: r7653

30 years ago(RS6000_OUTPUT_BASENAME): Always call assembler_name and pass the
Richard Kenner [Tue, 5 Jul 1994 03:01:31 +0000 (23:01 -0400)]
(RS6000_OUTPUT_BASENAME): Always call assembler_name and pass the
actual symbol name.

From-SVN: r7652

30 years ago(assemble_name): Call STRIP_NAME_ENCODING.
Richard Kenner [Tue, 5 Jul 1994 01:54:39 +0000 (21:54 -0400)]
(assemble_name): Call STRIP_NAME_ENCODING.

From-SVN: r7651

30 years ago(canon_hash, exp_equiv_p): Refer to string in SYMBOL_REF with XSTR,
Richard Kenner [Mon, 4 Jul 1994 15:14:54 +0000 (11:14 -0400)]
(canon_hash, exp_equiv_p): Refer to string in SYMBOL_REF with XSTR,

not XEXP.

From-SVN: r7650

30 years ago(smuldi3_highpart, smuldi3_highpart_internal,
Jim Wilson [Sun, 3 Jul 1994 02:22:00 +0000 (19:22 -0700)]
(smuldi3_highpart, smuldi3_highpart_internal,

umuldi3_highpart, umuldi3_highpart_internal): New patterns.

From-SVN: r7649

30 years ago(loop_iterations): Only use REG_EQUAL note value if it
Jim Wilson [Sun, 3 Jul 1994 01:14:43 +0000 (18:14 -0700)]
(loop_iterations): Only use REG_EQUAL note value if it
is constant.

From-SVN: r7648

30 years ago(dbxout_type_methods): Enable debugging info for
Jim Wilson [Sat, 2 Jul 1994 23:16:32 +0000 (16:16 -0700)]
(dbxout_type_methods): Enable debugging info for
template classes.

From-SVN: r7647

30 years ago(yylex): Reject imaginary numbers when pedantic.
Jim Wilson [Sat, 2 Jul 1994 23:13:19 +0000 (16:13 -0700)]
(yylex): Reject imaginary numbers when pedantic.

From-SVN: r7646

30 years ago(duplicate_decls): When make void* match char*, set
Jim Wilson [Sat, 2 Jul 1994 23:09:49 +0000 (16:09 -0700)]
(duplicate_decls): When make void* match char*, set
DECL_IN_SYSTEM_HEADER.

From-SVN: r7645

30 years ago(clean): Delete LIB2FUNCS_EXTRA.
Jim Wilson [Sat, 2 Jul 1994 23:07:43 +0000 (16:07 -0700)]
(clean): Delete LIB2FUNCS_EXTRA.

From-SVN: r7644

30 years ago(PREDICATE_CODES): Add cint8_operand.
Jim Wilson [Sat, 2 Jul 1994 23:03:33 +0000 (16:03 -0700)]
(PREDICATE_CODES): Add cint8_operand.

From-SVN: r7643

30 years ago(FUNCTION_PROFILER, FUNCTION_BLOCK_PROFILER,
Jim Wilson [Sat, 2 Jul 1994 22:57:01 +0000 (15:57 -0700)]
(FUNCTION_PROFILER, FUNCTION_BLOCK_PROFILER,

BLOCK_PROFILER): Use multiple fputs/fprintf calls instead of ANSI
C concatenated strings.

From-SVN: r7642

30 years ago(DEFAULT_WORD_SWITCH_TAKES_ARG): Add -isystem.
Jim Wilson [Sat, 2 Jul 1994 22:52:50 +0000 (15:52 -0700)]
(DEFAULT_WORD_SWITCH_TAKES_ARG): Add -isystem.

From-SVN: r7641

30 years ago(expand_divmod): Always return gen_lowpart (mode, ...).
Torbjorn Granlund [Sat, 2 Jul 1994 13:33:56 +0000 (13:33 +0000)]
(expand_divmod): Always return gen_lowpart (mode, ...).

From-SVN: r7640

30 years agoreorg.c (make_return_insns): Make sure redirecting a jump to a RETURN insn does not...
Jeff Law [Fri, 1 Jul 1994 23:29:06 +0000 (17:29 -0600)]
reorg.c (make_return_insns): Make sure redirecting a jump to a RETURN insn does not invalidate the delay...

* reorg.c (make_return_insns): Make sure redirecting a jump to
a RETURN insn does not invalidate the delay slots of the jump.

From-SVN: r7639

30 years ago(jump_optimize): Don't convert if (foo) x++ into an add of an scc
Richard Kenner [Fri, 1 Jul 1994 23:25:58 +0000 (19:25 -0400)]
(jump_optimize): Don't convert if (foo) x++ into an add of an scc
unless X has no side effects and can't trap.

From-SVN: r7638

30 years ago(initelt): The equal sign is optional when positioning to a single
Richard Kenner [Fri, 1 Jul 1994 23:09:49 +0000 (19:09 -0400)]
(initelt): The equal sign is optional when positioning to a single
element of an array.

From-SVN: r7637

30 years agoUpdate last change.
Richard Kenner [Fri, 1 Jul 1994 21:41:55 +0000 (17:41 -0400)]
Update last change.

From-SVN: r7636

30 years ago(push_init_level): If not at "unfilled" position, set
Richard Kenner [Fri, 1 Jul 1994 21:33:07 +0000 (17:33 -0400)]
(push_init_level): If not at "unfilled" position, set
constructor_incremental to 0.

From-SVN: r7635

30 years ago(arm umul_ppm): Fix typos in last change.
Richard Earnshaw [Fri, 1 Jul 1994 20:32:09 +0000 (20:32 +0000)]
(arm umul_ppm): Fix typos in last change.

(arm umul_ppm): Fix typos in last change.  Mark hard-coded
registers with "%|".

From-SVN: r7634

30 years ago(compile_file): Pass through static consts and inlines
Jason Merrill [Fri, 1 Jul 1994 19:12:03 +0000 (19:12 +0000)]
(compile_file): Pass through static consts and inlines
        multiple times in case they reference each other.

From-SVN: r7633

30 years agoUpdate copyright notice.
Richard Kenner [Fri, 1 Jul 1994 17:54:04 +0000 (13:54 -0400)]
Update copyright notice.

From-SVN: r7632

30 years agoIf GNUC, include alloca.h, else declare alloca.
Richard Kenner [Fri, 1 Jul 1994 17:53:35 +0000 (13:53 -0400)]
If GNUC, include alloca.h, else declare alloca.

From-SVN: r7631

30 years ago(FUNCTION_EXTRA_PROLOGUE): New macro.
Richard Kenner [Fri, 1 Jul 1994 17:49:42 +0000 (13:49 -0400)]
(FUNCTION_EXTRA_PROLOGUE): New macro.

From-SVN: r7630

30 years agoTest for _AM29K and _IBMR2, not ___AM29K__ and ___IBMR2__.
Torbjorn Granlund [Fri, 1 Jul 1994 12:52:38 +0000 (12:52 +0000)]
Test for _AM29K and _IBMR2, not ___AM29K__ and ___IBMR2__.

(arm umul_ppmm): New definition.
(clipper umul_ppmm, smul_ppmm, __umulsidi3): New definitions.
(hppa count_leading_zeros): New definition.
(i960 umul_ppmm, __umulsidi3): New definitions.
(mc68000 umul_ppmm): Use %. before size suffixes.
(mc88110 umul_ppmm, udiv_qrnnd): Rewrite.
(mc88000): Get UMUL_TIME and UDIV_TIME right.
(mips): Get UMUL_TIME right.
(ns32000 umul_ppmm): New definition.
(ns32000 udiv_qrnnd): Rename from bogus div_qrnnd, rewrite.
(powerpc umul_ppmm, smul_ppmm): New definitions.
(_IBMR2/powerpc add_ssaaaa, sub_ddmmss): Improve.
(pyr umul_ppmm): Fix typo.
(sparc add_ssaaaa, sub_ddmmss): Match constant 0 for all inputs.
(vax sdiv_qrnnd): New definition.

From-SVN: r7629

30 years ago(expand_divmod): Put OP0 in a register when computing
Torbjorn Granlund [Fri, 1 Jul 1994 11:40:45 +0000 (11:40 +0000)]
(expand_divmod): Put OP0 in a register when computing
remainder, or when OP1 is constant.

From-SVN: r7628

30 years ago(expand_divmod): Don't set REG_NOTES unless we generated a quotient.
Richard Kenner [Fri, 1 Jul 1994 10:45:56 +0000 (06:45 -0400)]
(expand_divmod): Don't set REG_NOTES unless we generated a quotient.

From-SVN: r7627

30 years ago(do_spec_1, case 'P'): Don't add underscores to macros starting with
Richard Kenner [Thu, 30 Jun 1994 22:21:18 +0000 (18:21 -0400)]
(do_spec_1, case 'P'): Don't add underscores to macros starting with
'_[A-Z]'.

From-SVN: r7626

30 years ago(umulsi3_highpart, smulsi3_highpart): Fix constraint for operand 0 in
Richard Kenner [Thu, 30 Jun 1994 22:15:45 +0000 (18:15 -0400)]
(umulsi3_highpart, smulsi3_highpart): Fix constraint for operand 0 in
define_insn.

From-SVN: r7625

30 years agoWrap <time.h> and <sys/time.h> to avoid multiple inclusion errors.
Ian Lance Taylor [Thu, 30 Jun 1994 20:08:45 +0000 (20:08 +0000)]
Wrap <time.h> and <sys/time.h> to avoid multiple inclusion errors.

From-SVN: r7624

30 years agoincremented objc_version iff using gnu runtime.
Kresten Krab Thorup [Thu, 30 Jun 1994 16:22:23 +0000 (16:22 +0000)]
incremented objc_version iff using gnu runtime.

From-SVN: r7623

30 years agoThis patch makes selectors in the Objective-C language be pointers to a struct {...
Kresten Krab Thorup [Thu, 30 Jun 1994 16:18:55 +0000 (16:18 +0000)]
This patch makes selectors in the Objective-C language be pointers to a struct { void *sel_id...

        This patch makes selectors in the Objective-C language be pointers
        to a struct { void *sel_id, char *sel_types }, where the sel_types
        element is the type encoding of the method arguments.

From-SVN: r7622

30 years ago(read:, write:, streamVersion:):
Kresten Krab Thorup [Thu, 30 Jun 1994 16:18:55 +0000 (16:18 +0000)]
(read:, write:, streamVersion:):

        Un-disable for alpha.  (forward::, performv::): Declare and fix to
        return retval_t. .

From-SVN: r7621

30 years agoobjc-act.c (get_proto_encoding, [...]): New fucnctions.
Kresten Krab Thorup [Thu, 30 Jun 1994 16:17:36 +0000 (16:17 +0000)]
objc-act.c (get_proto_encoding, [...]): New fucnctions.

        * objc-act.c (get_proto_encoding, build_typed_selector_reference):
        New fucnctions. (UTAG_PROTOCOL): New define.
        (objc_selector_template, flag_typed_selectors): New variables.
        (objc_init): set flag_typed_selectors if -fgnu-runtime.
        (synth_module_prologue): Change declaration of
        _OBJC_SELECTOR_TABLE when flag_typed_selectors is non-null.
        (build_module_descriptor): Make sure the generated constructor
        function is declared public.
        (build_selector): Only cast to SEL when not doing typed selectors.
        (build_selector_translation_table): Rewrite initialization.
        (build_tmp_function_decl): Make up new name when called, since it
        may now be called multiple times.
        (hack_method_prototype): Use init_function_start to reinit args
        machinery.  Also set current_function_decl before calling
        assign_parms.
        (generate_protocols):  Don't generate encoding twice.
        (build_selector_template): New function.
        (build_method_list_template): Generate (void*)0 as first element,
        not (int)0.
        (build_message_expr): move the call to build_selector_reference
        towards the end, where we have determined the function prototype.

From-SVN: r7620

30 years ago(INITIAL_ELIMINATION_OFFSET): Check frame_pointer_needed when eliminating
Richard Earnshaw [Thu, 30 Jun 1994 11:48:44 +0000 (11:48 +0000)]
(INITIAL_ELIMINATION_OFFSET): Check frame_pointer_needed when eliminating
the arg pointer into the stack pointer.

From-SVN: r7619

30 years ago(c_build_type_variant): Remove last change; instead, copy TYPE if not
Richard Kenner [Thu, 30 Jun 1994 10:24:28 +0000 (06:24 -0400)]
(c_build_type_variant): Remove last change; instead, copy TYPE if not
in old obstack.

From-SVN: r7618

30 years ago(end_final,profile_function): Profiling variables are size of pointer,
Richard Kenner [Thu, 30 Jun 1994 09:46:10 +0000 (05:46 -0400)]
(end_final,profile_function): Profiling variables are size of pointer,

not int.

From-SVN: r7617

30 years ago(lang_options): Add -W{no-,}non-virtual-dtor.
Jason Merrill [Thu, 30 Jun 1994 09:41:26 +0000 (09:41 +0000)]
(lang_options): Add -W{no-,}non-virtual-dtor.

From-SVN: r7616

30 years agosome changes from gb.
Gerald Baumgartner [Thu, 30 Jun 1994 05:35:06 +0000 (05:35 +0000)]
some changes from gb.

From-SVN: r7615

30 years agoRestore to rcs version 1.59 (1.60 is an empty file).
Doug Evans [Thu, 30 Jun 1994 03:43:24 +0000 (03:43 +0000)]
Restore to rcs version 1.59 (1.60 is an empty file).

From-SVN: r7614

30 years agoremove cygnus FSF difference
Mike Stump [Thu, 30 Jun 1994 02:03:54 +0000 (02:03 +0000)]
remove cygnus FSF difference

From-SVN: r7613

30 years ago42nd Cygnus<->FSF merge
Mike Stump [Thu, 30 Jun 1994 01:51:05 +0000 (01:51 +0000)]
42nd Cygnus<->FSF merge

From-SVN: r7612

30 years ago(basic_induction_var, case REG): Allow previous insn to set a SUBREG
Richard Kenner [Wed, 29 Jun 1994 23:21:43 +0000 (19:21 -0400)]
(basic_induction_var, case REG): Allow previous insn to set a SUBREG
of X.

From-SVN: r7611

30 years ago(LIB_SPEC): If -pg, add -lprof2.
Richard Kenner [Wed, 29 Jun 1994 22:59:23 +0000 (18:59 -0400)]
(LIB_SPEC): If -pg, add -lprof2.

(STARTFILE_SPEC, {FUNCTION,BLOCK,FUNCTION_BLOCK}_PROFILER): New macros.

From-SVN: r7610

30 years ago(end_final,profile_function): Profiling variables are size of pointer,
Richard Kenner [Wed, 29 Jun 1994 22:57:34 +0000 (18:57 -0400)]
(end_final,profile_function): Profiling variables are size of pointer,

not int.

From-SVN: r7609

30 years agoAdd new pattern for double-add when have reg + frame pointer.
Richard Kenner [Wed, 29 Jun 1994 20:13:22 +0000 (16:13 -0400)]
Add new pattern for double-add when have reg + frame pointer.

Slight changes to all such patterns and add define_splits for them.

From-SVN: r7608

30 years ago(FRAME_POINTER_REGNUM): Now register 63.
Richard Kenner [Wed, 29 Jun 1994 20:12:40 +0000 (16:12 -0400)]
(FRAME_POINTER_REGNUM): Now register 63.

(HARD_FRAME_POINTER_REGNUM): New macro.
(CONDITIONAL_REGISTER_USAGE, REG_CLASS_CONTENTS, REGNO_REG_CLASS):
Show register 63 is not an FP register.
(REGHNO_OK_FOR_BASE_P, REG_OK_FOR_BASE_P, REGISTER_NAMES): Likewise.
(ALPHA_ROUND): New macro.
(STARTING_FRAME_OFFSET, ELIMINABLE_REGS, INITIAL_ELIMINATION_OFFSET):
Modify to reflect save area between outgoing args and local vars.

From-SVN: r7607

30 years ago(alpha_sa_size): Round size to 16-byte boundary.
Richard Kenner [Wed, 29 Jun 1994 20:12:03 +0000 (16:12 -0400)]
(alpha_sa_size): Round size to 16-byte boundary.

(add_long_const): Add new arg, TEMP_REG.
(output_{pro,epi}log): Rework to put save area between outgoing args and
local variables.

From-SVN: r7606

30 years ago(reload): Can't eliminate if frame pointer needed and TO is stack pointer.
Richard Kenner [Wed, 29 Jun 1994 20:02:13 +0000 (16:02 -0400)]
(reload): Can't eliminate if frame pointer needed and TO is stack pointer.

Spill HARD_FRAME_POINTER_REGNUM if not FRAME_POINTER_REGNUM and frame pointer
is needed.
(spill_hard_reg): If CANT_ELIMINATE, set regs_ever_live; no longer done by
callers.

From-SVN: r7605

30 years ago(global_alloc): Make a more accurate attempt to see if the frame pointer will be...
Richard Kenner [Wed, 29 Jun 1994 20:01:31 +0000 (16:01 -0400)]
(global_alloc): Make a more accurate attempt to see if the frame pointer will be used.

(global_alloc): Make a more accurate attempt to see if the frame pointer will
be used.
If it is, show HARD_FRAME_POINTER_REGNUM used if its not the same as
FRAME_POINTER_REGNUM.

From-SVN: r7604

30 years ago(movqi): Add missing `DONE'.
Richard Kenner [Wed, 29 Jun 1994 19:52:27 +0000 (15:52 -0400)]
(movqi): Add missing `DONE'.

From-SVN: r7603

30 years agosp64-elf: (PTRDIFF_TYPE): Remove dependence on POINTER_SIZE.
Doug Evans [Wed, 29 Jun 1994 19:44:07 +0000 (19:44 +0000)]
sp64-elf: (PTRDIFF_TYPE): Remove dependence on POINTER_SIZE.

* sparc/sp64-elf: (PTRDIFF_TYPE): Remove dependence on POINTER_SIZE.
(SIZE_TYPE): Likewise.

From-SVN: r7602

30 years agosparc.h (CPP_SPEC): Split up v9/non-v9 stuff.
Doug Evans [Wed, 29 Jun 1994 19:43:25 +0000 (19:43 +0000)]
sparc.h (CPP_SPEC): Split up v9/non-v9 stuff.

* sparc/sparc.h (CPP_SPEC): Split up v9/non-v9 stuff.
Move -Acpu and -Amachine from here.
(CPP_PREDEFINES): To here.
(NO_BUILTIN_PTRDIFF_TYPE): Undefine.
(NO_BUILTIN_SIZE_TYPE): Likewise.
(PTRDIFF_TYPE): Split up v9/non-v9 definitions.
(SIZE_TYPE): Likewise.

From-SVN: r7601

30 years agoAlways put 1 space after the macro expansion in ANSI mode.
Michael Meissner [Wed, 29 Jun 1994 19:25:41 +0000 (19:25 +0000)]
Always put 1 space after the macro expansion in ANSI mode.

From-SVN: r7600

30 years ago(simplify_set): Evaluate HAVE_conditional_move at runtime.
Doug Evans [Wed, 29 Jun 1994 02:41:26 +0000 (02:41 +0000)]
(simplify_set): Evaluate HAVE_conditional_move at runtime.

From-SVN: r7599

30 years ago(expand_mult): Generalize to call synth_mult also for OP1 - 1.
Torbjorn Granlund [Wed, 29 Jun 1994 00:23:02 +0000 (00:23 +0000)]
(expand_mult): Generalize to call synth_mult also for OP1 - 1.

(ceil_log2): New function.
(choose_multiplier): New function.
(invert_mod2n): New function.
(expand_mult_highpart_adjust): New function.
(expand_mult_highpart): New function.
(EXACT_POWER_OF_2_OR_ZERO_P): New macro.
(expand_divmod): Almost completely rewritten.
(expand_shift): Don't truncate immediate shift count, it doesn't work
for types smaller than int.

From-SVN: r7598

30 years ago(smul_highpart_optab, umul_highpart_optab): New variables.
Torbjorn Granlund [Wed, 29 Jun 1994 00:22:36 +0000 (00:22 +0000)]
(smul_highpart_optab, umul_highpart_optab): New variables.

From-SVN: r7597

30 years ago(optabs): Add [us]mul_highpart_optab.
Torbjorn Granlund [Wed, 29 Jun 1994 00:22:13 +0000 (00:22 +0000)]
(optabs): Add [us]mul_highpart_optab.

From-SVN: r7596

30 years ago(smul_highpart_optab, umul_highpart_optab): New variables.
Torbjorn Granlund [Wed, 29 Jun 1994 00:21:32 +0000 (00:21 +0000)]
(smul_highpart_optab, umul_highpart_optab): New variables.

(expand_binop): Handle [us]mul_highpart_optab as commutative.
(init_optabs): Initialize [us]mul_highpart_optab.
(expand_binop): Convert OP0 to mode for library calls.

From-SVN: r7595

30 years ago(div_and_round_double): Make it globally accessible.
Torbjorn Granlund [Wed, 29 Jun 1994 00:20:58 +0000 (00:20 +0000)]
(div_and_round_double): Make it globally accessible.

From-SVN: r7594

30 years ago(umulsi3_highpart, const_umulsi3_highpart): New expander and matcher.
Torbjorn Granlund [Wed, 29 Jun 1994 00:19:52 +0000 (00:19 +0000)]
(umulsi3_highpart, const_umulsi3_highpart): New expander and matcher.

(smulsi3_highpart, const_smulsi3_highpart): Likewise.

From-SVN: r7593

30 years ago(umuldi3_highpart): New expander and matcher.
Torbjorn Granlund [Wed, 29 Jun 1994 00:19:15 +0000 (00:19 +0000)]
(umuldi3_highpart): New expander and matcher.

From-SVN: r7592

30 years ago(cint8_operand): New predicate.
Torbjorn Granlund [Wed, 29 Jun 1994 00:18:43 +0000 (00:18 +0000)]
(cint8_operand): New predicate.

From-SVN: r7591

30 years ago(smulsi3_highpart, umulsi3_highpart): New patterns.
Torbjorn Granlund [Wed, 29 Jun 1994 00:18:12 +0000 (00:18 +0000)]
(smulsi3_highpart, umulsi3_highpart): New patterns.

From-SVN: r7590

30 years ago(CPP_SPEC): Handle -msupersparc.
Jim Wilson [Tue, 28 Jun 1994 19:33:59 +0000 (12:33 -0700)]
(CPP_SPEC): Handle -msupersparc.

From-SVN: r7589

30 years ago(cpu_type, sparc_cpu_type): Rename to arch_type and sparc_arch_type.
Jim Wilson [Tue, 28 Jun 1994 19:33:23 +0000 (12:33 -0700)]
(cpu_type, sparc_cpu_type): Rename to arch_type and sparc_arch_type.

(cpu_type, sparc_cpu_type): Rename to arch_type and
sparc_arch_type.  Fix all users.
(supersparc_adjust_cost): New function.

From-SVN: r7588

30 years ago(cpu_type, sparc_cpu_type): Rename to arch_type and sparc_arch_type.
Jim Wilson [Tue, 28 Jun 1994 19:32:11 +0000 (12:32 -0700)]
(cpu_type, sparc_cpu_type): Rename to arch_type and sparc_arch_type.

(cpu_type, sparc_cpu_type): Rename to arch_type and
sparc_arch_type.
(CPP_SPEC): Handle -msupersparc.
(MASK_SUPERSPARC, TARGET_SUPERSPARC): New macros.
(TARGET_SWITCHES): Add -msupersparc and -mcypress.
(ADJUST_COST): New macro.

From-SVN: r7587

30 years ago(cpu attribute): Rename to arch attribute.
Jim Wilson [Tue, 28 Jun 1994 19:31:14 +0000 (12:31 -0700)]
(cpu attribute): Rename to arch attribute.

(cpu attribute): Rename to arch attribute.  Add a new
cpu attribute.  Fix all users.
(type attribute): Add ialu, shift, imul, fpdivs, and fpdivd.
Delete fpdiv.
(function units): Add Cypress and Supersparc versions of each.
(addsi3, subsi3, andsi3, iorsi3, xorsi3): Add ialu type attribute.
(mulsi3): Add imul type attribute.
(divtf3, divdf3): Use fpdivd not fpdiv type attribute.
(divsf3); Use fpdivs not fpdiv type attribute.
(ashlsi3, ashrsi3, lshrsi3): Add shift type attribute.

From-SVN: r7586

30 years ago(andsi3+6): Replace bad clrbit pattern with two working ones.
Jim Wilson [Tue, 28 Jun 1994 17:41:52 +0000 (10:41 -0700)]
(andsi3+6): Replace bad clrbit pattern with two working ones.

From-SVN: r7585

30 years agoInitial revision
Richard Kenner [Tue, 28 Jun 1994 17:31:04 +0000 (13:31 -0400)]
Initial revision

From-SVN: r7584

30 years agopa.md (define_split for (plus (reg) (large_constant))): Treat large_constant as signed.
Jeff Law [Tue, 28 Jun 1994 16:42:26 +0000 (10:42 -0600)]
pa.md (define_split for (plus (reg) (large_constant))): Treat large_constant as signed.

* pa.md (define_split for (plus (reg) (large_constant))): Treat
large_constant as signed.

From-SVN: r7583

30 years ago(eliminate_regs_in_insn): When checking for moves and adds, use
Richard Kenner [Tue, 28 Jun 1994 10:02:05 +0000 (06:02 -0400)]
(eliminate_regs_in_insn): When checking for moves and adds, use
single_set.

From-SVN: r7582

30 years ago(reloads_conflict): Handle R1_TYPE of RELOAD_OTHER.
Richard Kenner [Tue, 28 Jun 1994 09:49:31 +0000 (05:49 -0400)]
(reloads_conflict): Handle R1_TYPE of RELOAD_OTHER.

From-SVN: r7581

30 years ago(do_jump, case BIT_AND_EXPR): Only narrow to a type that corresponds
Richard Kenner [Tue, 28 Jun 1994 09:44:57 +0000 (05:44 -0400)]
(do_jump, case BIT_AND_EXPR): Only narrow to a type that corresponds
to a mode.

From-SVN: r7580

30 years agoInclude ctype.h.
Richard Kenner [Tue, 28 Jun 1994 09:35:22 +0000 (05:35 -0400)]
Include ctype.h.

From-SVN: r7579

30 years ago(movsf): Emit frsp if storing to memory and not PowerPC.
Richard Kenner [Tue, 28 Jun 1994 09:34:30 +0000 (05:34 -0400)]
(movsf): Emit frsp if storing to memory and not PowerPC.

(movsf matcher): Remove explicit frsp.
(store sf with update): Likewise.

From-SVN: r7578

30 years ago(MEMORY_MOVE_COST): Make processor-dependent.
Richard Kenner [Tue, 28 Jun 1994 09:33:48 +0000 (05:33 -0400)]
(MEMORY_MOVE_COST): Make processor-dependent.

From-SVN: r7577

30 years agoTreat HFmode like SFmode, for now.
Richard Kenner [Tue, 28 Jun 1994 09:15:25 +0000 (05:15 -0400)]
Treat HFmode like SFmode, for now.

From-SVN: r7576

30 years ago(expand_binop, multi-words shifts and rotates): Fix errors in last
Richard Kenner [Mon, 27 Jun 1994 23:16:01 +0000 (19:16 -0400)]
(expand_binop, multi-words shifts and rotates): Fix errors in last
change.

From-SVN: r7575

30 years ago(function_unit fpa): Add more accurate scheduling information.
Richard Earnshaw [Mon, 27 Jun 1994 15:24:36 +0000 (15:24 +0000)]
(function_unit fpa): Add more accurate scheduling information.

(all floating point patterns): Add more accurate instruction type information.

From-SVN: r7574

30 years agoinclude "expr.h".
Richard Earnshaw [Mon, 27 Jun 1994 15:24:36 +0000 (15:24 +0000)]
include "expr.h".

(arm_fpu): New variable.
(arm_gen_movstrqi): Fix typo.

From-SVN: r7573

30 years ago(STARTFILE_SPEC,SIZE_TYPE,PTRDIFF_TYPE): Fix typos.
Richard Earnshaw [Mon, 27 Jun 1994 15:24:36 +0000 (15:24 +0000)]
(STARTFILE_SPEC,SIZE_TYPE,PTRDIFF_TYPE): Fix typos.

(ASM_FINAL_SPEC): Only reject -mbsd and -mxopen when -pedantic.

From-SVN: r7572

30 years ago(enum floating_point_type): New enumeration type.
Richard Earnshaw [Mon, 27 Jun 1994 15:24:36 +0000 (15:24 +0000)]
(enum floating_point_type): New enumeration type.

(arm_fpu): New declaration.

From-SVN: r7571

30 years ago(v_message_with_decl): Avoid fwrite for stderr; mixing it with fprintf
Richard Kenner [Sun, 26 Jun 1994 09:37:16 +0000 (05:37 -0400)]
(v_message_with_decl): Avoid fwrite for stderr; mixing it with fprintf
and fputs can cause strange results under VMS.

From-SVN: r7570

30 years ago(distribute_notes, case REG_DEAD): If a call uses a
Richard Earnshaw [Sat, 25 Jun 1994 10:04:06 +0000 (10:04 +0000)]
(distribute_notes, case REG_DEAD): If a call uses a
hard reg, then this is where it dies.

From-SVN: r7569

30 years ago(create_definition): Eliminate whitespace before and after macro
Richard Kenner [Fri, 24 Jun 1994 23:09:17 +0000 (19:09 -0400)]
(create_definition): Eliminate whitespace before and after macro
definitions.

From-SVN: r7568

30 years ago(alpha_builtin_saveregs): Fix typo in computing value for __base.
Richard Kenner [Fri, 24 Jun 1994 22:47:38 +0000 (18:47 -0400)]
(alpha_builtin_saveregs): Fix typo in computing value for __base.

From-SVN: r7567

30 years ago(zero_extract patterns): Don't allow constants in the first operand of...
Richard Kenner [Fri, 24 Jun 1994 22:29:54 +0000 (18:29 -0400)]
(zero_extract patterns): Don't allow constants in the first operand of...

(zero_extract patterns): Don't allow constants in the first operand of
ZERO_EXTRACT since the recognizer function forces them to match the
mode of the match_operand.

From-SVN: r7566

30 years ago(decl_constant_value): Test for const and not iterator.
Richard Kenner [Fri, 24 Jun 1994 21:46:59 +0000 (17:46 -0400)]
(decl_constant_value): Test for const and not iterator.

(default_conversion, digest_init): Remove redundant checks before calling
decl_constant_value.
(convert_for_assignment): See if RHS has a constant value.

From-SVN: r7565

30 years agoAdd -W[no]-bad-function-cast.
Richard Kenner [Fri, 24 Jun 1994 20:19:17 +0000 (16:19 -0400)]
Add -W[no]-bad-function-cast.

From-SVN: r7564

30 years agoDeclare warn_bad_function_cast.
Richard Kenner [Fri, 24 Jun 1994 20:18:25 +0000 (16:18 -0400)]
Declare warn_bad_function_cast.

From-SVN: r7563

30 years ago(build_c_cast): Issue a warning for non-matching cast from a function
Richard Kenner [Fri, 24 Jun 1994 20:17:42 +0000 (16:17 -0400)]
(build_c_cast): Issue a warning for non-matching cast from a function
call (like malloc without proto).

From-SVN: r7562

30 years ago(lang_decode_option): Set warn_bad_function_cast for
Richard Kenner [Fri, 24 Jun 1994 20:17:01 +0000 (16:17 -0400)]
(lang_decode_option): Set warn_bad_function_cast for
-Wbad-function-cast.

From-SVN: r7561