OSDN Git Service

pf3gnuchains/gcc-fork.git
31 years agoInclude syslimits.h instead of system's limits.h.
rms [Thu, 24 Sep 1992 06:57:35 +0000 (06:57 +0000)]
Include syslimits.h instead of system's limits.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2224 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(USER_H): Add syslimits.h.
rms [Thu, 24 Sep 1992 06:57:11 +0000 (06:57 +0000)]
(USER_H): Add syslimits.h.
(install-fixincludes): If we fix system's limits.h, install that as syslimits.h

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2223 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(readescape): New arg ignore_ptr.
rms [Thu, 24 Sep 1992 06:53:13 +0000 (06:53 +0000)]
(readescape): New arg ignore_ptr.
(yylex): Pass new arg, handle result that comes back.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2222 138bc75d-0d04-0410-961f-82ee72b054a4

31 years agoComment fix.
rms [Thu, 24 Sep 1992 06:08:30 +0000 (06:08 +0000)]
Comment fix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2221 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(find_reloads_address): Properly check for constant address.
kenner [Wed, 23 Sep 1992 23:26:34 +0000 (23:26 +0000)]
(find_reloads_address): Properly check for constant address.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2220 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(simplify_unary_operation, case SIGN_EXTEND): Use HOST_BITS_PER_WIDE_INT,
kenner [Wed, 23 Sep 1992 23:26:03 +0000 (23:26 +0000)]
(simplify_unary_operation, case SIGN_EXTEND): Use HOST_BITS_PER_WIDE_INT,
not HOST_BITS_PER_INT.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2219 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(fold_convert): Add missing cast to HOST_WIDE_INT.
kenner [Wed, 23 Sep 1992 23:24:45 +0000 (23:24 +0000)]
(fold_convert): Add missing cast to HOST_WIDE_INT.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2218 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(jump_optimize): Tighten up test for when we can't delete a set of CC0.
kenner [Wed, 23 Sep 1992 23:24:25 +0000 (23:24 +0000)]
(jump_optimize): Tighten up test for when we can't delete a set of CC0.
Don't insert insns between set and use of CC0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2217 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(shorten_branches): Correctly access insn needing delay slot.
kenner [Wed, 23 Sep 1992 23:23:47 +0000 (23:23 +0000)]
(shorten_branches): Correctly access insn needing delay slot.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2216 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(significant_bits, num_sign_bit_copies): Handle SUBREGs made for promoted
kenner [Wed, 23 Sep 1992 23:23:19 +0000 (23:23 +0000)]
(significant_bits, num_sign_bit_copies): Handle SUBREGs made for promoted
variables.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2215 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(fill_simple_delay_slots): Don't make copy of insn that references CC0.
kenner [Wed, 23 Sep 1992 23:22:40 +0000 (23:22 +0000)]
(fill_simple_delay_slots): Don't make copy of insn that references CC0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2214 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(define_attr "type"): New type "ibranch".
kenner [Wed, 23 Sep 1992 23:21:45 +0000 (23:21 +0000)]
(define_attr "type"): New type "ibranch".
(define_attr "length"): Set length for "ibranch" type.
(define_attr "in_delay_slot"): Add new type "ibranch"; for "branch", only has
delay slot if length is 4.
(define_attr "cc_type"): Add new type "ibranch".
(indirect branches): Now type "ibranch".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2213 138bc75d-0d04-0410-961f-82ee72b054a4

31 years agoUndo most of 9/22 changes
meissner [Wed, 23 Sep 1992 15:25:23 +0000 (15:25 +0000)]
Undo most of 9/22 changes

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2212 138bc75d-0d04-0410-961f-82ee72b054a4

31 years agoFinish changing _ANSI_H to _ANSI_H_.
rms [Wed, 23 Sep 1992 04:12:08 +0000 (04:12 +0000)]
Finish changing _ANSI_H to _ANSI_H_.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2211 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(basic_induction_var): Inside PLUS, when looking for promoted
rms [Wed, 23 Sep 1992 03:46:26 +0000 (03:46 +0000)]
(basic_induction_var): Inside PLUS, when looking for promoted
var, make sure it's a REG.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2210 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(perform_fixdfsi): Copy arg to memory variable.
rms [Wed, 23 Sep 1992 03:39:59 +0000 (03:39 +0000)]
(perform_fixdfsi): Copy arg to memory variable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2209 138bc75d-0d04-0410-961f-82ee72b054a4

31 years agoEliminate -fbuiltin/-fno-builtin hacks & enable OSF/rose shared libs.
meissner [Tue, 22 Sep 1992 21:03:23 +0000 (21:03 +0000)]
Eliminate -fbuiltin/-fno-builtin hacks & enable OSF/rose shared libs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2208 138bc75d-0d04-0410-961f-82ee72b054a4

31 years agoEliminate -fbuiltin/-fno-builtin hacks.
meissner [Tue, 22 Sep 1992 21:02:54 +0000 (21:02 +0000)]
Eliminate -fbuiltin/-fno-builtin hacks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2207 138bc75d-0d04-0410-961f-82ee72b054a4

31 years agoPut correct source into tree.
meissner [Tue, 22 Sep 1992 16:31:20 +0000 (16:31 +0000)]
Put correct source into tree.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2206 138bc75d-0d04-0410-961f-82ee72b054a4

31 years agoFix varardic function returning a structure or union.
meissner [Tue, 22 Sep 1992 16:20:16 +0000 (16:20 +0000)]
Fix varardic function returning a structure or union.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2205 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(choose_reload_regs): When setting reg_has_output_reload,
rms [Tue, 22 Sep 1992 07:13:24 +0000 (07:13 +0000)]
(choose_reload_regs): When setting reg_has_output_reload,
loop over multiple regs only for hard reg.  Set reg_is_output_reload
in separate loop.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2204 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago * reorg.c (mark_set_resources, case REG): A register is set iff
law [Mon, 21 Sep 1992 16:21:38 +0000 (16:21 +0000)]
* reorg.c (mark_set_resources, case REG): A register is set iff
"in_dest" is nonzero.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2203 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(make_extraction): Make test whether to use AND or
rms [Mon, 21 Sep 1992 13:33:38 +0000 (13:33 +0000)]
(make_extraction): Make test whether to use AND or
{SIGN,ZERO}_EXTRACT depend on UNSIGNEDP.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2202 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(reload): Print the needs to the dump file.
kenner [Mon, 21 Sep 1992 12:26:33 +0000 (12:26 +0000)]
(reload): Print the needs to the dump file.

(reload): If we can't get a register that we know won't interfere with groups,
get one that might instead of giving up.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2201 138bc75d-0d04-0410-961f-82ee72b054a4

31 years agoGet alloca using ALLOCA, not libucb.a.
rms [Mon, 21 Sep 1992 07:08:50 +0000 (07:08 +0000)]
Get alloca using ALLOCA, not libucb.a.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2200 138bc75d-0d04-0410-961f-82ee72b054a4

31 years agoInitial revision
rms [Mon, 21 Sep 1992 07:08:28 +0000 (07:08 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2199 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(put_var_into_stack): Check REG != 0 before dereference.
rms [Mon, 21 Sep 1992 06:46:22 +0000 (06:46 +0000)]
(put_var_into_stack): Check REG != 0 before dereference.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2198 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(find_comparison_args): New args PMODE1, PMODE2.
rms [Mon, 21 Sep 1992 03:51:25 +0000 (03:51 +0000)]
(find_comparison_args): New args PMODE1, PMODE2.
(fold_rtx, record_jump_equiv): Use them to get modes of comparison.
(fold_rtx): Associate MINUS with nested PLUS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2197 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(subst): Set and compare extend_op with 0, not NULL.
rms [Mon, 21 Sep 1992 03:08:45 +0000 (03:08 +0000)]
(subst): Set and compare extend_op with 0, not NULL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2196 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(LPREFIX): Overridden as `.L'.
rms [Mon, 21 Sep 1992 01:19:24 +0000 (01:19 +0000)]
(LPREFIX): Overridden as `.L'.
(ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2195 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(try_combine): Always call set_significant on new patterns, so don't call
kenner [Mon, 21 Sep 1992 00:05:40 +0000 (00:05 +0000)]
(try_combine): Always call set_significant on new patterns, so don't call
just in split case.

(subst): Move sign extension inside arithmetic when we have a constant
computation inside another computation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2194 138bc75d-0d04-0410-961f-82ee72b054a4

31 years agoFix indentation. Carry out renamings from hash.h.
rms [Sun, 20 Sep 1992 23:43:50 +0000 (23:43 +0000)]
Fix indentation.  Carry out renamings from hash.h.
Rename args and locals also.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2193 138bc75d-0d04-0410-961f-82ee72b054a4

31 years agoFix indentation, clean up comments.
rms [Sun, 20 Sep 1992 23:42:24 +0000 (23:42 +0000)]
Fix indentation, clean up comments.
Rename structure fields and typedefs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2192 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(jump_optimize): Delete insns that set registers that are not used elsewhere.
kenner [Sun, 20 Sep 1992 09:53:06 +0000 (09:53 +0000)]
(jump_optimize): Delete insns that set registers that are not used elsewhere.
Fix some bugs in "if (...) x = a; else x = b;" code.
Remove uses of reorder_insns.
Add code to make scc insns for "if (...) x = exp;" if EXP is simple enough.
Optimize "if (...) x = b;" if jumps very expensive; don't use a REG as the
older value of X since it doesn't help and can hurt.
Correctly place generated insns in above case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2191 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(emit_insn_after_with_line_notes): New function.
kenner [Sun, 20 Sep 1992 09:52:26 +0000 (09:52 +0000)]
(emit_insn_after_with_line_notes): New function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2190 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(subst, simplify_and_const_int, significant_bits): Treat
kenner [Sun, 20 Sep 1992 09:51:37 +0000 (09:51 +0000)]
(subst, simplify_and_const_int, significant_bits): Treat
BYTE_LOADS_SIGN_EXTEND just like BYTE_LOADS_ZERO_EXTEND.
(num_sign_bit_copies, case MEM): New case for BYTE_LOADS_SIGN_EXTEND.
(num_sign_bit_copies, case SUBREG): Handle just like significant_bits.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2189 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(find_reloads, find_reloads_toplev): Treat BYTE_LOADS_SIGN_EXTEND just
kenner [Sun, 20 Sep 1992 09:50:34 +0000 (09:50 +0000)]
(find_reloads, find_reloads_toplev): Treat BYTE_LOADS_SIGN_EXTEND just
like BYTE_LOADS_ZERO_EXTEND.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2188 138bc75d-0d04-0410-961f-82ee72b054a4

31 years agoAdd comment in find_reloads.
rms [Sun, 20 Sep 1992 07:25:26 +0000 (07:25 +0000)]
Add comment in find_reloads.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2187 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(SIZE_TYPE): Defined.
rms [Sat, 19 Sep 1992 22:02:28 +0000 (22:02 +0000)]
(SIZE_TYPE): Defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2186 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(walk_insn_part, case IF_THEN_ELSE): Refine when HAVE_CMOVE_FLAG gets set.
kenner [Sat, 19 Sep 1992 19:55:22 +0000 (19:55 +0000)]
(walk_insn_part, case IF_THEN_ELSE): Refine when HAVE_CMOVE_FLAG gets set.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2185 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(delete_insn): Don't change labels to NOTEs if we would not really have
kenner [Sat, 19 Sep 1992 19:54:32 +0000 (19:54 +0000)]
(delete_insn): Don't change labels to NOTEs if we would not really have
deleted them.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2184 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(note_insn_name): Fix typo: had NOT_INSN_DELETED_LABEL.
kenner [Sat, 19 Sep 1992 19:54:05 +0000 (19:54 +0000)]
(note_insn_name): Fix typo: had NOT_INSN_DELETED_LABEL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2183 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(try_combine): When removing REG_UNUSED note, update reg_n_deaths.
kenner [Sat, 19 Sep 1992 19:53:26 +0000 (19:53 +0000)]
(try_combine): When removing REG_UNUSED note, update reg_n_deaths.
Likewise, when making new REG_DEAD notes for distribute_notes.
(remove_death, move_deaths): Update reg_n_deaths.
(distribute_notes): When placing second REG_DEAD or REG_UNUSED note or
ignoring such a note, update reg_n_deaths.

(simplify_comparison, case ASHIFT): Fix typo.

(try_combine): The insns made by a DEFINE_SPLIT might contain a PARALLEL and
the call to recog_for_combine might add it.

(combine_instructions): Clear significant_valid at end of combine pass for
a function.
(find_split_point, case MEM): See if first operand of the PLUS that makes
up an address is complex.
(subst): Add missing arg to recursive calls when IF_THEN_ELSE is an arg
of an operator.
(subst, case IF_THEN_ELSE): Generalize code to propagate comparison result
into arms by using known_cond.
If an arm is the first operand of the comparison, make it the true arm.
Remove unneeded comparison when arms are identical.
Try to convert IF_THEN_ELSE to ABS, (neg (abs X)), [US]MIN, [US]MAX.
Convert (if_then_else (ne A 0) (OP X C) X) to (OP X (mult A C)).
(subst, case SET): If we don't have conditional moves, convert IF_THEN_ELSE
into logical operations.
(subst, case AND): Always make conditional moves, even if we don't support
them on the machine.
(known_cond, extended_count): New functions.
(gen_binary): For commutative operations, put constant last.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2182 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(find_splittable_regs): If any BIV update isn't simple, don't split it.
kenner [Sat, 19 Sep 1992 19:50:23 +0000 (19:50 +0000)]
(find_splittable_regs): If any BIV update isn't simple, don't split it.
(final_giv_value): Look for biv updates by matching insns; don't try to
reparse the insn.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2181 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(tail_recursion_args): Use mode of DECL_RTL, not DECL_MODE.
kenner [Sat, 19 Sep 1992 19:49:48 +0000 (19:49 +0000)]
(tail_recursion_args): Use mode of DECL_RTL, not DECL_MODE.
(expand_decl): Promote modes of scalar variables when useful on target.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2180 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(expand_binop, expand_unop): Don't make SUBREG for promoted variables as
kenner [Sat, 19 Sep 1992 19:49:13 +0000 (19:49 +0000)]
(expand_binop, expand_unop): Don't make SUBREG for promoted variables as
operands.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2179 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(basic_induction_var): Add new parameter P.
kenner [Sat, 19 Sep 1992 19:48:43 +0000 (19:48 +0000)]
(basic_induction_var): Add new parameter P.
Check for bivs that are set over multiple insns and also allow a SIGN_EXTEND
to be used; remove check for MINUS since we don't make MINUS with a constant
2nd operand any more.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2178 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(expand_inline_function): Convert actual to formal's mode (in case formal
kenner [Sat, 19 Sep 1992 19:47:55 +0000 (19:47 +0000)]
(expand_inline_function): Convert actual to formal's mode (in case formal
was promoted).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2177 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(struct var_refs_queue): Remove unused field ORIGINAL.
kenner [Sat, 19 Sep 1992 19:47:28 +0000 (19:47 +0000)]
(struct var_refs_queue): Remove unused field ORIGINAL.
Add new fields PROMOTED_MODE and UNSIGNEDP.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2176 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(fixup_var_refs{,_insns}): Add new parms for promoted mode and signedness;
kenner [Sat, 19 Sep 1992 19:47:00 +0000 (19:47 +0000)]
(fixup_var_refs{,_insns}): Add new parms for promoted mode and signedness;
all callers changed.
Insert mode conversions when required.
(fixup_var_refs_1): Add new parms for mode and signedness; handle SUBREGs
for promoted values.
(assign_parms): Promote the mode of parameters when useful for the target
machine.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2175 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(convert_move, convert_to_mode): Strip off a SUBREG made for variables with
kenner [Sat, 19 Sep 1992 19:45:55 +0000 (19:45 +0000)]
(convert_move, convert_to_mode): Strip off a SUBREG made for variables with
promoted modes.
(store_expr): Store into variables with promoted modes by doing the
appropriate extension operation.
(expand_expr, case VAR_DECL): Generate SUBREGs for promoted objects.
(expand_expr, case SAVE_EXPR): Likewise for SAVE_EXPRs.
(expand_increment): Handle increment of promoted objects.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2174 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(PROMOTE_MODE): Provide default definition.
kenner [Sat, 19 Sep 1992 19:44:58 +0000 (19:44 +0000)]
(PROMOTE_MODE): Provide default definition.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2173 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(DECL_MODE, DECL_RTL): Update comments.
kenner [Sat, 19 Sep 1992 19:44:33 +0000 (19:44 +0000)]
(DECL_MODE, DECL_RTL): Update comments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2172 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(SUBREG_PROMOTED_{VAR,UNSIGNED}_P): New macros.
kenner [Sat, 19 Sep 1992 19:44:05 +0000 (19:44 +0000)]
(SUBREG_PROMOTED_{VAR,UNSIGNED}_P): New macros.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2171 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(reg_set_last): Allow old value to be a SUBREG.
kenner [Sat, 19 Sep 1992 19:42:53 +0000 (19:42 +0000)]
(reg_set_last): Allow old value to be a SUBREG.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2170 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(smax, smin, umax, umin): Add define_splits.
kenner [Sat, 19 Sep 1992 19:42:00 +0000 (19:42 +0000)]
(smax, smin, umax, umin): Add define_splits.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2169 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(print_operand, case 'h', 'H', 'w'): Minor cleanups.
kenner [Sat, 19 Sep 1992 19:41:16 +0000 (19:41 +0000)]
(print_operand, case 'h', 'H', 'w'): Minor cleanups.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2168 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(PROMOTE_MODE): New macro.
kenner [Sat, 19 Sep 1992 19:40:40 +0000 (19:40 +0000)]
(PROMOTE_MODE): New macro.

(BRANCH_COST): Increase from 2 to 3.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2167 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago({load,store}_multiple): Use MATCH_PAR_DUP.
kenner [Sat, 19 Sep 1992 19:38:28 +0000 (19:38 +0000)]
({load,store}_multiple): Use MATCH_PAR_DUP.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2166 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(fold_convert): Avoid using conversion of unsigned
rms [Sat, 19 Sep 1992 19:00:40 +0000 (19:00 +0000)]
(fold_convert): Avoid using conversion of unsigned
to floating; offset value by hand to fit in signed type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2165 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(find_reloads): Always use >= with FIRST_PSEUDO_REGISTER.
rms [Sat, 19 Sep 1992 18:53:18 +0000 (18:53 +0000)]
(find_reloads): Always use >= with FIRST_PSEUDO_REGISTER.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2164 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(sCOND patterns): Don't allow a MEM in the SET_DEST, because these insns
jrv [Sat, 19 Sep 1992 11:55:33 +0000 (11:55 +0000)]
(sCOND patterns): Don't allow a MEM in the SET_DEST, because these insns
can't have input reloads, and a MEM might need an input address reload.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2163 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(subst_constants): Do substitute in address of MEM dest.
rms [Sat, 19 Sep 1992 05:33:47 +0000 (05:33 +0000)]
(subst_constants): Do substitute in address of MEM dest.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2162 138bc75d-0d04-0410-961f-82ee72b054a4

31 years agoFix typo in init_reload.
mycroft [Sat, 19 Sep 1992 04:52:22 +0000 (04:52 +0000)]
Fix typo in init_reload.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2161 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(fold_rtx): For SUBREG, actually test subreg_lowpart_p in the
rms [Sat, 19 Sep 1992 04:48:37 +0000 (04:48 +0000)]
(fold_rtx): For SUBREG, actually test subreg_lowpart_p in the
code to handle narrowing subregs.  And exclude binary ops like DIV
where truncating the args is not valid.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2160 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(initializer_constant_valid_p): Warn about address
rms [Sat, 19 Sep 1992 04:47:57 +0000 (04:47 +0000)]
(initializer_constant_valid_p): Warn about address
arithmetic destined for a type that's too narrow.
New argument ENDTYPE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2159 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(exit): Declare _exit as volatile.
rms [Sat, 19 Sep 1992 04:47:11 +0000 (04:47 +0000)]
(exit): Declare _exit as volatile.
(__CTOR_LIST__, __DTOR_LIST__): Moved to separate member.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2158 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(assign_parms): Set MEM_IN_STRUCT_P right in stack slots.
rms [Sat, 19 Sep 1992 04:46:22 +0000 (04:46 +0000)]
(assign_parms): Set MEM_IN_STRUCT_P right in stack slots.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2157 138bc75d-0d04-0410-961f-82ee72b054a4

31 years agoDon't look for *.h symlinks if the host doesn't have symlinks.
rms [Sat, 19 Sep 1992 04:43:29 +0000 (04:43 +0000)]
Don't look for *.h symlinks if the host doesn't have symlinks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2156 138bc75d-0d04-0410-961f-82ee72b054a4

31 years agoentered into RCS
roland [Fri, 18 Sep 1992 23:59:45 +0000 (23:59 +0000)]
entered into RCS

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2155 138bc75d-0d04-0410-961f-82ee72b054a4

31 years agoAllow calls to absolute addresses.
meissner [Fri, 18 Sep 1992 21:33:31 +0000 (21:33 +0000)]
Allow calls to absolute addresses.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2154 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(load store patterns): Prepend loads and stores with %V
wood [Fri, 18 Sep 1992 10:46:32 +0000 (10:46 +0000)]
(load store patterns): Prepend loads and stores with %V
and %v to track the type and address of the access.
(call_movstrsi_loop): Renamed from call_block_move_loop.
Use call-value for the block move patterns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2153 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago*** empty log message ***
wood [Fri, 18 Sep 1992 10:43:20 +0000 (10:43 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2152 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(PERFERRED_DEBUGGING_TYPE): Compute based on
wood [Fri, 18 Sep 1992 10:42:19 +0000 (10:42 +0000)]
(PERFERRED_DEBUGGING_TYPE): Compute based on
m88k_version.
(CPU_DEFAULT): Make it -m88000.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2151 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(m88k_volatile_code): New variable.
wood [Fri, 18 Sep 1992 10:41:10 +0000 (10:41 +0000)]
(m88k_volatile_code): New variable.
(print_operand): Track volatile memory references and output a
serializing instruction before a load when necessary.
(m88k_version, m88k_version_0300): New variables.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2150 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(install-common-headers): Don't copy byteorder.h.
rms [Fri, 18 Sep 1992 05:09:55 +0000 (05:09 +0000)]
(install-common-headers): Don't copy byteorder.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2149 138bc75d-0d04-0410-961f-82ee72b054a4

31 years agoDon't include-next if _LIBC_LIMITS_H_ defined.
rms [Thu, 17 Sep 1992 21:28:44 +0000 (21:28 +0000)]
Don't include-next if _LIBC_LIMITS_H_ defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2148 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(parse_escape): Diagnose '\x' with no digits.
rms [Thu, 17 Sep 1992 21:11:17 +0000 (21:11 +0000)]
(parse_escape): Diagnose '\x' with no digits.
Diagnose integer overflow when parsing \x escapes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2147 138bc75d-0d04-0410-961f-82ee72b054a4

31 years agoComment added.
rms [Thu, 17 Sep 1992 19:47:09 +0000 (19:47 +0000)]
Comment added.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2146 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(SIGNED_CHAR_SPEC): Use #if rather than ?: to handle
rms [Thu, 17 Sep 1992 19:45:49 +0000 (19:45 +0000)]
(SIGNED_CHAR_SPEC): Use #if rather than ?: to handle
setting the default SIGNED_CHAR_SPEC macro, since the 3.0 version
of the MIPS C compiler doesn't like ?: in initializers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2145 138bc75d-0d04-0410-961f-82ee72b054a4

31 years agoInitial revision
moore [Thu, 17 Sep 1992 19:10:21 +0000 (19:10 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2144 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
moore [Thu, 17 Sep 1992 19:09:02 +0000 (19:09 +0000)]
(SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
        WCHAR_SIZE): Define for hpux.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2143 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(FUNCTION_ARG_ADVANCE, FUNCTION_ARG): Fix double integer
moore [Thu, 17 Sep 1992 19:08:30 +0000 (19:08 +0000)]
(FUNCTION_ARG_ADVANCE, FUNCTION_ARG): Fix double integer
        argument alignment.
        (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_SIZE): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2142 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(print_operand): Don't abort if error: might have been a user asm.
jrv [Thu, 17 Sep 1992 05:21:44 +0000 (05:21 +0000)]
(print_operand): Don't abort if error: might have been a user asm.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2141 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(addsi3,ashlsi3): Handle the case where the stack pointer appears as an
jrv [Thu, 17 Sep 1992 05:20:26 +0000 (05:20 +0000)]
(addsi3,ashlsi3): Handle the case where the stack pointer appears as an
index reg.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2140 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(parse_number): Warn about '9' in octal constants.
rms [Thu, 17 Sep 1992 02:46:36 +0000 (02:46 +0000)]
(parse_number): Warn about '9' in octal constants.
Commonize overflow detection for various radices.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2139 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(casesi): Use emit_jump_insn to emit casesi0 pattern.
tege [Wed, 16 Sep 1992 23:36:52 +0000 (23:36 +0000)]
(casesi): Use emit_jump_insn to emit casesi0 pattern.
(xorsi3): Remove `r' from output template.
(movstrsi recognizer): Add `+' to operand 0 & 1 constraints.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2138 138bc75d-0d04-0410-961f-82ee72b054a4

31 years agoprint correct number of half-pic ptrs/refs for -mstats
meissner [Wed, 16 Sep 1992 19:59:37 +0000 (19:59 +0000)]
print correct number of half-pic ptrs/refs for -mstats

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2137 138bc75d-0d04-0410-961f-82ee72b054a4

31 years agoDo not fold constant comparisons
meissner [Wed, 16 Sep 1992 18:52:31 +0000 (18:52 +0000)]
Do not fold constant comparisons

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2136 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(rest_of_decl_compilation): Call `dwarfout_file_scope_decl'
rms [Wed, 16 Sep 1992 02:55:26 +0000 (02:55 +0000)]
(rest_of_decl_compilation):  Call `dwarfout_file_scope_decl'
immediately for actual *definitions* of file-scope variables (and
file-scope typedefs too).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2135 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(EXINIT): Clear it to avoid problems with bad values.
wilson [Wed, 16 Sep 1992 01:17:03 +0000 (01:17 +0000)]
(EXINIT): Clear it to avoid problems with bad values.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2134 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(print_node): Don't print blank line for null fields in a TREE_VEC.
wilson [Wed, 16 Sep 1992 01:13:47 +0000 (01:13 +0000)]
(print_node): Don't print blank line for null fields in a TREE_VEC.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2133 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(macroexpand): Don't output another error message if have
wilson [Wed, 16 Sep 1992 01:10:26 +0000 (01:10 +0000)]
(macroexpand): Don't output another error message if have
already output error message returned from macarg.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2132 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(grokparms): Copy parm list if it isn't permanent,
wilson [Wed, 16 Sep 1992 01:07:05 +0000 (01:07 +0000)]
(grokparms): Copy parm list if it isn't permanent,
instead of copying it if temporary allocation has been turned off.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2131 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(only_leaf_regs_used): Check for global_regs.
wilson [Wed, 16 Sep 1992 01:03:48 +0000 (01:03 +0000)]
(only_leaf_regs_used): Check for global_regs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2130 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(lang_identifier): Add limbo_value field for out of
wilson [Wed, 16 Sep 1992 00:55:38 +0000 (00:55 +0000)]
(lang_identifier): Add limbo_value field for out of
scope block level extern declarations.
(IDENTIFIER_LIMBO_VALUE): New define, to access that field.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2129 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(print_lang_identifier): Print value of limbo field.
wilson [Wed, 16 Sep 1992 00:54:45 +0000 (00:54 +0000)]
(print_lang_identifier): Print value of limbo field.
(pushdecl): Check an extern decl against both previous global and
previous limbo declarations.  For global declarations, clear limbo
value field.  For block level extern declarations, set limbo field
if zero.
(grokdeclarator): If this is a block level extern, then allocate
it on the permanent obstack, not the temporary obstack.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2128 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(yylex): Integer constant is unsigned for purposes of
rms [Tue, 15 Sep 1992 21:37:46 +0000 (21:37 +0000)]
(yylex): Integer constant is unsigned for purposes of
int_fits_type_p so that it compares huge constants properly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2127 138bc75d-0d04-0410-961f-82ee72b054a4

31 years ago(int_fits_type_p): Negative ints never fit unsigned
rms [Tue, 15 Sep 1992 21:37:22 +0000 (21:37 +0000)]
(int_fits_type_p): Negative ints never fit unsigned
types, and unsigned ints with top-bit-set never fit signed types.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2126 138bc75d-0d04-0410-961f-82ee72b054a4

31 years agoDo cld before each string move/compare.
meissner [Tue, 15 Sep 1992 18:44:07 +0000 (18:44 +0000)]
Do cld before each string move/compare.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2125 138bc75d-0d04-0410-961f-82ee72b054a4