Commit Graph

10460 Commits

Author SHA1 Message Date
Richard Kenner 926b1b9906 (assign_parms): Don't trust the callee to copy a TREE_ADDRESSABLE
type.

From-SVN: r10527
1995-10-26 21:55:22 -04:00
Richard Kenner 67038661e2 (expand_call): Don't trust the callee to copy a TREE_ADDRESSABLE type.
From-SVN: r10526
1995-10-26 21:54:34 -04:00
Richard Kenner 439eb7764a (output_compile_unit_die): Handle language_string of "GNU F77".
From-SVN: r10525
1995-10-26 21:40:40 -04:00
Richard Kenner c6e84dc484 (__unwind_function): Provide a default definition for implementations
that don't yet have a function unwinder.

From-SVN: r10524
1995-10-26 19:24:58 -04:00
Richard Kenner b030d59810 (write_tree_1): Avoid emitting '-2147483648'.
From-SVN: r10523
1995-10-26 19:13:47 -04:00
Richard Kenner f3d723e9ef Fix typo.
From-SVN: r10522
1995-10-26 19:05:22 -04:00
Richard Kenner 1b4d2764e3 (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
1995-10-26 18:15:29 -04:00
Richard Kenner a890884916 (distribute_notes): For Oct 19 change, add additional check to verify
that place has a valid INSN_CUID.

From-SVN: r10520
1995-10-26 18:11:32 -04:00
Richard Kenner a128ef196d (handle_directive): Don't treat newline as white space when coalescing
white space around a backslash-newline.

From-SVN: r10519
1995-10-26 18:08:01 -04:00
Richard Kenner a78e7bc47f Initial revision
From-SVN: r10518
1995-10-26 18:05:12 -04:00
Richard Kenner f0c9047999 Don't build -mcpu=common multilib variants of libgcc.a.
From-SVN: r10517
1995-10-26 18:04:23 -04:00
Richard Kenner 5346f1b92d (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
1995-10-26 17:57:28 -04:00
Richard Kenner 94f3f2cb2c (LIBGCC1_TEST): Define.
From-SVN: r10515
1995-10-26 17:54:32 -04:00
Richard Kenner 0a0b733a3d (negdi2): Use TARGET_LITTLE_ENDIAN.
From-SVN: r10514
1995-10-26 17:52:23 -04:00
Richard Kenner 9bf22b75fc (force_to_mode, case ASHIFTRT): Verify mode bitsize is within
HOST_BITS_PER_WIDE_INT before shifting by it.

From-SVN: r10513
1995-10-26 08:29:18 -04:00
Richard Kenner e82ee4ccb6 (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
1995-10-26 08:06:43 -04:00
Richard Kenner c7eee2df1d (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
1995-10-26 08:01:21 -04:00
Richard Kenner fe464cafd9 (duplicate_loop_exit_test): Return 0 if found a NOTE_INSN_LOOP_CONT.
From-SVN: r10510
1995-10-26 07:28:24 -04:00
Richard Kenner e934eef976 (expand_call): Make sure valreg is at least a full word.
From-SVN: r10509
1995-10-24 15:30:02 -04:00
Mike Stump ebfc180f46 FSF local junk
From-SVN: r10508
1995-10-23 22:25:44 +00:00
Richard Kenner c77bb813b8 (INIT_SECTION_ASM_OP): Delete.
(HAVE_ATEXIT): Define.

From-SVN: r10507
1995-10-22 19:35:31 -04:00
Richard Kenner c07e26bda2 (__fixuns[xds]fsi): #undef MIN and MAX before #include of limits.h.
From-SVN: r10506
1995-10-22 08:01:32 -04:00
Richard Kenner ae8b3cd830 (pa_adjust_cost): Use pa_cpu, not pa_cpu_attr.
From-SVN: r10505
1995-10-22 07:45:51 -04:00
Richard Kenner 4db7b4ce13 (gen_int_relational): Use 'U' for unsigned constants.
From-SVN: r10504
1995-10-22 07:38:43 -04:00
Richard Kenner 5c71c5b1d5 (alpha_emit_set_const): Use 'U' for unsigned constants.
From-SVN: r10503
1995-10-22 07:38:18 -04:00
Richard Kenner 23334240ad (CONST_OK_FOR_LETTER_P): Use 'U' for unsigned constants.
From-SVN: r10502
1995-10-22 07:37:42 -04:00
Richard Kenner 2614aac604 (i386_return_pops_args): Don't need a FUNDECL to check for type
attributes in FUNTYPE.

From-SVN: r10501
1995-10-22 07:14:24 -04:00
Richard Kenner 9374bd85eb (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
1995-10-21 18:31:06 -04:00
Richard Kenner c8f6f18d84 (reg_unused_after): Ifdef out code for handling labels.
From-SVN: r10499
1995-10-21 18:29:14 -04:00
Richard Kenner 2fad984b37 (define_delay): Don't accept any instruction for an annulled slot,
only accept those for which in_delay_slot is yes.

From-SVN: r10498
1995-10-21 18:25:32 -04:00
Richard Kenner e081ed261f (find_barrier): When create new label, set LABEL_NUSES to 1.
From-SVN: r10497
1995-10-21 18:25:06 -04:00
Richard Kenner 5dbcc9c0dc (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
1995-10-21 18:22:27 -04:00
Richard Kenner 00e94d6531 (find_barrier): When hi_const returns true, increment count_si by two
if found_si is true.

From-SVN: r10495
1995-10-21 18:20:06 -04:00
Richard Kenner 2ad79487e4 (expand_float): Emit missing barrier after unconditional jump.
From-SVN: r10494
1995-10-21 18:17:23 -04:00
Richard Kenner 0331e642aa (cmpdf): Make conditional on TARGET_FP.
From-SVN: r10493
1995-10-21 14:16:31 -04:00
Richard Kenner 3bb5826ab8 (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
1995-10-20 19:30:53 -04:00
Richard Kenner d02089a5f2 (distribute_notes): Delete instructions without side effect that set a
subreg of an unused register.

From-SVN: r10491
1995-10-20 19:14:10 -04:00
Richard Kenner 089a0f3971 (PREFERRED_RELOAD_CLASS): Check for !G constants for DATA_OR_FP_REGS
also.

From-SVN: r10490
1995-10-20 19:11:04 -04:00
Richard Kenner fb68538818 Output negations of unused alternatives, even if one of the
alternatives is selected.

From-SVN: r10489
1995-10-20 18:57:04 -04:00
Richard Kenner 09578c273e (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
1995-10-20 18:48:39 -04:00
Richard Kenner d904e9ed26 (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
1995-10-20 18:46:03 -04:00
Richard Kenner b7676b4631 (offsettable_addr_operand): Declare instead of offsettable_mem_operand.
(PREDICATE_CODES): Use offsettable_addr_operand.
(float_conv_temp): Delete variable.

From-SVN: r10486
1995-10-20 18:45:24 -04:00
Richard Kenner 5b5040b9e6 (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
1995-10-20 18:44:58 -04:00
Richard Kenner 9fe320d793 (rest_of_compilation): Call init_insn_lengths here.
From-SVN: r10484
1995-10-20 17:58:04 -04:00
Richard Kenner 41fd457e3e (init_function_start): Don't call init_insn_lengths here.
From-SVN: r10483
1995-10-20 17:57:07 -04:00
Richard Kenner 679499cdba ({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
1995-10-19 19:31:10 -04:00
Richard Kenner 8f75773e1f ({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
1995-10-19 19:30:28 -04:00
Richard Kenner dbe3df2943 (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
1995-10-19 19:27:43 -04:00
Richard Kenner 39b751ce5a (check_format_info): Make test for null pointer more general.
From-SVN: r10479
1995-10-19 19:18:59 -04:00
Richard Kenner 7bd7a75601 (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
1995-10-19 19:01:42 -04:00