kenner [Sun, 23 Jan 1994 13:13:51 +0000 (13:13 +0000)]
(rest_of_compilation): Defer compilation of function that were
specified as inline, whether or not they actually were inlined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6413
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 23 Jan 1994 12:30:50 +0000 (12:30 +0000)]
Initial revision
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6412
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 23 Jan 1994 12:30:31 +0000 (12:30 +0000)]
(OBJECT_FORMAT_COFF, EXTENDED_COFF, NM_FLAGS): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6411
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 23 Jan 1994 12:00:29 +0000 (12:00 +0000)]
(simplify_comparison): Can remove NOT on both operands if we swap
comparison code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6410
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 23 Jan 1994 11:35:39 +0000 (11:35 +0000)]
Insert some missing blank lines.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6409
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 23 Jan 1994 11:22:46 +0000 (11:22 +0000)]
(output_{pro,epi}log): Use assemble_name to output
alpha_function_name.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6408
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 23 Jan 1994 11:18:50 +0000 (11:18 +0000)]
(simplify_comparison): Fix typo in last change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6407
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 23 Jan 1994 10:59:15 +0000 (10:59 +0000)]
(really_start_incremental_init): Save current elements instead of
clearing them.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6406
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 22 Jan 1994 22:18:10 +0000 (22:18 +0000)]
(c_expand_return): Issue a warning if returning address of non-static
local object.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6405
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 22 Jan 1994 21:50:41 +0000 (21:50 +0000)]
(if_then_else_cond): Don't do anything with COMPARE.
(simplify_comparison): Strip SIGN_EXTEND, NOT, or NEG when both operands
have it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6404
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 22 Jan 1994 20:50:06 +0000 (20:50 +0000)]
(num_sign_bit_copies): Ifndef WORD_REGISTER_OPERATIONS, ensure we
don't do the wrong thing if X is narrower than MODE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6403
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 20 Jan 1994 06:08:37 +0000 (06:08 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6402
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 20 Jan 1994 06:05:32 +0000 (06:05 +0000)]
* pa.md (iorscc): Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6401
138bc75d-0d04-0410-961f-
82ee72b054a4
tege [Thu, 20 Jan 1994 00:34:47 +0000 (00:34 +0000)]
(ASM_GLOBALIZE_LABEL): Don't globalize function labels here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6400
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Mon, 17 Jan 1994 21:37:52 +0000 (21:37 +0000)]
(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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6399
138bc75d-0d04-0410-961f-
82ee72b054a4
rms [Sun, 16 Jan 1994 19:31:08 +0000 (19:31 +0000)]
Delete duplicate clauses for hp9k2... and hp9k31...
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6398
138bc75d-0d04-0410-961f-
82ee72b054a4
rms [Sun, 16 Jan 1994 19:30:01 +0000 (19:30 +0000)]
Alphabetize the list of machine-name aliases.
Add nh3000 and nh[45]000.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6397
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Sat, 15 Jan 1994 23:44:42 +0000 (23:44 +0000)]
(smulsi3_highpart): New pattern.
(umulsi3_highpart): New pattern.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6396
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Sat, 15 Jan 1994 23:06:17 +0000 (23:06 +0000)]
(smulsi3_highpart): New pattern.
(umulsi3_highpart): New pattern.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6395
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Thu, 13 Jan 1994 23:54:09 +0000 (23:54 +0000)]
Add 64 bit support.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6394
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Thu, 13 Jan 1994 23:52:43 +0000 (23:52 +0000)]
(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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6393
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Thu, 13 Jan 1994 23:51:54 +0000 (23:51 +0000)]
(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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6392
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Thu, 13 Jan 1994 23:51:01 +0000 (23:51 +0000)]
(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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6391
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Thu, 13 Jan 1994 23:49:58 +0000 (23:49 +0000)]
(CPP_SPEC): Define __SIZE_TYPE__, __PTRDIFF_TYPE__, and
__mips.
(SIZE_TYPE, PTRDIFF_TYPE): Delete.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6390
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 13 Jan 1994 11:14:08 +0000 (11:14 +0000)]
(maybe_attribute): Allow multiple __attribute__ clauses on a
declaration.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6389
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 13 Jan 1994 11:00:57 +0000 (11:00 +0000)]
(REG_CLASS_CONTENTS): Fix problems with last word of register set in
some classes.
(MEMORY_MOVE_COST): New macro.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6388
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 13 Jan 1994 10:42:24 +0000 (10:42 +0000)]
Fix typo in -hiux* case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6387
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Wed, 12 Jan 1994 21:30:12 +0000 (21:30 +0000)]
* dbxout.c (dbxout_range_type): If the range has a base type
(TREE_TYPE), emit it, even if that is some other integer type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6386
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 12 Jan 1994 11:02:09 +0000 (11:02 +0000)]
(sqrtsf2, sqrtdf2): Change POWERPCSQR to PPCFPX.
(maxsf3, minsf3, maxdf3, mindf3): New patterns using fsel instruction.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6385
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 12 Jan 1994 11:00:25 +0000 (11:00 +0000)]
(MASK and TARGET): Change POWERPCSQR to PPCFPX to describe both fsqrt
and fsel.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6384
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 12 Jan 1994 10:59:49 +0000 (10:59 +0000)]
(rs6000_override_options): Change POWERPCSQR to PPCFPX.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6383
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 12 Jan 1994 00:18:43 +0000 (00:18 +0000)]
(output_prolog): Update debug reg map when we have -mkernel-registers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6382
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 12 Jan 1994 00:14:18 +0000 (00:14 +0000)]
(fold, truth_andor): Don't apply distributive law when it would change
evaluation order.
Clean up code a bit to improve flow.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6381
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 11 Jan 1994 00:37:14 +0000 (00:37 +0000)]
Remove redundant prototype for gen_highpart.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6380
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 11 Jan 1994 00:36:36 +0000 (00:36 +0000)]
(assign_parms): Call gen_realpart and gen_imagpart instead of
gen_lowpart and gen_highpart.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6379
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 11 Jan 1994 00:35:46 +0000 (00:35 +0000)]
(emit_move_insn_1): Call gen_realpart and gen_imagpart instead of
gen_lowpart and gen_highpart.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6378
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 11 Jan 1994 00:32:57 +0000 (00:32 +0000)]
(gen_{real,imag}part): Extract value from CONCAT directly.
(gen_lowpart_common, gen_highpart): Don't do it here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6377
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 11 Jan 1994 00:31:01 +0000 (00:31 +0000)]
(simplify_relational_operation): Don't do anything with CC0 in
addition to MODE_CC values.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6376
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 11 Jan 1994 00:23:47 +0000 (00:23 +0000)]
(protect_from_queue): If (MEM (QUEUED ...)), modify a new MEM instead
of the one we were passed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6375
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 11 Jan 1994 00:20:48 +0000 (00:20 +0000)]
Update banner, reformat comments.
(STARTFILE_SPEC, GPLUSPLUS_INCLUDE_DIR): No longer conditional
on CROSS_COMPILER.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6374
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 11 Jan 1994 00:20:18 +0000 (00:20 +0000)]
(gcc.o, cccp.o): No longer define TOOLDIR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6373
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 11 Jan 1994 00:17:08 +0000 (00:17 +0000)]
(make_decl_rtl): Call globalize_reg, not init_reg_sets_1.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6372
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 11 Jan 1994 00:16:27 +0000 (00:16 +0000)]
(globalize_reg): New function.
(init_reg_sets_1): Don't handle global regs here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6371
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 11 Jan 1994 00:13:48 +0000 (00:13 +0000)]
(comparison_dominates_p): NE is dominated by LT, GT, LTU and GTU.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6370
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 11 Jan 1994 00:10:11 +0000 (00:10 +0000)]
(print_operand, case 'F'): If we have to do the last prolog insn, give
that priority for an unfilled delay slot.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6369
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 11 Jan 1994 00:06:36 +0000 (00:06 +0000)]
(exand_expr, case RTL_EXPR): Call new function preserve_rtl_expr_result.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6368
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 11 Jan 1994 00:05:31 +0000 (00:05 +0000)]
(preserve_rtl_expr_result): New function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6367
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Mon, 10 Jan 1994 22:30:44 +0000 (22:30 +0000)]
(new_insn_dead_notes): Compare registers with rtx_equal_p.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6366
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Mon, 10 Jan 1994 18:42:47 +0000 (18:42 +0000)]
(SHELL): Define to /bin/bash.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6365
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Mon, 10 Jan 1994 18:42:16 +0000 (18:42 +0000)]
(Makefile, stmp-fixinc, deduced.h, stmp-fixproto):
Execute shell scripts with $(SHELL).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6364
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 10 Jan 1994 03:30:24 +0000 (03:30 +0000)]
* pa.md (special indexed fpstores): Fix assorted typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6363
138bc75d-0d04-0410-961f-
82ee72b054a4
jrv [Sun, 9 Jan 1994 10:36:32 +0000 (10:36 +0000)]
(install-headers-cpio): Run cpio in include-dir.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6362
138bc75d-0d04-0410-961f-
82ee72b054a4
jrv [Sun, 9 Jan 1994 10:35:48 +0000 (10:35 +0000)]
(follow_jumps): Don't follow tablejumps.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6361
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6360
138bc75d-0d04-0410-961f-
82ee72b054a4
tege [Sat, 8 Jan 1994 01:33:38 +0000 (01:33 +0000)]
(RTX_COSTS): Return actual costs for multiplication.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6359
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 4 Jan 1994 18:43:51 +0000 (18:43 +0000)]
(sdbout_symbol): Handle variables at zero offset from frame pointer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6358
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 4 Jan 1994 12:34:51 +0000 (12:34 +0000)]
(substitute_expr): Don't abort for RTL_EXPR and SAVE_EXPR; just do
nothing.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6357
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 4 Jan 1994 05:53:11 +0000 (05:53 +0000)]
* pa.md (andsi3): Use "?" instead of "!" to avoid losing
in some cases.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6356
138bc75d-0d04-0410-961f-
82ee72b054a4
tege [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6355
138bc75d-0d04-0410-961f-
82ee72b054a4
tege [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): Rename argument `verbose' -> `flag_before_jump'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6354
138bc75d-0d04-0410-961f-
82ee72b054a4
tege [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6353
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 3 Jan 1994 12:59:59 +0000 (12:59 +0000)]
(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).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6352
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 2 Jan 1994 13:14:22 +0000 (13:14 +0000)]
(simplify_relational_operation): Correct declaration of variables
holding parts of constants.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6351
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 31 Dec 1993 11:56:39 +0000 (11:56 +0000)]
(main): Turn on -fomit-frame-pointer if it is safe.
Add -O3, which turns on -finline-functions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6350
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 31 Dec 1993 11:55:57 +0000 (11:55 +0000)]
(CAN_DEBUG_WITHOUT_FP): Define.
(OPTIMIZATION_LEVELS): Just set MASK_GPOPT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6349
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 31 Dec 1993 11:55:27 +0000 (11:55 +0000)]
Define CAN_DEBUG_WITHOUT_FP; delete OPTIMIZATION_OPTIONS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6348
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 31 Dec 1993 11:53:28 +0000 (11:53 +0000)]
(OPTIMIZATION_OPTIONS): Just turn on machine-specific opts.
(CAN_DEBUG_WITHOUT_FP): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6347
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 31 Dec 1993 11:53:01 +0000 (11:53 +0000)]
Delete OPTIMIZATION_OPTIONS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6346
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 31 Dec 1993 11:52:33 +0000 (11:52 +0000)]
Define NO_FUNCTION_CSE and CAN_DEBUG_WITHOUT_FP; delete
OVERRIDE_OPTIONS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6345
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 31 Dec 1993 11:47:13 +0000 (11:47 +0000)]
(simplify_relational_operation): Rewrite and simplify.
Add case when we can simplify A-B for compare of A and B.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6344
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 31 Dec 1993 11:44:59 +0000 (11:44 +0000)]
(added_links_insn): New variable.
(distribute_links): Set it.
(if_then_else_cond): New function.
(try_combine): Return added_links_insn if it is earlier than what we would
otherwise return.
(subst): Generalize (OP X Y) to call if_then_else_cond instead of only
checking for an explicit IF_THEN_ELSE.
(subst, case IF_THEN_ELSE): When converting to a MULT, simplify the MULT
before putting it into OP.
(subst, case AND): Don't make IF_THEN_ELSE here; now made in generic case
earlier.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6343
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 31 Dec 1993 11:27:31 +0000 (11:27 +0000)]
(force_to_mode): Add new parm JUST_SELECT; all callers changed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6342
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 29 Dec 1993 23:04:48 +0000 (23:04 +0000)]
(fold, case PLUS_EXPR): Add a missing test of flag_fast_math.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6341
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 29 Dec 1993 11:51:45 +0000 (11:51 +0000)]
(simplify_binary_operation, case MULT): Don't convert to ASHIFT if
still generating RTL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6340
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Tue, 28 Dec 1993 03:15:25 +0000 (03:15 +0000)]
Do not fix <syndev/ipi_error.h> to avoid problems with SunOS sed
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6339
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 27 Dec 1993 17:02:09 +0000 (17:02 +0000)]
(maxsf3, minsf3): Correct numerous errors.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6338
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 27 Dec 1993 13:50:11 +0000 (13:50 +0000)]
(get_condition): Can reverse comparison if -ffast-math.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6337
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 27 Dec 1993 13:49:28 +0000 (13:49 +0000)]
(can_reverse_comparison_p): Return 1 if -ffast-math.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6336
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 27 Dec 1993 13:48:58 +0000 (13:48 +0000)]
(fold): Simplify more FP ops if -ffast-math.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6335
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 27 Dec 1993 13:48:17 +0000 (13:48 +0000)]
(simplify_binary_operation, fold_rtx): Allow some FP simplications
with -ffast-math.
(simplify_relational_operation): FP comparisons can be reversed
if -ffast-math is specified.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6334
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 27 Dec 1993 13:47:14 +0000 (13:47 +0000)]
(subst, case MINUS): Allow some FP simplifications if -ffast-math.
(reversible_comparison_p): FP comparisons reversible with -ffast-math.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6333
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 27 Dec 1993 11:28:38 +0000 (11:28 +0000)]
(iordi3): Use ornot for some constant cases.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6332
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 27 Dec 1993 11:28:14 +0000 (11:28 +0000)]
(PREDICATE_CODES): Add ior_operand.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6331
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 27 Dec 1993 11:27:52 +0000 (11:27 +0000)]
(ior_operand): New function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6330
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 26 Dec 1993 23:12:37 +0000 (23:12 +0000)]
(do_tablejump): Call emit_cmp_insn with likely-constant as second
operand.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6329
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 26 Dec 1993 13:37:13 +0000 (13:37 +0000)]
(jump_optimize): When deleting an insn after a jump, update
reallabelprev since it might point to the deleted insn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6328
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 26 Dec 1993 13:30:32 +0000 (13:30 +0000)]
(count_reg_usage): Don't count a register used within a SET that sets it.
(delete_dead_from_cse): Pass new parm to count_reg_usage.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6327
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 26 Dec 1993 12:55:11 +0000 (12:55 +0000)]
(fold_rtx, case PLUS): If we have (plus A B), A is equivalent to a
negative constant, and the negated constant is in register, convert to
(minus A C) where C is the register containing the negated constant.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6326
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 26 Dec 1993 04:46:37 +0000 (04:46 +0000)]
* pa.h (DBX_BLOCKS_FUNCTION_RELATIVE): Define.
(ASM_OUTPUT_SOURCE_LINE): Likewise.
(DBX_FUNCTION_FIRST): Likewise.
* pa.h (FRAME_POINTER_REGNUM, ARG_POINTER_REGNUM): Change to %r3
for compatability with HP compilers.
* pa.h (READONLY_DATA_SECTION): Re-enable use of $LIT$.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6325
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 25 Dec 1993 23:00:14 +0000 (23:00 +0000)]
(gen_reg_rtx): Only clear part of arrays we aren't going to copy into.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6324
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 25 Dec 1993 22:51:12 +0000 (22:51 +0000)]
(expand_expr, case CONSTRUCTOR): If have a target, don't build
constructor into memory.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6323
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 25 Dec 1993 18:35:27 +0000 (18:35 +0000)]
(expand_expr, case ARRAY_REF): Remove uses of *_type_node and simplify
folding a reference to a character in a STRING_CST.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6322
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 25 Dec 1993 18:11:53 +0000 (18:11 +0000)]
Rename R_ACC to R_ACU to not conflict with access.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6321
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 25 Dec 1993 18:05:05 +0000 (18:05 +0000)]
(USG): Delete from here (already in xm.h file).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6320
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 25 Dec 1993 18:04:48 +0000 (18:04 +0000)]
(HAVE_VPRINTF): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6319
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 25 Dec 1993 18:04:35 +0000 (18:04 +0000)]
(HAVE_VPRINTF): Delete from here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6318
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 25 Dec 1993 17:47:01 +0000 (17:47 +0000)]
(print_node, print_node_brief): Say something when
TREE_CONSTANT_OVERFLOW is set.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6317
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 25 Dec 1993 17:37:10 +0000 (17:37 +0000)]
(check_dbra_loop): Fix error in previous change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6316
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 25 Dec 1993 14:28:45 +0000 (14:28 +0000)]
(set_nonzero_bits_and_sign_copies, nonzero_bits): Fix errors in
SHORT_IMMEDIATES_SIGN_EXTEND code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6315
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 25 Dec 1993 14:02:34 +0000 (14:02 +0000)]
(FUNCTION_ARG): Pass complex float in float regs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6314
138bc75d-0d04-0410-961f-
82ee72b054a4