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
Richard Kenner [Fri, 20 Oct 1995 22:46:03 +0000 (18:46 -0400)]
(move_to_float insns): Change move_to_float so that it doesn't have a clobber of the memory address...
(move_to_float insns): Change move_to_float so that it doesn't have a
clobber of the memory address, and instead passes the stack temp's
memory address as one of the unspec args.
(fix_truncdfsi2): Use rs6000_stack_temp to allocate the temp.
(multiply, shift insns): Fix all cases of multiply and shift insns so
that the right mnemonics are used for -mcpu=common with both
-m{old,new}-mnemonics.
From-SVN: r10487
Richard Kenner [Fri, 20 Oct 1995 22:45:24 +0000 (18:45 -0400)]
(offsettable_addr_operand): Declare instead of offsettable_mem_operand.
(PREDICATE_CODES): Use offsettable_addr_operand.
(float_conv_temp): Delete variable.
From-SVN: r10486
Richard Kenner [Fri, 20 Oct 1995 22:44:58 +0000 (18:44 -0400)]
(float_conv_temp): Delete global variable.
(stack_temps): New static array to hold stack temps.
(offsettable_mem_operand): Delete function.
(offsettable_addr_operand, rs6000_stack_temp): New functions.
(output_epilog): Zero stack_temps.
From-SVN: r10485
Richard Kenner [Fri, 20 Oct 1995 21:58:04 +0000 (17:58 -0400)]
(rest_of_compilation): Call init_insn_lengths here.
From-SVN: r10484
Richard Kenner [Fri, 20 Oct 1995 21:57:07 +0000 (17:57 -0400)]
(init_function_start): Don't call init_insn_lengths here.
From-SVN: r10483
Richard Kenner [Thu, 19 Oct 1995 23:31:10 +0000 (19:31 -0400)]
({low_32_bit,offsettable_mem}_operand): The function low_32_bit_operand is now unused, delete it.
({low_32_bit,offsettable_mem}_operand): The function
low_32_bit_operand is now unused, delete it. New function
offsettable_mem_operand to determine if a memory address is
offsettable.
(PREDICATE_CODES): Ditto.
(float_conv_temp): New global.
From-SVN: r10482
Richard Kenner [Thu, 19 Oct 1995 23:30:28 +0000 (19:30 -0400)]
({low_32_bit,offsettable_mem}_operand): The function low_32_bit_operand is now unused, delete it.
({low_32_bit,offsettable_mem}_operand): The function
low_32_bit_operand is now unused, delete it. New function
offsettable_mem_operand to determine if a memory address is
offsettable.
(float_conv_temp): New global.
(output_epilog): Zero out float_conv_temp.
From-SVN: r10481
Richard Kenner [Thu, 19 Oct 1995 23:27:43 +0000 (19:27 -0400)]
(float{,uns}sidf2): Rewrite to break the conversion process into several general insns.
(float{,uns}sidf2): Rewrite to break the conversion process into several
general insns.
(move_to_float): New insns to move 2 integer regs into a float
register through memory, taking endianess into account. Make sure
that the floating temporary is a valid address. Use one temporary for
all floats converted.
(fix_truncdfsi2): Take endianess into account.
From-SVN: r10480
Richard Kenner [Thu, 19 Oct 1995 23:18:59 +0000 (19:18 -0400)]
(check_format_info): Make test for null pointer more general.
From-SVN: r10479
Richard Kenner [Thu, 19 Oct 1995 23:01:42 +0000 (19:01 -0400)]
(ASM_SPEC): If GNU as is the default, then pass -g to the assembler if -malpha-as.
(ASM_SPEC): If GNU as is the default, then pass -g to the assembler if
-malpha-as. If GNU as is not the default, then pass -g to the
assembler is not -mgas.
From-SVN: r10478
Richard Kenner [Thu, 19 Oct 1995 22:56:08 +0000 (18:56 -0400)]
(stdlib.h): Be more general in edit to change declaration of
{c,m,re}alloc.
From-SVN: r10477
Richard Kenner [Thu, 19 Oct 1995 22:48:45 +0000 (18:48 -0400)]
(__udiv_w_sdiv): If we don't have sdiv_qrnnd, define dummy variant of
__udiv_w_sdiv.
From-SVN: r10476
Richard Kenner [Thu, 19 Oct 1995 22:44:41 +0000 (18:44 -0400)]
(distribute_notes): When search for new place to put REG_DEAD note,
call distribute_links if this new place is between i2 and i3, and i2
uses the register.
From-SVN: r10475
Richard Kenner [Thu, 19 Oct 1995 22:41:23 +0000 (18:41 -0400)]
(libgcc{1,2}.a): Allow LIB{1,2}FUNCS_EXTRA files to end in .S as well
as .c and .asm.
From-SVN: r10474
Richard Kenner [Wed, 18 Oct 1995 21:56:23 +0000 (17:56 -0400)]
(parser_build_binary_op): Warn about x^y==z, etc.
From-SVN: r10473
Jeff Law [Mon, 16 Oct 1995 15:40:29 +0000 (09:40 -0600)]
config.guess: Recognize HP model 819 machines has having a PA 1.1 processor.
* config.guess: Recognize HP model 819 machines has having
a PA 1.1 processor.
From-SVN: r10439
Mike Stump [Thu, 12 Oct 1995 02:33:51 +0000 (02:33 +0000)]
75th Cygnus<->FSF merge
From-SVN: r10438
Richard Kenner [Mon, 9 Oct 1995 16:37:55 +0000 (12:37 -0400)]
(reverse_def_dec_list): Silence compiler warnings.
From-SVN: r10437
Richard Kenner [Mon, 9 Oct 1995 16:35:48 +0000 (12:35 -0400)]
(va_arg): Deal with long longs that would be passed in the 7th
register, and are passed in the stack instead.
From-SVN: r10436
Richard Kenner [Fri, 6 Oct 1995 17:47:02 +0000 (13:47 -0400)]
(ASM_SPEC): Add -g.
From-SVN: r10435
Richard Kenner [Fri, 6 Oct 1995 17:42:42 +0000 (13:42 -0400)]
(alpha_{arg,auto}_offset): Make extern.
From-SVN: r10434
Richard Kenner [Fri, 6 Oct 1995 17:24:35 +0000 (13:24 -0400)]
(RETURN_ADDRESS_OFFSET): Correct previous change.
From-SVN: r10433
Richard Kenner [Fri, 6 Oct 1995 17:14:37 +0000 (13:14 -0400)]
(reg_set_last): Fix call to reg_set_between_p.
From-SVN: r10432
Mike Stump [Wed, 4 Oct 1995 17:59:40 +0000 (17:59 +0000)]
fix small typo
From-SVN: r10431
Richard Kenner [Tue, 3 Oct 1995 23:15:52 +0000 (19:15 -0400)]
(layout_type...
(layout_type, case ARRAY_TYPE): Strip MAX_EXPR from upper bound when
computing length if it just protects against negative length.
From-SVN: r10430
Richard Kenner [Tue, 3 Oct 1995 22:31:18 +0000 (18:31 -0400)]
Fix comments and formatting related to RETURN_ADDR_RTX.
From-SVN: r10429
Richard Kenner [Tue, 3 Oct 1995 17:58:18 +0000 (13:58 -0400)]
(simplify_rtx): In code that attempts to simplify conditional expressions...
(simplify_rtx): In code that attempts to simplify conditional
expressions, if the result is an NE around another comparison, return
the original expression.
From-SVN: r10428
Richard Kenner [Tue, 3 Oct 1995 16:31:19 +0000 (12:31 -0400)]
(emit_move_insn_1): When doing multi-word move, show output is
clobbered.
From-SVN: r10427
Richard Kenner [Tue, 3 Oct 1995 16:25:50 +0000 (12:25 -0400)]
(set_nonvarying_address_components, case AND): Add *pend to end.
(set_nonvarying_address_components, case AND): Add *pend to end. Add
constant to start instead of subtracting it.
From-SVN: r10426
Richard Kenner [Tue, 3 Oct 1995 16:23:21 +0000 (12:23 -0400)]
(mips umul_ppmm): Use `l' and `h' constraints; remove mflo and mfhi
instructions.
From-SVN: r10425
Richard Kenner [Tue, 3 Oct 1995 16:21:26 +0000 (12:21 -0400)]
(va_start...
(va_start, stdarg case): Call __builtin_next_arg, and ignore the
result, so that the compiler can report the proper error, if the
second argument is not the last argument.
From-SVN: r10424
Richard Kenner [Tue, 3 Oct 1995 16:17:19 +0000 (12:17 -0400)]
Update comments.
From-SVN: r10423
Richard Kenner [Tue, 3 Oct 1995 16:02:38 +0000 (12:02 -0400)]
(assign_stack_temp): Adjust full_size field of temp_slot when
splitting an unused slot.
From-SVN: r10422
Richard Kenner [Tue, 3 Oct 1995 15:51:51 +0000 (11:51 -0400)]
(RETURN_ADDR_RTX): New definition.
From-SVN: r10421
Richard Kenner [Tue, 3 Oct 1995 15:50:33 +0000 (11:50 -0400)]
(RETURN_ADDR_RTX): Remove call to copy_to_reg.
From-SVN: r10420
Richard Kenner [Tue, 3 Oct 1995 15:49:16 +0000 (11:49 -0400)]
(RETURN_ADDR_RTX): Remove call to copy_to_reg.
(RETURN_ADDR_RTX): Remove call to copy_to_reg. Offset to return
address is 4 when !TARGET_64BIT and v4_call_p, 8 otherwise.
From-SVN: r10419
Richard Kenner [Tue, 3 Oct 1995 15:48:39 +0000 (11:48 -0400)]
(expand_builtin_return_addr): Break out functionality from expand_builtin.
(expand_builtin): Call expand_builtin_return_addr.
From-SVN: r10418
Stan Cox [Mon, 2 Oct 1995 20:42:45 +0000 (20:42 +0000)]
config/m88k/dgux.h (ASM_SPEC, *_LEGEND)
From-SVN: r10417
Richard Kenner [Mon, 2 Oct 1995 01:27:28 +0000 (21:27 -0400)]
(staticp, case INDIRECT_EXPR): Disable case.
From-SVN: r10416