Jim Wilson [Wed, 16 Feb 1994 20:39:39 +0000 (12:39 -0800)]
(expand_units): Fix blockage calculation.
From-SVN: r6575
Jim Wilson [Wed, 16 Feb 1994 20:33:00 +0000 (12:33 -0800)]
(scan_loop): Add no_labels_between_p call to tests which decide if...
(scan_loop): Add no_labels_between_p call to tests which
decide if an invariant reg can be safely replaced with its SET_SRC.
From-SVN: r6574
Ian Lance Taylor [Wed, 16 Feb 1994 05:55:34 +0000 (05:55 +0000)]
Fix uses of new in Xm/Traversal.h.
From-SVN: r6573
Per Bothner [Wed, 16 Feb 1994 03:57:04 +0000 (19:57 -0800)]
Remove unneeded test for STRING_TYPE.
From-SVN: r6572
Per Bothner [Wed, 16 Feb 1994 03:52:30 +0000 (19:52 -0800)]
New macro TYPE_STRING_FLAG.
From-SVN: r6571
Per Bothner [Wed, 16 Feb 1994 03:52:30 +0000 (19:52 -0800)]
Use new flag TYPE_STRING_FLAG instead of STRING_TYPE.
From-SVN: r6570
Per Bothner [Wed, 16 Feb 1994 03:52:30 +0000 (19:52 -0800)]
Removed un-used STRING_TYPE.
From-SVN: r6569
Richard Kenner [Wed, 16 Feb 1994 00:36:35 +0000 (19:36 -0500)]
(real_value_truncate): If requested mode is not supported, return the
unmodified input instead of aborting.
From-SVN: r6568
Richard Kenner [Wed, 16 Feb 1994 00:30:29 +0000 (19:30 -0500)]
(expand_increment): Handle both BAD_SUBREG and POST.
From-SVN: r6567
Ian Lance Taylor [Tue, 15 Feb 1994 23:28:03 +0000 (23:28 +0000)]
Make byteorder.h a here document, rather than copying it from the
source directory.
From-SVN: r6566
Ian Lance Taylor [Tue, 15 Feb 1994 23:23:23 +0000 (23:23 +0000)]
Don't install <sys/byteorder.h>.
From-SVN: r6565
Ian Lance Taylor [Tue, 15 Feb 1994 22:04:22 +0000 (22:04 +0000)]
fixincludes no longer depends on cpp.
fixincludes no longer depends on cpp. Remove fixinc.ready, don't pass
xgcc to fixincludes
From-SVN: r6564
Ian Lance Taylor [Tue, 15 Feb 1994 22:03:40 +0000 (22:03 +0000)]
Use __SIZE_TYPE__ for size_t type, rather than running gcc to get it.
From-SVN: r6563
Ian Lance Taylor [Tue, 15 Feb 1994 16:11:51 +0000 (16:11 +0000)]
(output_prolog): Use RS6000_ITRUNC and RS6000_UITRUNC, not "itrunc" and
"uitrunc".
From-SVN: r6562
Ian Lance Taylor [Tue, 15 Feb 1994 16:10:58 +0000 (16:10 +0000)]
(fix_truncdfsi2, fixuns_truncdfsi2): Use RS6000_ITRUNC and RS6000_UITRUNC,
not "itrunc" and "uitrunc".
From-SVN: r6561
Ian Lance Taylor [Tue, 15 Feb 1994 16:10:25 +0000 (16:10 +0000)]
Define RS6000_ITRUNC and RS6000_UITRUNC
From-SVN: r6560
Stan Cox [Tue, 15 Feb 1994 15:13:26 +0000 (15:13 +0000)]
(TM_RCS_ID) Removed ANSI C dependency.
From-SVN: r6559
Richard Kenner [Tue, 15 Feb 1994 00:21:28 +0000 (19:21 -0500)]
(lang_options): Add -W{no,}extern-inline.
From-SVN: r6558
Richard Kenner [Tue, 15 Feb 1994 00:19:02 +0000 (19:19 -0500)]
(main): Move unused arg ++i out of call to printf.
From-SVN: r6557
Richard Kenner [Tue, 15 Feb 1994 00:18:27 +0000 (19:18 -0500)]
(main): Remove unused args in call to fprintf.
From-SVN: r6556
Richard Kenner [Tue, 15 Feb 1994 00:16:58 +0000 (19:16 -0500)]
(optimize_reg_copy): A register that dies in a CALL_INSN doesn't cross
that call.
From-SVN: r6555
Richard Kenner [Tue, 15 Feb 1994 00:14:45 +0000 (19:14 -0500)]
(eifrac): If FIXUNS_TRUNC_LIKE_FIX_TRUNC, convert on positive overflow
as if unsigned.
From-SVN: r6554
Richard Kenner [Tue, 15 Feb 1994 00:13:05 +0000 (19:13 -0500)]
(default_compilers): Generate and use .ii files in the intermediate
stage of compiling C++ source.
From-SVN: r6553
Richard Kenner [Tue, 15 Feb 1994 00:08:15 +0000 (19:08 -0500)]
(simplify_shift_const, case AND): When remaking binary operation, do
it in SHIFT_MODE.
From-SVN: r6552
Ian Lance Taylor [Mon, 14 Feb 1994 04:50:40 +0000 (04:50 +0000)]
(output_epilog): Don't output a traceback table if
flag_inhibit_size_directive is set.
From-SVN: r6551
Richard Kenner [Sun, 13 Feb 1994 22:47:06 +0000 (17:47 -0500)]
(ADJUST_COST): Call rs6000_adjust_cost.
From-SVN: r6550
Richard Kenner [Sun, 13 Feb 1994 22:46:39 +0000 (17:46 -0500)]
(rs6000_adjust_cost): Renamed from ppc_adjust_cost.
From-SVN: r6549
Ian Lance Taylor [Sun, 13 Feb 1994 22:25:55 +0000 (22:25 +0000)]
Use ASM_GENERATE_INTERNAL_LABEL rather than assuming what it does
From-SVN: r6548
Ian Lance Taylor [Sun, 13 Feb 1994 22:08:06 +0000 (22:08 +0000)]
Clean up some X11 header files for C++; problems found on RS/6000.
From-SVN: r6547
Michael Meissner [Sun, 13 Feb 1994 18:40:02 +0000 (18:40 +0000)]
Include stdio.h to get STDIO_PROTO correct.
From-SVN: r6546
Doug Evans [Sun, 13 Feb 1994 07:34:55 +0000 (07:34 +0000)]
(fatal, error): Fix declarations (make dependant on HAVE_VPRINTF).
From-SVN: r6545
Michael Meissner [Sun, 13 Feb 1994 00:48:58 +0000 (00:48 +0000)]
Use i386/xm-osf.h as OSF/1 xm file.
From-SVN: r6544
Richard Kenner [Sat, 12 Feb 1994 17:29:24 +0000 (12:29 -0500)]
(expand_call): When preserving subexpressions, don't put expensive
arguments directly into hard registers.
From-SVN: r6543
Doug Evans [Sat, 12 Feb 1994 16:34:43 +0000 (16:34 +0000)]
(PROTO): Define.
Add prototypes for static functions.
From-SVN: r6542
Richard Kenner [Sat, 12 Feb 1994 13:50:50 +0000 (08:50 -0500)]
(REVERSIBLE_CC_MODE): Define.
From-SVN: r6541
Richard Kenner [Sat, 12 Feb 1994 13:49:59 +0000 (08:49 -0500)]
(REVERSIBLE_CC_MODE): Add default definition.
(reversible_comparison_p): REVERSIBLE_CC_MODE.
(subst): Always simplify true and false arms if if_then_else_cond succeeds.
(subst, case IF_THEN_ELSE): More canonicalizations; delete some redundant
tests.
(if_then_else_cond): Canonicalize (OP (mult COMP A) (mult REV_COMP B)).
(gen_binary): Simplify (REL_OP (compare X Y) 0) here.
From-SVN: r6540
Torbjorn Granlund [Sat, 12 Feb 1994 13:48:02 +0000 (13:48 +0000)]
Conditionalize special treatment of
PIC_OFFSET_TABLE_REGNUM on PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
From-SVN: r6539
Torbjorn Granlund [Sat, 12 Feb 1994 12:40:58 +0000 (12:40 +0000)]
(expand_shift): Truncate immediate count if SHIFT_COUNT_TRUNCATED.
From-SVN: r6538
Per Bothner [Sat, 12 Feb 1994 02:52:08 +0000 (18:52 -0800)]
Don't treat anonymous fields as belonging to the containing object.
From-SVN: r6537
Torbjorn Granlund [Sat, 12 Feb 1994 01:07:26 +0000 (01:07 +0000)]
(ADJUST_COST): Call ppc_adjust_cost.
From-SVN: r6536
Torbjorn Granlund [Sat, 12 Feb 1994 01:07:04 +0000 (01:07 +0000)]
(ppc_adjust_cost): New function. Adjust for TYPE_JMPREG.
From-SVN: r6535
Torbjorn Granlund [Sat, 12 Feb 1994 01:06:14 +0000 (01:06 +0000)]
(definition of "type"): Add "jmpreg" as new type.
Change "mtlr" to "mtjmpr".
(movsi matcher): Pair `c' and `l' in the same constraint alternative.
(return): Set attribute to "jmpreg".
(indirect_jump): Likewise.
From-SVN: r6534
Richard Kenner [Sat, 12 Feb 1994 01:00:44 +0000 (20:00 -0500)]
(mark_jump_label, case LABEL_REF): Update REG_LABEL note if changing
target of jump.
From-SVN: r6533
Doug Evans [Sat, 12 Feb 1994 00:51:50 +0000 (00:51 +0000)]
(VPROTO, VA_START): Define.
From-SVN: r6532
Doug Evans [Sat, 12 Feb 1994 00:50:27 +0000 (00:50 +0000)]
Surround definition of VPROTO, VA_START with #ifndef VPROTO.
From-SVN: r6531
Richard Kenner [Fri, 11 Feb 1994 22:39:23 +0000 (17:39 -0500)]
(gen_input_reload): If reg-reg add is not valid, try copying reg-reg
and adding reg-int.
From-SVN: r6530
Richard Kenner [Fri, 11 Feb 1994 22:35:51 +0000 (17:35 -0500)]
(expand_builtin): If the builtin was called as __builtin_whatever,
pretend we're optimizing.
From-SVN: r6529
Richard Kenner [Fri, 11 Feb 1994 22:30:20 +0000 (17:30 -0500)]
(record_reg_classes): Fix logic in case of matching operands.
From-SVN: r6528
Doug Evans [Fri, 11 Feb 1994 21:03:09 +0000 (21:03 +0000)]
Don't define _STDARG_H/etc. if not gcc, it may collide with system's header.
From-SVN: r6527
Richard Kenner [Fri, 11 Feb 1994 00:26:21 +0000 (19:26 -0500)]
(c_expand_return): Do not warn about returning the address of a
locally declared extern variable.
From-SVN: r6526
Jeff Law [Thu, 10 Feb 1994 20:58:23 +0000 (13:58 -0700)]
* pa.h (IS_ASM_LOGICAL_LINE_SEPARATOR): Define.
From-SVN: r6525
Jeff Law [Thu, 10 Feb 1994 20:58:13 +0000 (13:58 -0700)]
final.c (IS_ASM_LOGICAL_LINE_SEPARATOR): Provide default definition.
* final.c (IS_ASM_LOGICAL_LINE_SEPARATOR): Provide default
definition.
(asm_insn_count): Use IS_ASM_LOGICAL_LINE_SEPARATOR rather
than assuming the logical line separator is ';'.
From-SVN: r6524
Richard Kenner [Thu, 10 Feb 1994 14:05:04 +0000 (09:05 -0500)]
(emit_reload_insns): Use new vars for secondary reloads and icodes.
From-SVN: r6523
Richard Kenner [Thu, 10 Feb 1994 14:04:07 +0000 (09:04 -0500)]
(reload_secondary_{reload,icode}): Deleted.
(reload_secondary_{in,out}_{reload,icode}): New variables.
(MATCHES, MERGABLE_RELOADS, MERGE_TO_OTHER): Move to front of file.
(push_secondary_reload): New function, from find_secondary_reload.
(find_secondary_relaod): Deleted.
(push_reload): Call push_secondary_reload.
(combine_reloads): Use new vars for secondary reloads and icodes.
From-SVN: r6522
Richard Kenner [Thu, 10 Feb 1994 14:03:01 +0000 (09:03 -0500)]
(reload_secondary_{reload,icode}): Deleted.
(reload_secondary_{in,out}_{reload,icode}): New variables.
From-SVN: r6521
Richard Kenner [Thu, 10 Feb 1994 13:49:33 +0000 (08:49 -0500)]
(memory_address): Fix error in last change.
From-SVN: r6520
Richard Kenner [Thu, 10 Feb 1994 13:13:41 +0000 (08:13 -0500)]
Use PROTO for varargs functions.
(VPROTO): New macro.
From-SVN: r6519
Richard Kenner [Thu, 10 Feb 1994 13:12:29 +0000 (08:12 -0500)]
If __STDC__, include gstdarg and use ANSI form of varargs.
From-SVN: r6518
Richard Kenner [Thu, 10 Feb 1994 13:11:46 +0000 (08:11 -0500)]
Use PROTO for varargs functions.
If __STDC__, include gstdarg and use ANSI form of varargs.
From-SVN: r6517
Richard Kenner [Thu, 10 Feb 1994 13:10:06 +0000 (08:10 -0500)]
Use PROTO for varargs functions.
From-SVN: r6516
Richard Kenner [Thu, 10 Feb 1994 13:08:17 +0000 (08:08 -0500)]
If __STDC__, include gstdarg and use ANSI form of varargs.
(attr_printf): Only declare when defined.
From-SVN: r6515
Richard Kenner [Thu, 10 Feb 1994 13:07:10 +0000 (08:07 -0500)]
If __STDC__, include gstdarg and use ANSI form of varargs.
From-SVN: r6514
Richard Kenner [Thu, 10 Feb 1994 13:04:38 +0000 (08:04 -0500)]
Use PROTO for varargs functions.
From-SVN: r6513
Michael Meissner [Wed, 9 Feb 1994 14:52:46 +0000 (14:52 +0000)]
Make elf profiling use new calling sequence.
From-SVN: r6512
Richard Kenner [Wed, 9 Feb 1994 01:17:59 +0000 (20:17 -0500)]
(earith, ereal_negate, eneg, eisneg, enan, emovo, esub, eadd, ediv):
Propagate the sign of NaNs, so that e.g. -(NaN) evaluates to -NaN.
(emul, eremain, e53toe, e64toe, e113toe, e24toe, esqrt): Likewise.
(make_nan): New arg specifies sign of NaN. All callers changed.
(eiisneg): New function.
(esqrt): Compute sqrt(-0.0) to be -0.0, not 0.0.
From-SVN: r6511
Richard Kenner [Wed, 9 Feb 1994 00:30:01 +0000 (19:30 -0500)]
Add popen and pclose to required list for stdio.h.
Add putenv to required list for stdlib.h.
Add getopt to required list for unistd.h.
From-SVN: r6510
Richard Kenner [Wed, 9 Feb 1994 00:26:27 +0000 (19:26 -0500)]
Include ctype.h.
From-SVN: r6509
Richard Kenner [Wed, 9 Feb 1994 00:23:30 +0000 (19:23 -0500)]
(int_fits_type_p): Properly handle case of variable bounds for types.
From-SVN: r6508
Richard Kenner [Wed, 9 Feb 1994 00:21:44 +0000 (19:21 -0500)]
Append "#include <stdlib.h>" to assert.h if it uses exit or abort.
From-SVN: r6507
Richard Kenner [Wed, 9 Feb 1994 00:19:53 +0000 (19:19 -0500)]
(__builtin_new): If __new_handler returns, keep trying to allocate the memory.
(__default_new_handler): Add __ to beginning of name to avoid namespace
clashing.
From-SVN: r6506
Jim Wilson [Wed, 9 Feb 1994 00:10:31 +0000 (16:10 -0800)]
When edit size_t typedef, modify sed pattern to avoid matching typedef uses of size_t.
When edit size_t typedef, modify sed pattern to
avoid matching typedef uses of size_t. Likewise when adding
#ifndef GCC_SIZE_T.
From-SVN: r6505
Jim Wilson [Wed, 9 Feb 1994 00:07:04 +0000 (16:07 -0800)]
(FIXINCLUDES): Delete definition.
From-SVN: r6504
Jim Wilson [Wed, 9 Feb 1994 00:01:48 +0000 (16:01 -0800)]
(ASM_OUTPUT_LOCAL, ASM_OUTPUT_COMMON): Use SIZE not ROUNDED.
From-SVN: r6503
Jim Wilson [Tue, 8 Feb 1994 23:59:23 +0000 (15:59 -0800)]
(SIZE_TYPE, PTRDIFF_TYPE): Don't redefine.
(MAX_WCHAR_TYPE_SIZE): Define.
From-SVN: r6502
Jim Wilson [Tue, 8 Feb 1994 23:54:59 +0000 (15:54 -0800)]
(print_file_desc): Correct printf format.
(main): Likewise.
From-SVN: r6501
Jim Wilson [Tue, 8 Feb 1994 23:52:46 +0000 (15:52 -0800)]
(find_basic_blocks): Also look for REG_LABEL notes on first
instruction of each basic block.
From-SVN: r6500
Jim Wilson [Tue, 8 Feb 1994 23:49:22 +0000 (15:49 -0800)]
(save_regs, restore_regs): Use __inline__ not inline.
From-SVN: r6499
Doug Evans [Tue, 8 Feb 1994 15:13:41 +0000 (15:13 +0000)]
(open_dump_file): New function.
(compile_file): Open dump files with it. Remove dump_base_name_length.
From-SVN: r6498
Richard Kenner [Mon, 7 Feb 1994 01:01:09 +0000 (20:01 -0500)]
(memory_address): Call update_temp_slot_address on new and old
address.
From-SVN: r6497
Richard Kenner [Mon, 7 Feb 1994 00:59:58 +0000 (19:59 -0500)]
(struct temp_slot): Add new field, ADDRESS.
(assign_stack_temp): Initialize it to zero.
(find_temp_slot_from_address, update_temp_slot_address): New functions.
(preserve_temp_slots): Use find_temp_slot_from_address.
From-SVN: r6496
Jim Wilson [Sun, 6 Feb 1994 21:34:36 +0000 (13:34 -0800)]
(NO_SYS_SIGLIST): Delete.
(DONT_DECLARE_SYS_SIGLIST): Define.
From-SVN: r6495
Jim Wilson [Sun, 6 Feb 1994 21:31:38 +0000 (13:31 -0800)]
(sys_siglist): Don't declare if DONT_DECLARE_SYS_SIGLIST is defined.
From-SVN: r6494
Jim Wilson [Sun, 6 Feb 1994 21:30:45 +0000 (13:30 -0800)]
(sys_siglist): Don't declare if NO_SYS_SIGLIST or DONT_DECLARE_SYS_SIGLIST are defined.
(sys_siglist): Don't declare if NO_SYS_SIGLIST or
DONT_DECLARE_SYS_SIGLIST are defined.
(catch_signal): Add code for NO_SYS_SIGLIST case.
From-SVN: r6493
Jim Wilson [Sun, 6 Feb 1994 21:26:28 +0000 (13:26 -0800)]
(reg_pending_sets, reg_pending_sets_all): New variables.
(sched_analyze_1): Set reg_pending_sets instead of reg_last_sets.
(sched_analyze_2): Set reg_pending_sets or reg_pending_sets_all
instead of reg_last_sets.
(sched_analyze_insn): Use reg_pending_sets and
reg_pending_sets_all to set reg_last_sets. Set
reg_pending_sets_all instead of reg_last_sets.
(schedule_block): Allocate and clear reg_pending_sets.
From-SVN: r6492
Jim Wilson [Sun, 6 Feb 1994 21:02:51 +0000 (13:02 -0800)]
(movdi): Handle 'U' and 'T' constraints.
From-SVN: r6491
Jim Wilson [Sun, 6 Feb 1994 20:58:13 +0000 (12:58 -0800)]
(FUNCTION_PROFILER): Concatenate strings to avoid
use of ANSI C specific feature.
From-SVN: r6490
Jim Wilson [Sun, 6 Feb 1994 20:55:34 +0000 (12:55 -0800)]
(function_arg): When soft-float, don't add bias for
second SFmode argument.
From-SVN: r6489
Jim Wilson [Sun, 6 Feb 1994 20:52:32 +0000 (12:52 -0800)]
(CPP_PREDEFINES): Add _MIPSEB.
From-SVN: r6488
Richard Kenner [Sun, 6 Feb 1994 13:40:29 +0000 (08:40 -0500)]
(canon_hash, case LABEL_REF, SYMBOL_REF): Avoid warning on 64-bit
machines.
From-SVN: r6487
Steve Chamberlain [Sat, 5 Feb 1994 21:03:19 +0000 (21:03 +0000)]
*** empty log message ***
From-SVN: r6486
Richard Kenner [Sat, 5 Feb 1994 13:24:30 +0000 (08:24 -0500)]
(rest_of_compilation): Invoke MACHINE_DEPENDENT_REORG if defined.
From-SVN: r6485
Richard Kenner [Sat, 5 Feb 1994 13:05:42 +0000 (08:05 -0500)]
(memory_extend_rtx): New variable.
(cse_main): Initialize it.
(cse_insn): See if we have already loaded a MEM in a wider mode.
From-SVN: r6484
Richard Kenner [Sat, 5 Feb 1994 12:05:24 +0000 (07:05 -0500)]
Add lstat to required_list for sys/stat.h
From-SVN: r6483
Stan Cox [Fri, 4 Feb 1994 16:29:24 +0000 (16:29 +0000)]
Assume -muse-div-instruction -mno-check-zero-division
From-SVN: r6482
Stan Cox [Fri, 4 Feb 1994 16:29:24 +0000 (16:29 +0000)]
Made -mshort-data- unsigned. Copy MEM_IN_STRUCT_P for block move cases.
From-SVN: r6481
Stan Cox [Fri, 4 Feb 1994 16:29:24 +0000 (16:29 +0000)]
Split movdf so it can go into a branch delay slot.
From-SVN: r6480
Richard Kenner [Fri, 4 Feb 1994 13:14:23 +0000 (08:14 -0500)]
(gen_lowpart_common, gen_highpart): Test *_BIG_ENDIAN with "if", not
#if and fix one erroneous test.
From-SVN: r6479
Doug Evans [Thu, 3 Feb 1994 22:14:46 +0000 (22:14 +0000)]
(store_bit_field, insv case): Don't use PUT_MODE on
xop0 when it is a SUBREG, generate a new SUBREG.
From-SVN: r6478
Richard Kenner [Thu, 3 Feb 1994 20:27:23 +0000 (15:27 -0500)]
Add prototypes for static functions.
(uses_reg_or_mem): New function.
(find_basic_block): Some cleanups; eliminate shadowed variables.
Look for REG_LABEL notes in all insns and allow for multiple such.
Don't delete labels in forced_labels.
Generalize test for computed jumps.
(find_auto_inc): OFFSET should be HOST_WIDE_INT.
(mark_used_regs): Put decls of parms in parm order.
(find_use_as_address): PLUSCONST should be HOST_WIDE_INT.
From-SVN: r6477
Richard Kenner [Thu, 3 Feb 1994 18:24:04 +0000 (13:24 -0500)]
(GO_IF_HARD_REG_EQUAL): Fix typo.
From-SVN: r6476