platform/upstream/gcc.git
30 years ago(local_vars_size): Add extern to declaration.
Jim Wilson [Mon, 31 Jan 1994 22:24:34 +0000 (14:24 -0800)]
(local_vars_size): Add extern to declaration.

From-SVN: r6443

30 years ago(expand_units): When calculate BLOCKAGE, reverse terms to POS_MINUS_OP.
Jim Wilson [Mon, 31 Jan 1994 20:43:02 +0000 (12:43 -0800)]
(expand_units): When calculate BLOCKAGE, reverse terms to POS_MINUS_OP.

(expand_units): When calculate BLOCKAGE, reverse
terms to POS_MINUS_OP.  Clarify comment before BLOCKAGE computation.
(write_complex_function): Use EXECUTING_INSN for first switch, and
CANDIDATE_INSN for second switch.

From-SVN: r6442

30 years ago(TARGET_DEFFAULT): Add -mapp-regs.
Jim Wilson [Mon, 31 Jan 1994 20:35:27 +0000 (12:35 -0800)]
(TARGET_DEFFAULT): Add -mapp-regs.

From-SVN: r6441

30 years ago(TARGET_APP_REGS): Define.
Jim Wilson [Mon, 31 Jan 1994 20:34:58 +0000 (12:34 -0800)]
(TARGET_APP_REGS): Define.

(TARGET_SWITCHES): Add new options -mapp-regs and -mno-app-regs.
(TARGET_DEFAULT): Add -mapp-regs.
(CONDITIONAL_REGISTER_USAGE): Make %g2, %g3, and %g4 be fixed when
the -mno-app-regs option is used.

From-SVN: r6440

30 years ago(TARGET_DEFAULT): Delete.
Jim Wilson [Mon, 31 Jan 1994 20:34:29 +0000 (12:34 -0800)]
(TARGET_DEFAULT): Delete.

From-SVN: r6439

30 years ago(STARTFILE_SPEC): Include values-X[cta].o file in link.
Jim Wilson [Mon, 31 Jan 1994 20:28:39 +0000 (12:28 -0800)]
(STARTFILE_SPEC): Include values-X[cta].o file in link.

From-SVN: r6438

30 years ago(ASM_OUTPUT_LFE): Output absolute line number not
Jim Wilson [Mon, 31 Jan 1994 20:19:28 +0000 (12:19 -0800)]
(ASM_OUTPUT_LFE): Output absolute line number not
relative line number.

From-SVN: r6437

30 years ago(find_auto_inc): Check for increment using single_set.
Richard Kenner [Sat, 29 Jan 1994 00:19:59 +0000 (19:19 -0500)]
(find_auto_inc): Check for increment using single_set.

From-SVN: r6436

30 years ago(fsel): Remove insns with record bit set.
Richard Kenner [Sat, 29 Jan 1994 00:11:02 +0000 (19:11 -0500)]
(fsel): Remove insns with record bit set.

From-SVN: r6435

30 years ago(output_prolog): Fix typo in previous change.
Richard Kenner [Thu, 27 Jan 1994 23:22:20 +0000 (18:22 -0500)]
(output_prolog): Fix typo in previous change.

From-SVN: r6434

30 years ago* c-typeck.c (initializer_constant_valid_p): Make non-static.
Per Bothner [Wed, 26 Jan 1994 23:24:12 +0000 (15:24 -0800)]
* c-typeck.c (initializer_constant_valid_p):  Make non-static.

From-SVN: r6433

30 years ago(attach_deaths_insn): Add REG_DEAD notes to CLOBBER if
Jim Wilson [Wed, 26 Jan 1994 18:56:51 +0000 (10:56 -0800)]
(attach_deaths_insn): Add REG_DEAD notes to CLOBBER if
it is for a MEM.

From-SVN: r6432

30 years ago(HASHBITS): Removed.
Richard Kenner [Tue, 25 Jan 1994 13:29:50 +0000 (08:29 -0500)]
(HASHBITS): Removed.

(HASH, struct set, canon_hash, safe_hash, remove_from_table):
Generate and use unsigned hash values, to avoid potential trouble
with signed shift/overflow.
Also name variables consistently: "hash", not "hash_code".
(lookup, lookup_for_remove, insert, merge_equiv_classes): Likewise.
(invalidate, rehash_using_reg, invalidate_for_call): Likewise.
(find_best_addr, record_jump_cond, cse_insn):  Likewise.

From-SVN: r6431

30 years ago(store_split_bit_field): Reject gen_lowpart_common
Jim Wilson [Tue, 25 Jan 1994 00:33:14 +0000 (16:33 -0800)]
(store_split_bit_field): Reject gen_lowpart_common
output if it returns the input value.

From-SVN: r6430

30 years ago(store_split_bit_field): For BYTES_BIG_ENDIAN, only
Jim Wilson [Tue, 25 Jan 1994 00:24:18 +0000 (16:24 -0800)]
(store_split_bit_field):  For BYTES_BIG_ENDIAN, only
pad on left if value not in memory.

From-SVN: r6429

30 years ago(copy_loop_body): When delete simplified condjump,
Jim Wilson [Tue, 25 Jan 1994 00:19:48 +0000 (16:19 -0800)]
(copy_loop_body): When delete simplified condjump,

protect the label, so that it doesn't get deleted also.

From-SVN: r6428

30 years ago(compile_file): If yyparse returns an error, pop all
Jim Wilson [Mon, 24 Jan 1994 23:59:48 +0000 (15:59 -0800)]
(compile_file): If yyparse returns an error, pop all
pending binding levels.

From-SVN: r6427

30 years ago#ifdef out uses of TypedStream for the alpha, not supported yet.
Doug Evans [Mon, 24 Jan 1994 23:28:33 +0000 (23:28 +0000)]
#ifdef out uses of TypedStream for the alpha, not supported yet.

From-SVN: r6426

30 years ago(ADDRESS_COST): Define to 1.
Jim Wilson [Mon, 24 Jan 1994 22:56:27 +0000 (14:56 -0800)]
(ADDRESS_COST): Define to 1.

From-SVN: r6425

30 years ago(sparc_address_cost): Delete.
Jim Wilson [Mon, 24 Jan 1994 22:55:49 +0000 (14:55 -0800)]
(sparc_address_cost): Delete.

From-SVN: r6424

30 years ago(ASM_OUTPUT_NEWLINE): New default for new macro.
Jim Wilson [Mon, 24 Jan 1994 22:52:18 +0000 (14:52 -0800)]
(ASM_OUTPUT_NEWLINE): New default for new macro.

(ASM_OUTPUT_ASCII): Use ASM_OUTPUT_NEWLINE.

From-SVN: r6423

30 years ago(ASM_OUTPUT_NEWLINE): Define new macro.
Jim Wilson [Mon, 24 Jan 1994 22:51:58 +0000 (14:51 -0800)]
(ASM_OUTPUT_NEWLINE): Define new macro.

From-SVN: r6422

30 years ago(ASM_OUTPUT_COMMON): Don't output .global. Use SIZE not ROUNDED.
Jim Wilson [Mon, 24 Jan 1994 22:40:31 +0000 (14:40 -0800)]
(ASM_OUTPUT_COMMON): Don't output .global.  Use SIZE not ROUNDED.

(ASM_OUTPUT_LOCAL): Delete.
(ASM_OUTPUT_ALIGNED_LOCAL): Define.

From-SVN: r6421

30 years ago(find_reloads): Properly test for output operand when changing
Richard Kenner [Mon, 24 Jan 1994 01:11:18 +0000 (20:11 -0500)]
(find_reloads): Properly test for output operand when changing
RELOAD_FOR_OUTPUT_ADDRESS to RELOAD_FOR_INPUT_ADDRESS.

From-SVN: r6420

30 years ago(subst, case SUBREG): Handle paradoxical SUBREG of constant.
Richard Kenner [Mon, 24 Jan 1994 00:40:58 +0000 (19:40 -0500)]
(subst, case SUBREG): Handle paradoxical SUBREG of constant.

(IF_THEN_ELSE): Add missing "else" and check for comparison before
calling reversible_comparison_p.

From-SVN: r6419

30 years ago(do_jump_for_compare): Initialize JUMP_LABEL for the branch insn
Richard Kenner [Sun, 23 Jan 1994 23:56:41 +0000 (18:56 -0500)]
(do_jump_for_compare): Initialize JUMP_LABEL for the branch insn
before trying to invert it.

From-SVN: r6418

30 years ago(ASM_FILE_START): Delete; identical to one in bsd.h, which is
Richard Kenner [Sun, 23 Jan 1994 23:40:17 +0000 (18:40 -0500)]
(ASM_FILE_START): Delete; identical to one in bsd.h, which is
included.

From-SVN: r6417

30 years ago(PATH_SEPARATOR): New macro.
Richard Kenner [Sun, 23 Jan 1994 23:39:56 +0000 (18:39 -0500)]
(PATH_SEPARATOR): New macro.

From-SVN: r6416

30 years agoAssume GAS 2.x used and add support for debugging.
Richard Kenner [Sun, 23 Jan 1994 23:21:18 +0000 (18:21 -0500)]
Assume GAS 2.x used and add support for debugging.

From-SVN: r6415

30 years ago(output_init_elements): Use FIELD instead of constructor_fields when doing alignment...
Richard Kenner [Sun, 23 Jan 1994 14:11:44 +0000 (09:11 -0500)]
(output_init_elements): Use FIELD instead of constructor_fields when doing alignment and sizing.

(output_init_elements): Use FIELD instead of constructor_fields when
doing alignment and sizing.
(output_pending_init_elements): Don't blow up when writing other than
first field put haven't written anything yet.  Update
constructor_bit_index when we emit a skip.

From-SVN: r6414

30 years ago(rest_of_compilation): Defer compilation of function that were specified as inline...
Richard Kenner [Sun, 23 Jan 1994 13:13:51 +0000 (08:13 -0500)]
(rest_of_compilation): Defer compilation of function that were specified as inline...

(rest_of_compilation): Defer compilation of function that were
specified as inline, whether or not they actually were inlined.

From-SVN: r6413

30 years agoInitial revision
Richard Kenner [Sun, 23 Jan 1994 12:30:50 +0000 (07:30 -0500)]
Initial revision

From-SVN: r6412

30 years ago(OBJECT_FORMAT_COFF, EXTENDED_COFF, NM_FLAGS): Define.
Richard Kenner [Sun, 23 Jan 1994 12:30:31 +0000 (07:30 -0500)]
(OBJECT_FORMAT_COFF, EXTENDED_COFF, NM_FLAGS): Define.

From-SVN: r6411

30 years ago(simplify_comparison): Can remove NOT on both operands if we swap
Richard Kenner [Sun, 23 Jan 1994 12:00:29 +0000 (07:00 -0500)]
(simplify_comparison): Can remove NOT on both operands if we swap
comparison code.

From-SVN: r6410

30 years agoInsert some missing blank lines.
Richard Kenner [Sun, 23 Jan 1994 11:35:39 +0000 (06:35 -0500)]
Insert some missing blank lines.

From-SVN: r6409

30 years ago(output_{pro,epi}log): Use assemble_name to output
Richard Kenner [Sun, 23 Jan 1994 11:22:46 +0000 (06:22 -0500)]
(output_{pro,epi}log): Use assemble_name to output
alpha_function_name.

From-SVN: r6408

30 years ago(simplify_comparison): Fix typo in last change.
Richard Kenner [Sun, 23 Jan 1994 11:18:50 +0000 (06:18 -0500)]
(simplify_comparison): Fix typo in last change.

From-SVN: r6407

30 years ago(really_start_incremental_init): Save current elements instead of
Richard Kenner [Sun, 23 Jan 1994 10:59:15 +0000 (05:59 -0500)]
(really_start_incremental_init): Save current elements instead of
clearing them.

From-SVN: r6406

30 years ago(c_expand_return): Issue a warning if returning address of non-static
Richard Kenner [Sat, 22 Jan 1994 22:18:10 +0000 (17:18 -0500)]
(c_expand_return): Issue a warning if returning address of non-static
local object.

From-SVN: r6405

30 years ago(if_then_else_cond): Don't do anything with COMPARE.
Richard Kenner [Sat, 22 Jan 1994 21:50:41 +0000 (16:50 -0500)]
(if_then_else_cond): Don't do anything with COMPARE.

(simplify_comparison): Strip SIGN_EXTEND, NOT, or NEG when both operands
have it.

From-SVN: r6404

30 years ago(num_sign_bit_copies): Ifndef WORD_REGISTER_OPERATIONS, ensure we
Richard Kenner [Sat, 22 Jan 1994 20:50:06 +0000 (15:50 -0500)]
(num_sign_bit_copies): Ifndef WORD_REGISTER_OPERATIONS, ensure we
don't do the wrong thing if X is narrower than MODE.

From-SVN: r6403

30 years agopa.h (ASM_OUTPUT_SOURCE_LINE): Make the first source line stab for each procedure...
Jeff Law [Thu, 20 Jan 1994 06:08:37 +0000 (23:08 -0700)]
pa.h (ASM_OUTPUT_SOURCE_LINE): Make the first source line stab for each procedure special to avoid the need...

* pa.h (ASM_OUTPUT_SOURCE_LINE): Make the first source
line stab for each procedure special to avoid the need
for nasty hacks in GAS.

From-SVN: r6402

30 years ago* pa.md (iorscc): Fix typo.
Jeff Law [Thu, 20 Jan 1994 06:05:32 +0000 (23:05 -0700)]
* pa.md (iorscc): Fix typo.

From-SVN: r6401

30 years ago(ASM_GLOBALIZE_LABEL): Don't globalize function labels here.
Torbjorn Granlund [Thu, 20 Jan 1994 00:34:47 +0000 (00:34 +0000)]
(ASM_GLOBALIZE_LABEL): Don't globalize function labels here.

From-SVN: r6400

30 years ago(xcoffout_begin_block): Don't emit a .bb for the function level scope.
Jim Wilson [Mon, 17 Jan 1994 21:37:52 +0000 (13:37 -0800)]
(xcoffout_begin_block): Don't emit a .bb for the function level scope.

(xcoffout_begin_block): Don't emit a .bb for the
function level scope.
(xcoffout_end_block): Don't emit a .eb for the function level
scope.

From-SVN: r6399

30 years agoDelete duplicate clauses for hp9k2... and hp9k31...
Richard Stallman [Sun, 16 Jan 1994 19:31:08 +0000 (19:31 +0000)]
Delete duplicate clauses for hp9k2... and hp9k31...

From-SVN: r6398

30 years agoAlphabetize the list of machine-name aliases.
Richard Stallman [Sun, 16 Jan 1994 19:30:01 +0000 (19:30 +0000)]
Alphabetize the list of machine-name aliases.

Add nh3000 and nh[45]000.

From-SVN: r6397

30 years ago(smulsi3_highpart): New pattern.
Jim Wilson [Sat, 15 Jan 1994 23:44:42 +0000 (15:44 -0800)]
(smulsi3_highpart): New pattern.

(umulsi3_highpart): New pattern.

From-SVN: r6396

30 years ago(smulsi3_highpart): New pattern.
Jim Wilson [Sat, 15 Jan 1994 23:06:17 +0000 (15:06 -0800)]
(smulsi3_highpart): New pattern.

(umulsi3_highpart): New pattern.

From-SVN: r6395

30 years agoAdd 64 bit support.
Jim Wilson [Thu, 13 Jan 1994 23:54:09 +0000 (15:54 -0800)]
Add 64 bit support.

From-SVN: r6394

30 years ago(cpu): Add r4600.
Jim Wilson [Thu, 13 Jan 1994 23:52:43 +0000 (15:52 -0800)]
(cpu): Add r4600.

(define_function_unit): Correct numerous errors.  Add r4600.
(adddi3*, subdi3*, mulsidi3, umulsidi3, negdi2*, one_cmpdl2*,
nordi2*, anddi2*, iordi3*, xordi3*, movdi*, ashldi3*, ashrdi3*,
lshrdi3*, seq, sne, sgt, sge, slt, sle, sgtu, sgeu, sltu, sleu,
indirect_jump, tablejump, call*, call_value*): Add 64 bit support.
(adddi3_internal_3, addsi3_internal_2, subdi3_internal_3,
subsi3_internal_2, muldi3, muldi3_internal, divmoddi4, udivmoddi4,
divdi3, moddi3, udivdi3, umoddi3, absdi3, ffsdi2,
negdi2_internal_2, anddi3_internal1, xordi3_immed, truncdisi2,
truncdihi2, truncdiqi2, zero_extendsidi2,
zero_extendsidi2_interal, zero_extendhidi2, zero_extendqidi2,
extendsidi2, extendhidi2, extendhidi2_internal, extendqidi2,
extendqidi2_insn, fix_truncdfdi2, fix_truncsfdi2, floatdidf2,
floatdisf2, fixuns_truncdfdi2, fixuns_truncdfsi2,
ashldi3_internal4, ashrdi3_internal_4, lshrdi3_internal4, cmpdi,
tstdi, branch_zero_di, branch_equality_di, seq_di_zero, seq_di,
sne_di_zero, sne_di, sgt_di, sge_di, slt_di, sle_di_const,
sle_di_reg, sgtu_di, sgeu_di, sltu_di, sleu_di_const, sleu_di_reg,
indirect_jump_internal1, indirect_jump_internal2,
tablejump_internal1, tablejump_internal2): New patterns.
(mulsi3): Add missing mips_move_1word parameter.
(mulsi3+1): Don't split on r4000.
(divmodsi4, udivmodsi4, udivsi3, umodsi3): Correct lengths.
(divsi3, modsi3, udivsi3, umodsi3): Allow constant operands.
(sqrtdf2, sqrtsf2): Correct type attribute.
(abssi2): Add mips2 support.
(movsi_unaligned, movsi_ulw, movsi_usw): Comment out.
(movsf, movdf): Use F not E.
(cmpdf, cmpsf, branch_fp*, s{eq,ne,lt,le,gt,ge}_[ds]f): Depend on
TARGET_HARD_FLOAT.

From-SVN: r6393

30 years ago(enum cmp_type): Add 64 bit support.
Jim Wilson [Thu, 13 Jan 1994 23:51:54 +0000 (15:51 -0800)]
(enum cmp_type): Add 64 bit support.

(enum processor_type): Add PROCESSOR_R4600.
(MASK_64BIT, TARGET_64BIT): New mask bit, to indicate 64 bit mode.
(HAVE_64BIT_P, OPTIMIZATION_OPTIONS): Delete.
(CPP_SPEC): Don't abort if not defined.
(CC1_SPEC): -mips1 and -mips2 imply -mfp32. -mips3 implies -mfp64.
(CPP_SPEC): Define __SIZE_TYPE__, __PTRDIFF_TYPE__, and __mips.
(BITS_PER_WORD, UNITS_PER_WORD, INT_SIZE_TYPE, LONG_TYPE_SIZE,
LONG_LONG_TYPE_SIZE, POINTER_SIZE, POINTER_BOUNDARY,
PARM_BOUNDARY, EMPTY_FIELD_BOUNDARY, HARD_REGNO_NREGS,
CONST_OK_FOR_LETTER_P, STACK_ARGS_ADJUST, FUNCTION_PROFILER,
TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE, TRAMPOLINE_ALIGNMENT,
INITIALIZE_TRAMPOLINE, CASE_VECTOR_MODE, MOVE_MAX,
TRULY_NOOP_TRUNCATION, Pmode, FUNCTION_MODE,
ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT,
ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Add 64 bit support.
(MAX_BITS_PER_WORD, MAX_UNITS_PER_WORD, UNITS_PER_FPREG,
MAX_INT_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE, MAX_LONG_TYPE_SIZE,
MAX_MOVE_MAX): Define.
(INDEX_REG_CLASS): NO_REGS not GR_REGS.
(CONST_DOUBLE_OK_FOR_LETTER_P): Don't examine CONST_DOUBLE
internals.
(PREFERRED_RELOAD_CLASS): Return CLASS if it isn't ALL_REGS.
(TRANSFER_FROM_TRAMPOLINE, ASM_OUTPUT_CASE_LABEL): Delete.
(REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Redefine to 0.
(GO_IF_LEGITIMATE_ADDRESS): Delete redundant code0 == REG test.
(ENCODE_SECTION_INFO): Don't test mips_section_threshold.
(CONST_COSTS): CONST_INT have cost 0 not CONSTS_N_INSNS (0).  Pass
address not MEM to eliminate_constant_term.  Add 64 bit support.
(MEMORY_MOVE_COST, ASM_OUTPUT_DOUBLE_INT): Define.
(EXTRA_SECTIONS): Delete in_last_p1.
(SELECT_RTX_SECTION): Delete division by BITS_PER_UNIT.
(NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define.
(SIZE_TYPE, PTRDIFF_TYPE): Add 64 bit support.

From-SVN: r6392

30 years ago(dfhigh, dflow, sfhigh, sflow): New variables.
Jim Wilson [Thu, 13 Jan 1994 23:51:01 +0000 (15:51 -0800)]
(dfhigh, dflow, sfhigh, sflow): New variables.

(mips_sw_reg_names): Consistently use $ as name prefix.
(large_int): Handle 64 bit constants.
(reg_or_0_operand, mips_const_double_ok): Don't examine
CONST_DOUBLE internals.
(mips_const_double_ok): Use REAL_VALUE_* macros.
(simple_memory_operand): Add 64 bit support.  Only test
TARGET_GP_OPT to determine if doing gp optimizations.  Pass
address not MEM to eliminate_constant_term.  Use SMALL_INT.
(mips_fill_delay_slot): Add 64 bit support.
(mips_move_1word): Add 64 bit support.  Don't examine CONST_DOUBLE
internals.
(mips_move_2words): Likewise.
(mips_address_cost): Pass address not MEM to
eliminate_constant_term.  Use SMALL_INT.
(gen_int_relational): New variable mode.  Add 64 bit support.
(gen_conditional_branch): Add 64 bit support.
(block_move_load_store, block_move_loop, block_move_call,
expand_block_move, output_block_move, function_arg_advance,
function_arg, function_arg_partial_nregs): Likewise.
(override_options): Clear MASK_GPOPT if threshold is zero or
negative.  Set MASK_GPOPT if optimizing.  Set mips_isa from -misa=
option, else from MIPS_ISA_DEFAULT if defined, else to 1.  Make
default cpu depend on isa.  Add cpus r4400, r4600, orion.  Rewrite
TARGET_NAME_REGS support.  Initialize dfhigh, dflow, sfhigh,
sflow.  Add 64 bit support.
(print_operand): Use REAL_VALUE_* macros.
(mips_output_external): Don't depend on mips_section_threshold.
(make_temp_file): Define P_tmpdir when __MSDOS__.  Malloc filename
string.  Don't unlink temp file when __MSDOS__.
(mips_asm_file_start): Delete TARGET_NAME_REGS support.
(mips_asm_file_end): Unlike temp file when __MSDOS__.
(mips_declare_object): Don't test mips_sections_threshold.
(compute_frame_size, save_restore_insns, function_prologue,
mips_expand_prologue, function_epilogue, mips_expand_epilogue):
Add 64 bit support.
(function_epilogue): Correctly output `#' before .set volatile.

From-SVN: r6391

30 years ago(CPP_SPEC): Define __SIZE_TYPE__, __PTRDIFF_TYPE__, and __mips.
Jim Wilson [Thu, 13 Jan 1994 23:49:58 +0000 (15:49 -0800)]
(CPP_SPEC): Define __SIZE_TYPE__, __PTRDIFF_TYPE__, and __mips.

(CPP_SPEC): Define __SIZE_TYPE__, __PTRDIFF_TYPE__, and
__mips.
(SIZE_TYPE, PTRDIFF_TYPE): Delete.

From-SVN: r6390

30 years ago(maybe_attribute): Allow multiple __attribute__ clauses on a
Richard Kenner [Thu, 13 Jan 1994 11:14:08 +0000 (06:14 -0500)]
(maybe_attribute): Allow multiple __attribute__ clauses on a
declaration.

From-SVN: r6389

30 years ago(REG_CLASS_CONTENTS): Fix problems with last word of register set in
Richard Kenner [Thu, 13 Jan 1994 11:00:57 +0000 (06:00 -0500)]
(REG_CLASS_CONTENTS): Fix problems with last word of register set in
some classes.

(MEMORY_MOVE_COST): New macro.

From-SVN: r6388

30 years agoFix typo in -hiux* case.
Richard Kenner [Thu, 13 Jan 1994 10:42:24 +0000 (05:42 -0500)]
Fix typo in -hiux* case.

From-SVN: r6387

30 years agodbxout.c (dbxout_range_type): If the range has a base type (TREE_TYPE)...
Per Bothner [Wed, 12 Jan 1994 21:30:12 +0000 (13:30 -0800)]
dbxout.c (dbxout_range_type): If the range has a base type (TREE_TYPE)...

* dbxout.c (dbxout_range_type):  If the range has a base type
(TREE_TYPE), emit it, even if that is some other integer type.

From-SVN: r6386

30 years ago(sqrtsf2, sqrtdf2): Change POWERPCSQR to PPCFPX.
Richard Kenner [Wed, 12 Jan 1994 11:02:09 +0000 (06:02 -0500)]
(sqrtsf2, sqrtdf2): Change POWERPCSQR to PPCFPX.

(maxsf3, minsf3, maxdf3, mindf3): New patterns using fsel instruction.

From-SVN: r6385

30 years ago(MASK and TARGET): Change POWERPCSQR to PPCFPX to describe both fsqrt
Richard Kenner [Wed, 12 Jan 1994 11:00:25 +0000 (06:00 -0500)]
(MASK and TARGET): Change POWERPCSQR to PPCFPX to describe both fsqrt
and fsel.

From-SVN: r6384

30 years ago(rs6000_override_options): Change POWERPCSQR to PPCFPX.
Richard Kenner [Wed, 12 Jan 1994 10:59:49 +0000 (05:59 -0500)]
(rs6000_override_options): Change POWERPCSQR to PPCFPX.

From-SVN: r6383

30 years ago(output_prolog): Update debug reg map when we have -mkernel-registers.
Richard Kenner [Wed, 12 Jan 1994 00:18:43 +0000 (19:18 -0500)]
(output_prolog): Update debug reg map when we have -mkernel-registers.

From-SVN: r6382

30 years ago(fold, truth_andor): Don't apply distributive law when it would change evaluation...
Richard Kenner [Wed, 12 Jan 1994 00:14:18 +0000 (19:14 -0500)]
(fold, truth_andor): Don't apply distributive law when it would change evaluation order.

(fold, truth_andor): Don't apply distributive law when it would change
evaluation order.
Clean up code a bit to improve flow.

From-SVN: r6381

30 years agoRemove redundant prototype for gen_highpart.
Richard Kenner [Tue, 11 Jan 1994 00:37:14 +0000 (19:37 -0500)]
Remove redundant prototype for gen_highpart.

From-SVN: r6380

30 years ago(assign_parms): Call gen_realpart and gen_imagpart instead of
Richard Kenner [Tue, 11 Jan 1994 00:36:36 +0000 (19:36 -0500)]
(assign_parms): Call gen_realpart and gen_imagpart instead of
gen_lowpart and gen_highpart.

From-SVN: r6379

30 years ago(emit_move_insn_1): Call gen_realpart and gen_imagpart instead of
Richard Kenner [Tue, 11 Jan 1994 00:35:46 +0000 (19:35 -0500)]
(emit_move_insn_1): Call gen_realpart and gen_imagpart instead of
gen_lowpart and gen_highpart.

From-SVN: r6378

30 years ago(gen_{real,imag}part): Extract value from CONCAT directly.
Richard Kenner [Tue, 11 Jan 1994 00:32:57 +0000 (19:32 -0500)]
(gen_{real,imag}part): Extract value from CONCAT directly.

(gen_lowpart_common, gen_highpart): Don't do it here.

From-SVN: r6377

30 years ago(simplify_relational_operation): Don't do anything with CC0 in
Richard Kenner [Tue, 11 Jan 1994 00:31:01 +0000 (19:31 -0500)]
(simplify_relational_operation): Don't do anything with CC0 in
addition to MODE_CC values.

From-SVN: r6376

30 years ago(protect_from_queue): If (MEM (QUEUED ...)), modify a new MEM instead
Richard Kenner [Tue, 11 Jan 1994 00:23:47 +0000 (19:23 -0500)]
(protect_from_queue): If (MEM (QUEUED ...)), modify a new MEM instead
of the one we were passed.

From-SVN: r6375

30 years agoUpdate banner, reformat comments.
Richard Kenner [Tue, 11 Jan 1994 00:20:48 +0000 (19:20 -0500)]
Update banner, reformat comments.

(STARTFILE_SPEC, GPLUSPLUS_INCLUDE_DIR): No longer conditional
on CROSS_COMPILER.

From-SVN: r6374

30 years ago(gcc.o, cccp.o): No longer define TOOLDIR.
Richard Kenner [Tue, 11 Jan 1994 00:20:18 +0000 (19:20 -0500)]
(gcc.o, cccp.o): No longer define TOOLDIR.

From-SVN: r6373

30 years ago(make_decl_rtl): Call globalize_reg, not init_reg_sets_1.
Richard Kenner [Tue, 11 Jan 1994 00:17:08 +0000 (19:17 -0500)]
(make_decl_rtl): Call globalize_reg, not init_reg_sets_1.

From-SVN: r6372

30 years ago(globalize_reg): New function.
Richard Kenner [Tue, 11 Jan 1994 00:16:27 +0000 (19:16 -0500)]
(globalize_reg): New function.

(init_reg_sets_1): Don't handle global regs here.

From-SVN: r6371

30 years ago(comparison_dominates_p): NE is dominated by LT, GT, LTU and GTU.
Richard Kenner [Tue, 11 Jan 1994 00:13:48 +0000 (19:13 -0500)]
(comparison_dominates_p): NE is dominated by LT, GT, LTU and GTU.

From-SVN: r6370

30 years ago(print_operand, case 'F'): If we have to do the last prolog insn, give
Richard Kenner [Tue, 11 Jan 1994 00:10:11 +0000 (19:10 -0500)]
(print_operand, case 'F'): If we have to do the last prolog insn, give
that priority for an unfilled delay slot.

From-SVN: r6369

30 years ago(exand_expr, case RTL_EXPR): Call new function preserve_rtl_expr_result.
Richard Kenner [Tue, 11 Jan 1994 00:06:36 +0000 (19:06 -0500)]
(exand_expr, case RTL_EXPR): Call new function preserve_rtl_expr_result.

From-SVN: r6368

30 years ago(preserve_rtl_expr_result): New function.
Richard Kenner [Tue, 11 Jan 1994 00:05:31 +0000 (19:05 -0500)]
(preserve_rtl_expr_result): New function.

From-SVN: r6367

30 years ago(new_insn_dead_notes): Compare registers with rtx_equal_p.
Jim Wilson [Mon, 10 Jan 1994 22:30:44 +0000 (14:30 -0800)]
(new_insn_dead_notes): Compare registers with rtx_equal_p.

From-SVN: r6366

30 years ago(SHELL): Define to /bin/bash.
Jim Wilson [Mon, 10 Jan 1994 18:42:47 +0000 (10:42 -0800)]
(SHELL): Define to /bin/bash.

From-SVN: r6365

30 years ago(Makefile, stmp-fixinc, deduced.h, stmp-fixproto):
Jim Wilson [Mon, 10 Jan 1994 18:42:16 +0000 (10:42 -0800)]
(Makefile, stmp-fixinc, deduced.h, stmp-fixproto):

Execute shell scripts with $(SHELL).

From-SVN: r6364

30 years ago* pa.md (special indexed fpstores): Fix assorted typos.
Jeff Law [Mon, 10 Jan 1994 03:30:24 +0000 (20:30 -0700)]
* pa.md (special indexed fpstores): Fix assorted typos.

From-SVN: r6363

30 years ago(install-headers-cpio): Run cpio in include-dir.
James Van Artsdalen [Sun, 9 Jan 1994 10:36:32 +0000 (10:36 +0000)]
(install-headers-cpio): Run cpio in include-dir.

From-SVN: r6362

30 years ago(follow_jumps): Don't follow tablejumps.
James Van Artsdalen [Sun, 9 Jan 1994 10:35:48 +0000 (10:35 +0000)]
(follow_jumps): Don't follow tablejumps.

From-SVN: r6361

30 years ago(rest_of_compilation): jump_optimize can change max_reg_num so rerun reg_scan
Doug Evans [Sat, 8 Jan 1994 19:56:03 +0000 (19:56 +0000)]
(rest_of_compilation): jump_optimize can change max_reg_num so rerun reg_scan
before calling cse_main.

From-SVN: r6360

30 years ago(RTX_COSTS): Return actual costs for multiplication.
Torbjorn Granlund [Sat, 8 Jan 1994 01:33:38 +0000 (01:33 +0000)]
(RTX_COSTS):  Return actual costs for multiplication.

From-SVN: r6359

30 years ago(sdbout_symbol): Handle variables at zero offset from frame pointer.
Jim Wilson [Tue, 4 Jan 1994 18:43:51 +0000 (10:43 -0800)]
(sdbout_symbol): Handle variables at zero offset from frame pointer.

From-SVN: r6358

30 years ago(substitute_expr): Don't abort for RTL_EXPR and SAVE_EXPR; just do
Richard Kenner [Tue, 4 Jan 1994 12:34:51 +0000 (07:34 -0500)]
(substitute_expr): Don't abort for RTL_EXPR and SAVE_EXPR; just do
nothing.

From-SVN: r6357

30 years agopa.md (andsi3): Use "?" instead of "!" to avoid losing in some cases.
Jeff Law [Tue, 4 Jan 1994 05:53:11 +0000 (22:53 -0700)]
pa.md (andsi3): Use "?" instead of "!" to avoid losing in some cases.

        * pa.md (andsi3): Use "?" instead of "!" to avoid losing
        in some cases.

From-SVN: r6356

30 years ago(rest_of_compilation): Pass 1 for flag_before_jump first
Torbjorn Granlund [Mon, 3 Jan 1994 22:20:42 +0000 (22:20 +0000)]
(rest_of_compilation): Pass 1 for flag_before_jump first
time we call thread_jumps.

From-SVN: r6355

30 years ago(thread_jumps): Don't thread to loop label; create new label before loop instead.
Torbjorn Granlund [Mon, 3 Jan 1994 22:20:01 +0000 (22:20 +0000)]
(thread_jumps): Don't thread to loop label; create new label before loop instead.

(thread_jumps): Don't thread to loop label; create new label
before loop instead.
(thread_jumps): Rename argument `verbose' -> `flag_before_jump'.

From-SVN: r6354

30 years ago(build_binary_op, case *_DIV_EXPR): Use same shorten
Torbjorn Granlund [Mon, 3 Jan 1994 21:59:04 +0000 (21:59 +0000)]
(build_binary_op, case *_DIV_EXPR): Use same shorten
condition as for TRUNC_MOD_EXPR.

From-SVN: r6353

30 years ago(truth_value_p): New function.
Richard Kenner [Mon, 3 Jan 1994 12:59:59 +0000 (07:59 -0500)]
(truth_value_p): New function.

(fold): Use it to see when we should make a TRUTH_{AND,OR}_EXPR.
(fold, case TRUTH_{AND,OR,ANDIF,ORIF}_EXPR): Use distributive law on
expressions such as (A && B) || (A && C).

From-SVN: r6352

30 years ago(simplify_relational_operation): Correct declaration of variables
Richard Kenner [Sun, 2 Jan 1994 13:14:22 +0000 (08:14 -0500)]
(simplify_relational_operation): Correct declaration of variables
holding parts of constants.

From-SVN: r6351

30 years ago(main): Turn on -fomit-frame-pointer if it is safe.
Richard Kenner [Fri, 31 Dec 1993 11:56:39 +0000 (06:56 -0500)]
(main): Turn on -fomit-frame-pointer if it is safe.

Add -O3, which turns on -finline-functions.

From-SVN: r6350

30 years ago(CAN_DEBUG_WITHOUT_FP): Define.
Richard Kenner [Fri, 31 Dec 1993 11:55:57 +0000 (06:55 -0500)]
(CAN_DEBUG_WITHOUT_FP): Define.

(OPTIMIZATION_LEVELS): Just set MASK_GPOPT.

From-SVN: r6349

30 years agoDefine CAN_DEBUG_WITHOUT_FP; delete OPTIMIZATION_OPTIONS.
Richard Kenner [Fri, 31 Dec 1993 11:55:27 +0000 (06:55 -0500)]
Define CAN_DEBUG_WITHOUT_FP; delete OPTIMIZATION_OPTIONS.

From-SVN: r6348

30 years ago(OPTIMIZATION_OPTIONS): Just turn on machine-specific opts.
Richard Kenner [Fri, 31 Dec 1993 11:53:28 +0000 (06:53 -0500)]
(OPTIMIZATION_OPTIONS): Just turn on machine-specific opts.

(CAN_DEBUG_WITHOUT_FP): Define.

From-SVN: r6347

30 years agoDelete OPTIMIZATION_OPTIONS.
Richard Kenner [Fri, 31 Dec 1993 11:53:01 +0000 (06:53 -0500)]
Delete OPTIMIZATION_OPTIONS.

From-SVN: r6346

30 years agoDefine NO_FUNCTION_CSE and CAN_DEBUG_WITHOUT_FP; delete
Richard Kenner [Fri, 31 Dec 1993 11:52:33 +0000 (06:52 -0500)]
Define NO_FUNCTION_CSE and CAN_DEBUG_WITHOUT_FP; delete
OVERRIDE_OPTIONS.

From-SVN: r6345

30 years ago(simplify_relational_operation): Rewrite and simplify.
Richard Kenner [Fri, 31 Dec 1993 11:47:13 +0000 (06:47 -0500)]
(simplify_relational_operation): Rewrite and simplify.

Add case when we can simplify A-B for compare of A and B.

From-SVN: r6344