Commit Graph

5833 Commits

Author SHA1 Message Date
Richard Stallman ac7d29191d (FUNCTION_EPILOGUE, FUNCTION_PROLOGUE): Add %$ in adjspb/adjspd insns.
From-SVN: r5646
1993-10-06 22:04:11 +00:00
Doug Evans 7785c85ff0 fix 2 typos
From-SVN: r5645
1993-10-06 21:54:36 +00:00
Richard Stallman 4b1d0feaca Comment change.
From-SVN: r5644
1993-10-06 21:07:12 +00:00
Michael Meissner 9e20879ef1 Add check for _real_mcount being 0 back in again.
From-SVN: r5643
1993-10-06 19:39:25 +00:00
Michael Meissner ed882fd5eb New calling sequence for profiling, old available with -mmcount.
From-SVN: r5642
1993-10-06 19:29:21 +00:00
Jeff Law 68386e1e3c pa.c (output_function_prologue): Pass on information about the number of callee saved general and floating point...
* pa.c (output_function_prologue): Pass on information about the
	number of callee saved general and floating point registers which
	are saved by the current function's prologue.
	(hppa_expand_prologue): Keep track of the number of callee
	register saves done for general and floating point registers.

From-SVN: r5641
1993-10-06 13:29:13 -06:00
Ian Lance Taylor 3f259d6dfb Let tm file define MAX_*_TYPE_SIZE if *_TYPE_SIZE depends upon target_flags
From-SVN: r5640
1993-10-06 17:49:06 +00:00
Jim Wilson 176c9e6beb (try_combine): New variable i3_subst_into_i2.
Set it for special case of substituting i3 into i2.  Use it near
end to detect when special case succeeded.  Move i2notes to
i3notes for this special case.
(distribute_notes, REG_UNUSED case): Ignore all REG_UNUSED notes
except those from I3.

From-SVN: r5639
1993-10-06 10:46:02 -07:00
Richard Stallman f8ece31752 (real_value_truncate): Correct etrunci argument in case SImode.
From-SVN: r5638
1993-10-06 17:36:43 +00:00
Richard Stallman 8c6c7b4c71 (build_c_cast): When making a CONSTRUCTOR, provide the dummy first operand.
From-SVN: r5637
1993-10-06 17:21:20 +00:00
Richard Kenner 312f03181a Remove declaration of malloc.
From-SVN: r5636
1993-10-06 12:13:39 -04:00
Richard Kenner 8ddecd15b0 Remove declarations of malloc and realloc.
From-SVN: r5635
1993-10-06 12:13:03 -04:00
Richard Kenner 0f08a580ff Include hconfig.h.
From-SVN: r5634
1993-10-06 12:12:38 -04:00
Richard Kenner d8fc85592e (bi-opcode.o): Includes hconfig.h.
From-SVN: r5633
1993-10-06 12:12:02 -04:00
Richard Kenner 37747c8210 (record_reg_classes): Check if operands are the same by seeing if they
are the same register.

From-SVN: r5632
1993-10-06 06:58:50 -04:00
Richard Kenner 2bb81c86de (record_jump_cond): Rehash OP1 if OP0's insert_regs returns nonzero.
From-SVN: r5631
1993-10-06 06:56:50 -04:00
Richard Kenner 6e87e69e8f (expand_call): Add yet another assignment to MEM_IN_STRUCT_P.
From-SVN: r5630
1993-10-06 06:54:56 -04:00
Richard Stallman 3aa7750055 Comment change.
From-SVN: r5629
1993-10-06 06:11:07 +00:00
Jim Wilson 13a7eb3348 (umulsidi3): Use uns_arith_operand not arith_operand.
(const_umulsidi3): Use uns_small_int not small_int.
(ashlsi3+1, ashlsi3+2): New patterns to replace shift
and compare with addcc.

From-SVN: r5628
1993-10-05 21:08:07 -07:00
Jim Wilson 922bd191bc (SELECT_CC_MODE): Add support for ASHIFT.
From-SVN: r5627
1993-10-05 21:07:24 -07:00
Jim Wilson 9b3fad96a6 (uns_small_int, uns_arith_operand): New functions.
From-SVN: r5626
1993-10-05 21:06:46 -07:00
Richard Kenner a56e713327 (contains_placeholder_p): Return 0 for CONSTRUCTOR.
(substitute_in_expr): Don't allow CONSTRUCTOR.

From-SVN: r5625
1993-10-05 22:44:02 -04:00
Richard Kenner f52b5958f0 (make_node, case 'd'): Refine in which obstack PARM_DECLs are
allocated.

From-SVN: r5624
1993-10-05 22:33:19 -04:00
Richard Kenner ba2e110c46 (convert_modes): Properly handle extending constants since we might be
changing signedness.

From-SVN: r5623
1993-10-05 22:17:52 -04:00
Richard Kenner 843fec5542 (expand_call): Properly test if we need to promote operand; use
convert_modes instead of convert_to_mode.

From-SVN: r5622
1993-10-05 22:17:23 -04:00
Jim Wilson df5f5124d5 (sched_analyze_2): Make volatile asms depend on all
pseudo registers.

From-SVN: r5621
1993-10-05 16:22:04 -07:00
Richard Kenner 67c8d7deb2 (contains_placeholder): Return 0 for WITH_RECORD_EXPR.
From-SVN: r5620
1993-10-05 19:13:31 -04:00
Jim Wilson 518e5ce827 (mips_expand_prologue): Handle structure return values as
the first argument if necessary.

From-SVN: r5619
1993-10-05 13:48:07 -07:00
Jim Wilson b206a75783 (CLASS_MAX_NREGS): For DFmode and !TARGET_FLOAT64 case,
return 2 not 4.
(CLASS_UNITS): Take size parameter instead of num (words).

From-SVN: r5618
1993-10-05 13:42:25 -07:00
Jim Wilson cae856a00a (output_init_element): When try to copy FIELD if it
is an interger constant, first check to make sure it is nonzero.

From-SVN: r5617
1993-10-05 13:39:48 -07:00
Jim Wilson 99f14de772 (fill_simple_delay_slots): When take insn from a following unconditional branch target...
(fill_simple_delay_slots): When take insn from a
following unconditional branch target, if new_label is zero, must
set it to the result of find_end_label ().

From-SVN: r5616
1993-10-05 13:28:49 -07:00
Richard Kenner 6710c3bdf8 (read_specs): Make a null entry at end of `compilers' when reading new
entry from file.

From-SVN: r5615
1993-10-05 16:25:24 -04:00
Jim Wilson d1db496104 (INITIALIZE_TRAMPOLINE): Delete #ifndef/#endif.
(INITIALIZE_TRAMPOLINE): Delete #ifndef/#endif.  Change
function name from __enable_execute_stack to __gcc_flush_cache.
(TRANSFER_FROM_TRAMPOLINE): Likewise.  Delete code calling
mprotect.  Uncomment code calling cacheflush.

From-SVN: r5614
1993-10-05 13:25:03 -07:00
Jim Wilson 40811d84eb (INITIALIZE_TRAMPOLINE, TRANSFER_FROM_TRAMPOLINE): Delete.
From-SVN: r5613
1993-10-05 13:24:14 -07:00
Richard Kenner d78c6ad5e1 (error and its kin): Use #defines for the argument lists for ease of
adding arguments and add one arg.

From-SVN: r5612
1993-10-05 16:11:43 -04:00
Richard Kenner 9e92edb4fb (rescan): Don't expand an identifier after a '#'.
From-SVN: r5611
1993-10-05 16:04:55 -04:00
Richard Kenner 99f4f5b7fa (bi-arity.o, bi-lexer.o, bi-opname.o, bi-parser.o): Include hconfig.h.
From-SVN: r5610
1993-10-05 15:49:20 -04:00
Richard Kenner a2c18d49f3 Include hconfig.h.
From-SVN: r5609
1993-10-05 15:48:49 -04:00
Richard Kenner db18259007 (struct format_char_info...
(struct format_char_info, print_table, scan_table, struct
function_info, function_info_entries, function_info_table,
record_format_info, init_format_info_table, check_format): Moved to
c-common.c.
(build_function_call): Call check_function_format.

From-SVN: r5608
1993-10-05 15:15:40 -04:00
Richard Kenner 1ccf251f97 Include <ctype.h>; avoid home-grown ISDIGIT.
(decl_attributes): Call record_function_format with DECL_NAME and also
DECL_ASSEMBLER_NAME.
(struct format_char_info): Moved here from c-typeck.c.
(print_char_table): Likewise; renamed from print_table.
(scan_char_table): Likewise; renamed from scan_table.
(struct function_format_info): Likewise; add assembler_name.
(function_format_list): Make list, not array.
(init_function_format_info): Likewise; renamed from init_format_info_table.
(record_function_format): Likewise; renamed from record_format_info;
record assembler_name.
(check_format_info): Likewise; renamed from check_format.
(check_function_format): New interface that does not require knowledge of
struct function_format_info.

From-SVN: r5607
1993-10-05 15:14:50 -04:00
Richard Kenner 561d994ff6 (init_decl_processing): Call init_function_format_info.
From-SVN: r5606
1993-10-05 15:13:36 -04:00
Richard Kenner 01e9c1c910 (init_function_format_info, record_function_format,
check_function_format): Declare.

From-SVN: r5605
1993-10-05 15:12:01 -04:00
Richard Kenner da6d85c045 (choose_temp_base): Correct size allocated for temp_filename.
From-SVN: r5604
1993-10-05 14:08:10 -04:00
Richard Kenner a8b74f4255 (dconst[012], dconstm1): Remove redundant definition.
From-SVN: r5603
1993-10-05 06:34:26 -04:00
Richard Kenner 56e2d43535 (decode_rtx_const, case CONST_DOUBLE): Only use mode of X if it is not
VOIDmode.

From-SVN: r5602
1993-10-05 06:24:31 -04:00
James Van Artsdalen 2f17722aa9 (pushxf,movxf,extenddfxf2,extendsfxf2): Handle XFmode write to MEM by eading...
(pushxf,movxf,extenddfxf2,extendsfxf2): Handle XFmode write to MEM by
eading back value after write if source doesn't die.
(movxf,extenddfxf2,extendsfxf2): Don't emit fld before calling
output_to_reg: output_to_reg does that now.

From-SVN: r5601
1993-10-05 05:52:39 +00:00
James Van Artsdalen 303872755c (output_to_reg): Handle XFmode write to MEM by reading back value after
write if source doesn't die.

From-SVN: r5600
1993-10-05 05:50:44 +00:00
James Van Artsdalen ea31f1e213 (FIXED_REGISTERS): Don't fix hard reg st7 if XFmode is enabled.
From-SVN: r5599
1993-10-05 05:49:36 +00:00
James Van Artsdalen b40b8b0642 (move_for_stack_reg): If the 387 regstack is not full when doing an XFmode write from 387 to MEM...
(move_for_stack_reg): If the 387 regstack is not full when doing an XFmode
write from 387 to MEM, copy the source reg and write the copy.

From-SVN: r5598
1993-10-05 05:48:02 +00:00
Richard Stallman a8683de70b (record_reg_classes): There is no alt_cost
for a pair of matching args if they are the same pseudo reg.

From-SVN: r5597
1993-10-05 03:07:03 +00:00