Richard Kenner [Sun, 26 Nov 1995 17:08:18 +0000 (12:08 -0500)]
(alpha_emit_set_const): Don't output SImode sequences that rely on invisible overflow.
(alpha_emit_set_const): Don't output SImode sequences that rely on
invisible overflow. Sign extend new when SImode. Don't recur if new
== c. Don't allow shift outside mode. Make logical right shift be
unsigned.
From-SVN: r10589
Richard Kenner [Sun, 26 Nov 1995 16:37:41 +0000 (11:37 -0500)]
(compare*): Add "|| true" to avoid spurious failure messages from some
versions of make.
From-SVN: r10588
Richard Kenner [Sun, 26 Nov 1995 16:23:31 +0000 (11:23 -0500)]
Change version to 2.7.2.
From-SVN: r10587
Richard Kenner [Sun, 26 Nov 1995 16:21:47 +0000 (11:21 -0500)]
Change version to 2.7.2
From-SVN: r10586
Richard Kenner [Sun, 26 Nov 1995 16:19:51 +0000 (11:19 -0500)]
(truthvalue_conversion): Add declaration.
From-SVN: r10585
Paul Eggert [Thu, 23 Nov 1995 01:43:40 +0000 (01:43 +0000)]
Initial revision
From-SVN: r10582
Mike Stump [Tue, 21 Nov 1995 01:15:30 +0000 (01:15 +0000)]
Bring over:
* init.c (expand_aggr_init): Handle cv qualifiers on the object's
type.
From-SVN: r10581
Mike Stump [Mon, 20 Nov 1995 22:29:18 +0000 (22:29 +0000)]
Bring over:
* g++.c (pfatal_with_name): Add missing third argument to concat.
From-SVN: r10580
Richard Kenner [Sun, 12 Nov 1995 23:09:22 +0000 (18:09 -0500)]
(put_reg_into_stack): New arg volatile_p.
(put_var_into_stack): Call with new arg.
From-SVN: r10579
Richard Kenner [Sat, 11 Nov 1995 13:25:22 +0000 (08:25 -0500)]
(reload.o): Add dependence on output.h.
From-SVN: r10578
Richard Kenner [Sat, 11 Nov 1995 13:24:38 +0000 (08:24 -0500)]
(output.h): Include it.
From-SVN: r10577
Richard Kenner [Thu, 9 Nov 1995 16:24:11 +0000 (11:24 -0500)]
(HARD_REGNO_NREGS): If FP_REG_P, always use UNITS_PER_FPREG to
calculate number of words needed.
From-SVN: r10576
Richard Kenner [Thu, 9 Nov 1995 16:20:56 +0000 (11:20 -0500)]
(cmphf): Addd Base Reg with Offset address mode (LB,STB,..)
(cmphf): Addd Base Reg with Offset address mode (LB,STB,..)
(movqi,movhi,movhf,addqi3,addhf3,subqi3,subhf3,mulqihi3): Likewise.
(mulhf3,divhf3,andqi3,iorqi3): Likewise.
(define_peephole): Remove the Base mode peepholes. Replace the
special addqi define_insn for "LIM Ra,sym,Rb" by a define_peephole.
(ashlqi3): Took out futile 0th alternative.
(lshrqi3, lshrhi3, ashrqi3, ahsrhi3): Correct case of non-constant
shift count.
From-SVN: r10575
Richard Kenner [Thu, 9 Nov 1995 16:04:44 +0000 (11:04 -0500)]
(REG_ALLOC_ORDER): Define.
(REGNO_OK_FOR_BASE_P): Include stack pointer in test against
reg_renumber[REGNO].
(ASM_OUTPUT_DESTRUCTOR): Remove bogus assembler comment.
From-SVN: r10574
Richard Kenner [Thu, 9 Nov 1995 16:01:13 +0000 (11:01 -0500)]
(expand_expr, case ARRAY_REF): Properly convert types of index, size,
and multiplication.
From-SVN: r10573
Richard Kenner [Wed, 8 Nov 1995 13:59:59 +0000 (08:59 -0500)]
(mov*cc_{,soft_}insn): Use match_operator to test the comparison and
check that the condition code register is used.
From-SVN: r10572
Richard Kenner [Wed, 8 Nov 1995 13:54:25 +0000 (08:54 -0500)]
(ASM_OUTPUT_{CONSTRUCTOR,DESTRUCTOR}): Undef before including svr4.h.
From-SVN: r10571
Richard Kenner [Wed, 8 Nov 1995 13:52:42 +0000 (08:52 -0500)]
emove 1.131 change.
From-SVN: r10570
Richard Kenner [Wed, 8 Nov 1995 13:49:28 +0000 (08:49 -0500)]
(ASM_OUTPUT_{CONSTRUCTOR,DESTRUCTOR}): Don't redefine, if already
defined.
From-SVN: r10569
Richard Kenner [Tue, 7 Nov 1995 15:57:59 +0000 (10:57 -0500)]
(subxf3): Properly name pattern.
From-SVN: r10568
Richard Kenner [Tue, 7 Nov 1995 15:53:03 +0000 (10:53 -0500)]
(__{C,D}TOR_LIST): For AIX...
(__{C,D}TOR_LIST): For AIX, initialize these arrays to 0,0, just like
NeXT to avoid a warning message from the AIX 4.1 linker.
From-SVN: r10567
Richard Kenner [Tue, 7 Nov 1995 14:58:29 +0000 (09:58 -0500)]
(cpp_lex): Correctly parse character constants.
From-SVN: r10566
Richard Kenner [Tue, 7 Nov 1995 14:52:05 +0000 (09:52 -0500)]
(ASM_OUTPUT_{DES,CONS}TRUCTOR): Define.
From-SVN: r10565
Doug Evans [Mon, 6 Nov 1995 15:26:27 +0000 (15:26 +0000)]
(force_to_mode): Fix typo in fix to last change.
From-SVN: r10564
Richard Kenner [Sun, 5 Nov 1995 23:36:49 +0000 (18:36 -0500)]
(cmpxf): Don't call force_const_mem, it looses for PIC;
get predicates right instead. Get rid of separate DEFINE_EXPAND.
(addxf3, subxf3, mulxf3, divxf3): Likewise.
(All XFmode patterns): Delete `F' and `G' constraints.
(absxf2): Delete spurious condition on TARGET_FPA.
(negxf2): Likewise.
From-SVN: r10563
Richard Kenner [Sun, 5 Nov 1995 16:23:29 +0000 (11:23 -0500)]
(emit_reload_insns): For RELOAD_OTHER output reloads, output the
reload insns in descending order of reloads.
From-SVN: r10562
Richard Kenner [Sun, 5 Nov 1995 16:22:54 +0000 (11:22 -0500)]
(push_reload): Delete abort for RELOAD_OTHER case added in last
change.
From-SVN: r10561
Richard Kenner [Sun, 5 Nov 1995 16:15:35 +0000 (11:15 -0500)]
(MULTILIB_OPTIONS): Add m2.
(MULTILIB_DIRNAMES): Add m2.
(MULTILIB_MATCHES): Define.
From-SVN: r10560
Richard Kenner [Sun, 5 Nov 1995 16:15:04 +0000 (11:15 -0500)]
(mulsidi3-1, mulsidi3, umulsidi3-1, umulsidi3): Enable.
(smulsi3_highpart-1, smulsi3_highpart): New patterns.
(umulsi3_highpart-1, umulsi3_highpart): Likewise.
(movdi-1): Add r/x constraint.
From-SVN: r10559
Richard Kenner [Sun, 5 Nov 1995 16:10:51 +0000 (11:10 -0500)]
(RTX_COSTS, case MULT): Check for TARGET_SPARCLITE.
From-SVN: r10558
Richard Kenner [Sun, 5 Nov 1995 16:05:35 +0000 (11:05 -0500)]
(malloc.h): Fix return type of {m,re}alloc.
From-SVN: r10557
Richard Kenner [Sun, 5 Nov 1995 16:02:07 +0000 (11:02 -0500)]
(invalidate): For a pseudo register, do a loop to invalidate all table
entries, irrespective of mode.
From-SVN: r10556
Richard Kenner [Sun, 5 Nov 1995 15:57:20 +0000 (10:57 -0500)]
(force_to_mode): Put in last change properl.
From-SVN: r10555
Richard Kenner [Sun, 5 Nov 1995 15:53:40 +0000 (10:53 -0500)]
(CONDITIONAL_REGISTER_USAGE): Make sure FP regs get disabled regardless of...
(CONDITIONAL_REGISTER_USAGE): Make sure FP regs get disabled
regardless of PA1.0 vs PA1.1 code generation when TARGET_SOFT_FLOAT or
TARGET_DISABLE_FPREGS is on.
From-SVN: r10554
Richard Kenner [Sun, 5 Nov 1995 15:49:36 +0000 (10:49 -0500)]
(movdi matchers): Rewrite.
(store_unaligned_di_reg): New pattern.
(movti matchers): Rewrite.
(store_unaligned_ti_reg): New pattern.
From-SVN: r10553
Richard Kenner [Sun, 5 Nov 1995 15:49:06 +0000 (10:49 -0500)]
(emit_move_sequence): Add a scratch register to multi-reg stores.
(i960_output_move_{double,quad}): New functions.
(i960_print_operand): Handle new operand types E, F.
From-SVN: r10552
Richard Kenner [Sun, 5 Nov 1995 15:45:20 +0000 (10:45 -0500)]
(MULTILIB_DEFAULTS): Define.
From-SVN: r10551
Richard Kenner [Sun, 5 Nov 1995 15:41:42 +0000 (10:41 -0500)]
(CPP_SPEC): Add -EB and -EL support.
From-SVN: r10550
Richard Kenner [Sat, 4 Nov 1995 15:44:33 +0000 (10:44 -0500)]
(finclude): Set current input pointer when input is not a regular
file.
From-SVN: r10549
Richard Kenner [Sat, 4 Nov 1995 15:41:52 +0000 (10:41 -0500)]
(casesi_worker): Change constraint from = to +.
From-SVN: r10548
Richard Kenner [Sat, 4 Nov 1995 15:36:21 +0000 (10:36 -0500)]
(ASM_IDENTIFY_GCC_AFTER_SOURCE): Delete.
(ASM_IDENTIFY_GCC): Output stab here.
From-SVN: r10547
Richard Kenner [Sat, 4 Nov 1995 15:32:32 +0000 (10:32 -0500)]
Define progname, required by cpplib.
From-SVN: r10546
Richard Kenner [Sat, 4 Nov 1995 15:28:12 +0000 (10:28 -0500)]
entered into RCS
From-SVN: r10545
Mike Stump [Fri, 3 Nov 1995 23:01:39 +0000 (23:01 +0000)]
merge in some last minute changes from jason, for jason.
From-SVN: r10544
Richard Kenner [Sun, 29 Oct 1995 12:48:28 +0000 (07:48 -0500)]
(DBX_FINISH_SYMBOL): Deal with names created via the __asm__ construct
that start with a leading '*'.
From-SVN: r10543
Richard Kenner [Sun, 29 Oct 1995 12:47:58 +0000 (07:47 -0500)]
(xcoff_declare_function): Deal with names created via the __asm__
construct that start with a leading '*'.
From-SVN: r10542
Richard Kenner [Sun, 29 Oct 1995 12:45:32 +0000 (07:45 -0500)]
(stupid_mark_refs): Handle SUBREG of pseudo-reg in a SET_DEST same as
we handle a pseudo-reg in a SET_DEST.
From-SVN: r10541
Richard Kenner [Sun, 29 Oct 1995 12:43:09 +0000 (07:43 -0500)]
(RETURN_ADDRESS_OFFSET, RETURN_ADDR_RTX): Define.
From-SVN: r10540
Richard Kenner [Sun, 29 Oct 1995 12:42:53 +0000 (07:42 -0500)]
(L_eh: __unwind_function): Implement for VAX.
From-SVN: r10539
Richard Kenner [Sun, 29 Oct 1995 12:39:08 +0000 (07:39 -0500)]
(CPP_PREDEFINES): Add -D__SVR4.
From-SVN: r10538
Richard Kenner [Sun, 29 Oct 1995 12:14:22 +0000 (07:14 -0500)]
(find_equiv_reg): Check for nonsaving setjmp.
From-SVN: r10537
Mike Stump [Fri, 27 Oct 1995 20:46:00 +0000 (20:46 +0000)]
FSF local, until kenner adds it to the backend.
From-SVN: r10536
Richard Kenner [Fri, 27 Oct 1995 19:15:46 +0000 (15:15 -0400)]
(out_object_file): Depend on TREE_H.
From-SVN: r10535
Richard Kenner [Fri, 27 Oct 1995 19:08:26 +0000 (15:08 -0400)]
(force_to_mode, case ASHIFTRT): Properly handle mask wider than
HOST_WIDE_INT.
From-SVN: r10534
Richard Kenner [Fri, 27 Oct 1995 10:52:12 +0000 (06:52 -0400)]
(call_value_nt, call_nt): Force non-SYMBOL_REF into reg 27, just like
for OSF.
From-SVN: r10533
Richard Kenner [Fri, 27 Oct 1995 10:51:20 +0000 (06:51 -0400)]
(call_operand): Only allow reg 27 on NT too.
From-SVN: r10532
Richard Kenner [Fri, 27 Oct 1995 10:46:08 +0000 (06:46 -0400)]
(struct asm_option): Changed from struct option.
(expand_block_move_mem): Remove erroneously-added line.
From-SVN: r10531
Richard Kenner [Fri, 27 Oct 1995 10:42:30 +0000 (06:42 -0400)]
(clear_storage): Second arg is rtx, not int.
From-SVN: r10530
Richard Kenner [Fri, 27 Oct 1995 10:41:39 +0000 (06:41 -0400)]
(clear_storage): SIZE is now rtx, not int.
(store_constructor): Call clear_storage with rtx.
(get_inner_reference): Convert index to precision of sizetype, not
POINTER_SIZE.
(expand_expr, case ARRAY_REF): Likewise.
From-SVN: r10529
Richard Kenner [Fri, 27 Oct 1995 09:45:42 +0000 (05:45 -0400)]
(pushdecl): Don't test TREE_PUBLIC when deciding whether to register a
duplicate decl in the current block.
From-SVN: r10528
Richard Kenner [Fri, 27 Oct 1995 01:55:22 +0000 (21:55 -0400)]
(assign_parms): Don't trust the callee to copy a TREE_ADDRESSABLE
type.
From-SVN: r10527
Richard Kenner [Fri, 27 Oct 1995 01:54:34 +0000 (21:54 -0400)]
(expand_call): Don't trust the callee to copy a TREE_ADDRESSABLE type.
From-SVN: r10526
Richard Kenner [Fri, 27 Oct 1995 01:40:40 +0000 (21:40 -0400)]
(output_compile_unit_die): Handle language_string of "GNU F77".
From-SVN: r10525
Richard Kenner [Thu, 26 Oct 1995 23:24:58 +0000 (19:24 -0400)]
(__unwind_function): Provide a default definition for implementations
that don't yet have a function unwinder.
From-SVN: r10524
Richard Kenner [Thu, 26 Oct 1995 23:13:47 +0000 (19:13 -0400)]
(write_tree_1): Avoid emitting '-
2147483648'.
From-SVN: r10523
Richard Kenner [Thu, 26 Oct 1995 23:05:22 +0000 (19:05 -0400)]
Fix typo.
From-SVN: r10522
Richard Kenner [Thu, 26 Oct 1995 22:15:29 +0000 (18:15 -0400)]
(find_reloads_address): When check for out of range constant plus register...
(find_reloads_address): When check for out of range constant plus
register, accept any hard register instead of just fp, ap, sp.
From-SVN: r10521
Richard Kenner [Thu, 26 Oct 1995 22:11:32 +0000 (18:11 -0400)]
(distribute_notes): For Oct 19 change, add additional check to verify
that place has a valid INSN_CUID.
From-SVN: r10520
Richard Kenner [Thu, 26 Oct 1995 22:08:01 +0000 (18:08 -0400)]
(handle_directive): Don't treat newline as white space when coalescing
white space around a backslash-newline.
From-SVN: r10519
Richard Kenner [Thu, 26 Oct 1995 22:05:12 +0000 (18:05 -0400)]
Initial revision
From-SVN: r10518
Richard Kenner [Thu, 26 Oct 1995 22:04:23 +0000 (18:04 -0400)]
Don't build -mcpu=common multilib variants of libgcc.a.
From-SVN: r10517
Richard Kenner [Thu, 26 Oct 1995 21:57:28 +0000 (17:57 -0400)]
(enum st): Define st_Struct, st_Union, and st_Enum.
(st_to_string): Handle them.
(type_to_string): Add fdp argument; pass it to emit_aggregate.
(print_symbol): Add fdp argument; pass it to type_to_string.
Handle st_Struct, st_Union, and st_Enum.
(emit_aggregate): Add fdp argument. Handle opaque types. Map through
RFD entries.
(print_file_desc): Pass FDR to print_symbol.
(main): Pass null FDR to type_to_string.
From-SVN: r10516
Richard Kenner [Thu, 26 Oct 1995 21:54:32 +0000 (17:54 -0400)]
(LIBGCC1_TEST): Define.
From-SVN: r10515
Richard Kenner [Thu, 26 Oct 1995 21:52:23 +0000 (17:52 -0400)]
(negdi2): Use TARGET_LITTLE_ENDIAN.
From-SVN: r10514
Richard Kenner [Thu, 26 Oct 1995 12:29:18 +0000 (08:29 -0400)]
(force_to_mode, case ASHIFTRT): Verify mode bitsize is within
HOST_BITS_PER_WIDE_INT before shifting by it.
From-SVN: r10513
Richard Kenner [Thu, 26 Oct 1995 12:06:43 +0000 (08:06 -0400)]
(load_multiple insn): If address register is among regs...
(load_multiple insn): If address register is among regs, don't load it
with a lwsi instruction, which is undefined on PowerPC.
From-SVN: r10512
Richard Kenner [Thu, 26 Oct 1995 12:01:21 +0000 (08:01 -0400)]
(final_scan_insn): When recur for instruction in delay slot...
(final_scan_insn): When recur for instruction in delay slot, add loop
around recursive call in case the instruction gets split.
From-SVN: r10511
Richard Kenner [Thu, 26 Oct 1995 11:28:24 +0000 (07:28 -0400)]
(duplicate_loop_exit_test): Return 0 if found a NOTE_INSN_LOOP_CONT.
From-SVN: r10510
Richard Kenner [Tue, 24 Oct 1995 19:30:02 +0000 (15:30 -0400)]
(expand_call): Make sure valreg is at least a full word.
From-SVN: r10509
Mike Stump [Mon, 23 Oct 1995 22:25:44 +0000 (22:25 +0000)]
FSF local junk
From-SVN: r10508
Richard Kenner [Sun, 22 Oct 1995 23:35:31 +0000 (19:35 -0400)]
(INIT_SECTION_ASM_OP): Delete.
(HAVE_ATEXIT): Define.
From-SVN: r10507
Richard Kenner [Sun, 22 Oct 1995 12:01:32 +0000 (08:01 -0400)]
(__fixuns[xds]fsi): #undef MIN and MAX before #include of limits.h.
From-SVN: r10506
Richard Kenner [Sun, 22 Oct 1995 11:45:51 +0000 (07:45 -0400)]
(pa_adjust_cost): Use pa_cpu, not pa_cpu_attr.
From-SVN: r10505
Richard Kenner [Sun, 22 Oct 1995 11:38:43 +0000 (07:38 -0400)]
(gen_int_relational): Use 'U' for unsigned constants.
From-SVN: r10504
Richard Kenner [Sun, 22 Oct 1995 11:38:18 +0000 (07:38 -0400)]
(alpha_emit_set_const): Use 'U' for unsigned constants.
From-SVN: r10503
Richard Kenner [Sun, 22 Oct 1995 11:37:42 +0000 (07:37 -0400)]
(CONST_OK_FOR_LETTER_P): Use 'U' for unsigned constants.
From-SVN: r10502
Richard Kenner [Sun, 22 Oct 1995 11:14:24 +0000 (07:14 -0400)]
(i386_return_pops_args): Don't need a FUNDECL to check for type
attributes in FUNTYPE.
From-SVN: r10501
Richard Kenner [Sat, 21 Oct 1995 22:31:06 +0000 (18:31 -0400)]
(prepare_scc_operands): New local variable mode.
(prepare_scc_operands): New local variable mode. Set it from
sh_compare_op0 or sh_compare_op1. Use it instead of SImode in
force_reg calls.
From-SVN: r10500
Richard Kenner [Sat, 21 Oct 1995 22:29:14 +0000 (18:29 -0400)]
(reg_unused_after): Ifdef out code for handling labels.
From-SVN: r10499
Richard Kenner [Sat, 21 Oct 1995 22:25:32 +0000 (18:25 -0400)]
(define_delay): Don't accept any instruction for an annulled slot,
only accept those for which in_delay_slot is yes.
From-SVN: r10498
Richard Kenner [Sat, 21 Oct 1995 22:25:06 +0000 (18:25 -0400)]
(find_barrier): When create new label, set LABEL_NUSES to 1.
From-SVN: r10497
Richard Kenner [Sat, 21 Oct 1995 22:22:27 +0000 (18:22 -0400)]
(find_barrier): Always use get_attr_length to compute length of instructions.
(find_barrier): Always use get_attr_length to compute length of
instructions. If count_hi or count_si out of range at end, need two
PREV_INSN calls not one.
From-SVN: r10496
Richard Kenner [Sat, 21 Oct 1995 22:20:06 +0000 (18:20 -0400)]
(find_barrier): When hi_const returns true, increment count_si by two
if found_si is true.
From-SVN: r10495
Richard Kenner [Sat, 21 Oct 1995 22:17:23 +0000 (18:17 -0400)]
(expand_float): Emit missing barrier after unconditional jump.
From-SVN: r10494
Richard Kenner [Sat, 21 Oct 1995 18:16:31 +0000 (14:16 -0400)]
(cmpdf): Make conditional on TARGET_FP.
From-SVN: r10493
Richard Kenner [Fri, 20 Oct 1995 23:30:53 +0000 (19:30 -0400)]
(safe_from_p, case RTL_EXPR): Return 0 if RTL_EXPR_SEQUENCE exists.
Delete code to return 0 if exp_rtl is zero.
From-SVN: r10492
Richard Kenner [Fri, 20 Oct 1995 23:14:10 +0000 (19:14 -0400)]
(distribute_notes): Delete instructions without side effect that set a
subreg of an unused register.
From-SVN: r10491
Richard Kenner [Fri, 20 Oct 1995 23:11:04 +0000 (19:11 -0400)]
(PREFERRED_RELOAD_CLASS): Check for !G constants for DATA_OR_FP_REGS
also.
From-SVN: r10490
Richard Kenner [Fri, 20 Oct 1995 22:57:04 +0000 (18:57 -0400)]
Output negations of unused alternatives, even if one of the
alternatives is selected.
From-SVN: r10489
Richard Kenner [Fri, 20 Oct 1995 22:48:39 +0000 (18:48 -0400)]
(output_inline_function): Turn on flag_no_inline to avoid function integration...
(output_inline_function): Turn on flag_no_inline to avoid function
integration once we begin writing deferred output functions.
From-SVN: r10488