Richard Kenner [Fri, 13 Aug 1993 18:30:00 +0000 (14:30 -0400)]
(expand_inline_function): Copy args that are in hard regs instead of
substiting them directly into insns.
From-SVN: r5154
Jim Wilson [Fri, 13 Aug 1993 18:28:49 +0000 (11:28 -0700)]
(GET_REAL, PUT_REAL): Add TFmode versions.
(MAXDECEXP, MINDECEXP): New decimal exponent limits
that vary with definition of LONG_DOUBLE_TYPE_SIZE.
(endian, ereal_atof, real_value_truncate, einfin, emdnorm, asctoeg):
Add cases for TFmode.
(etartdouble): New function converts REAL_VALUE_TYPE to TFmode
for use by ASM_OUTPUT_LONG_DOUBLE.
(edivm, emulm): Ifdef out, replace by faster multiply and divide.
(etoe113, toe113, e113toe): New type conversions for TFmode.
(asctoe113, e113toasc): New TFmode binary <-> decimal conversions.
(at top level): Define constants ezero, eone, emtens, etens, ...
in a new 20-byte format when LONG_DOUBLE_TYPE_SIZE = 128 and
set NE to 10. Otherwise, the internal format remains 12 bytes wide.
(etoudi, etodi, ditoe, uditoe): New functions, signed and unsigned
DImode float and fix, for real.c used in a libgcc-of-last-resort.
(esqrt): New function, correctly rounded square root for libgcc.
(etodec): Delete ifdef'd version.
(eroundi, eroundui): Rename to efixi, efixui and always
round towards zero.
From frank@atom.ansto.gov.au (Frank Crawford):
(etoibm, toibm, ibmtoe): New conversions for IBM 370 float format.
(e53toe, e64toe, toe64, etoe53, toe53, etoe24, toe24, asctoe53,
asctoeg, make_nan): Ifdef for IBM.
From-SVN: r5153
Jim Wilson [Fri, 13 Aug 1993 18:27:32 +0000 (11:27 -0700)]
(REAL_VALUE_TYPE): Define array at least 20 bytes wide if LONG_DOUBLE_TYPE_SIZE is 128 bits.
(REAL_VALUE_TYPE): Define array at least 20 bytes wide
if LONG_DOUBLE_TYPE_SIZE is 128 bits.
(etartdouble): Declare and use for REAL_VALUE_TO_TARGET_LONG_DOUBLE
when long double is TFmode.
(REAL_VALUE_FIX, REAL_VALUE_UNSIGNED_FIX): Must always round
towards zero.
From-SVN: r5152
Richard Kenner [Fri, 13 Aug 1993 11:50:22 +0000 (07:50 -0400)]
(subsi3): Merge alternatives.
(comparison patterns): Eliminate generation of "sfi."; no such instruction
exists.
From-SVN: r5151
Richard Stallman [Fri, 13 Aug 1993 05:59:36 +0000 (05:59 +0000)]
(output_init_element): Don't call default_conversion for a STRING_CST if type is directly suitable for it.
(output_init_element): Don't call default_conversion
for a STRING_CST if type is directly suitable for it.
(digest_init): Eliminate a lot of code that checks the variable
'element', since element is always 0 in these code paths.
(build_c_cast): For (void *) (FOO *) 0, return a nop_expr
so it doesn't count as a null pointer constant.
(convert_for_assignment, build_binary_op): Pedantically warn about
that case if looking for a null_pointer_constant.
(build_conditional_expr): Likewise.
From-SVN: r5150
Richard Stallman [Fri, 13 Aug 1993 01:24:18 +0000 (01:24 +0000)]
(CPP_PREDEFINES): Define _CROSS_TARGET_ARCH.
From-SVN: r5149
Richard Kenner [Thu, 12 Aug 1993 23:02:25 +0000 (19:02 -0400)]
(attribute "type"): Add new type, "branch".
(attribute "length"): New attribute; put on all insns that don't have default
length.
(branch patterns): If conditional branch won't reach, take conditional branch
around an unconditional branch.
(plus): Split (plus (COMPARISON FOO ...) ...) at FOO.
From-SVN: r5148
Michael Meissner [Thu, 12 Aug 1993 21:16:23 +0000 (21:16 +0000)]
Add -m{,no-}underscore support.
From-SVN: r5147
Michael Meissner [Thu, 12 Aug 1993 21:14:02 +0000 (21:14 +0000)]
Do not report -Wnested-extern errors for __FUNCTION__/__PRETTY_FUNCTION__.
From-SVN: r5146
Jim Wilson [Thu, 12 Aug 1993 17:52:48 +0000 (10:52 -0700)]
(legitimize_pic_address): Delete 4th arg SCRATCH.
Fix all callers.
(emit_move_sequence): Delete 3rd arg SCRATCH_REG. Fix all
callers. If operand1 is an invalid PIC address, then legitimize
it before doing anything else.
From-SVN: r5145
Jim Wilson [Thu, 12 Aug 1993 17:52:01 +0000 (10:52 -0700)]
(SECONDARY_INPUT_RELOAD_CLASS): Delete case for invalid PIC addresses.
(SECONDARY_INPUT_RELOAD_CLASS): Delete case for invalid
PIC addresses.
(CONSTANT_ADDRESS_P): Reject invalid PIC addresses.
(LEGITIMATE_PIC_OPERAND_P): New macro.
(GO_IF_LEGITIMATE_ADDRESS): Reject invalid PIC addresses.
(LEGITIMIZE_ADDRESS): Fix call to legitimize_pic_address.
From-SVN: r5144
Jim Wilson [Thu, 12 Aug 1993 17:51:16 +0000 (10:51 -0700)]
(reload_insi): Delete.
(*): Fix all callers of legitimize_pic_address and emit_move_sequence.
From-SVN: r5143
Jim Wilson [Thu, 12 Aug 1993 17:45:57 +0000 (10:45 -0700)]
(thread_prologue_and_epilogue_insns): For the
epilogue, put USE insns immediately before the return insn.
From-SVN: r5142
Jim Wilson [Thu, 12 Aug 1993 17:45:15 +0000 (10:45 -0700)]
(sched_analyze_insn): Handle USE before a JUMP_INSN just
like a USE before a CALL_INSN.
From-SVN: r5141
Jim Wilson [Thu, 12 Aug 1993 17:41:35 +0000 (10:41 -0700)]
(ASM_OUTPUT_DOUBLE): Always use REAL_VALUE_TO_TARGET_DOUBLE.
(ASM_OUTPUT_FLOAT): Always use REAL_VALUE_TO_TARGET_SINGLE.
From-SVN: r5140
Richard Stallman [Thu, 12 Aug 1993 08:06:01 +0000 (08:06 +0000)]
(store_expr): Don't return TEMP if it's a MEM.
From-SVN: r5139
Per Bothner [Thu, 12 Aug 1993 02:56:55 +0000 (19:56 -0700)]
(CONSTRUCTOR_NAME_FORMAT): Removed.
From-SVN: r5138
Per Bothner [Thu, 12 Aug 1993 02:45:47 +0000 (19:45 -0700)]
(build_module_descriptor): Use new function get_file_function_name.
From-SVN: r5137
Per Bothner [Thu, 12 Aug 1993 02:43:49 +0000 (19:43 -0700)]
(get_file_function_name): New function.
From-SVN: r5136
Jeff Law [Wed, 11 Aug 1993 23:49:36 +0000 (17:49 -0600)]
reorg.c (try_merge_delay_insns): Fix typo.
* reorg.c (try_merge_delay_insns): Fix typo.
(fill_simple_delay_slots): Only access the JUMP_LABEL field
if the INSN needing delay slots is a JUMP_INSN.
From-SVN: r5135
Richard Kenner [Wed, 11 Aug 1993 21:58:31 +0000 (17:58 -0400)]
(combine_instructions): Fix typo on test of basic block number.
From-SVN: r5134
Ian Lance Taylor [Wed, 11 Aug 1993 13:22:45 +0000 (13:22 +0000)]
Get size_t typedef using gcc, not cc
From-SVN: r5133
Roland McGrath [Wed, 11 Aug 1993 07:27:10 +0000 (07:27 +0000)]
*** empty log message ***
From-SVN: r5132
Richard Stallman [Wed, 11 Aug 1993 05:22:55 +0000 (05:22 +0000)]
(SLOW_UNALIGNED_ACCESS): Define, but allow override.
(store_bit_field): Test that instead of STRICT_ALIGNMENT.
Also, allow fetching as non-bitfield if memory is aligned enough.
(extract_bit_field): Install code here like that in store_bit_field.
From-SVN: r5131
Richard Stallman [Tue, 10 Aug 1993 21:27:23 +0000 (21:27 +0000)]
*** empty log message ***
From-SVN: r5130
Jim Wilson [Tue, 10 Aug 1993 19:11:27 +0000 (12:11 -0700)]
(cse_insn): After inserting src_eqv...
(cse_insn): After inserting src_eqv, check to see if it is
identical to any uninserted SET_SRCs, and if so, set their src_elt
to src_eqv_elt.
From-SVN: r5129
Jeff Law [Tue, 10 Aug 1993 16:56:29 +0000 (10:56 -0600)]
* pa.h (DOLLARS_IN_IDENTIFIERS): Define as 2.
From-SVN: r5128
Richard Stallman [Tue, 10 Aug 1993 05:49:29 +0000 (05:49 +0000)]
(output_move_double): Fix typos in last change.
From-SVN: r5127
Per Bothner [Tue, 10 Aug 1993 02:16:16 +0000 (19:16 -0700)]
Merge. See ChangeLog.
From-SVN: r5126
Per Bothner [Tue, 10 Aug 1993 01:59:37 +0000 (18:59 -0700)]
Merge. See ChangeLog.
From-SVN: r5125
Per Bothner [Tue, 10 Aug 1993 01:56:14 +0000 (18:56 -0700)]
Initial revision
From-SVN: r5124
Per Bothner [Tue, 10 Aug 1993 01:52:49 +0000 (18:52 -0700)]
Remove some extraneuous garbase output.
From-SVN: r5123
Jim Wilson [Mon, 9 Aug 1993 19:42:21 +0000 (12:42 -0700)]
(assembler_variable): For XCOFF_DEBUG, restore section
if dbxout_symbol call changes it.
From-SVN: r5122
Jim Wilson [Mon, 9 Aug 1993 19:37:23 +0000 (12:37 -0700)]
(schedule_insns): Don't emit a NOTE at the end of the last basic block if...
(schedule_insns): Don't emit a NOTE at the end of the last
basic block if that would put it between a JUMP_INSN and a BARRIER.
From-SVN: r5121
Jim Wilson [Mon, 9 Aug 1993 19:29:28 +0000 (12:29 -0700)]
(OPTIMIZATION_OPTIONS): Use |=, not &= to set -mpgopt.
From-SVN: r5120
Jim Wilson [Mon, 9 Aug 1993 19:26:03 +0000 (12:26 -0700)]
(function_arg, DFmode case): Set regbase to GP_ARG_FIRST
if cum->arg_number greater than or equal to 2.
From-SVN: r5119
Richard Kenner [Mon, 9 Aug 1993 11:30:54 +0000 (07:30 -0400)]
(widen_operand): New function.
(expand_binop, expand_unop): Call it.
From-SVN: r5118
Richard Stallman [Mon, 9 Aug 1993 07:30:04 +0000 (07:30 +0000)]
(contains_pointers_p): New function.
(assemble_variable): Use that.
From-SVN: r5117
Jim Wilson [Sun, 8 Aug 1993 23:19:27 +0000 (16:19 -0700)]
(sparc_type_code): Support range types.
From-SVN: r5116
Jim Wilson [Sun, 8 Aug 1993 22:48:15 +0000 (15:48 -0700)]
(expand_increment): Call save_expr on inner expression if
it is itself an increment expression.
From-SVN: r5115
Jim Wilson [Sun, 8 Aug 1993 22:19:52 +0000 (15:19 -0700)]
(_SC_PAGE_SIZE): Define to _SC_PAGESIZE if that exists.
From-SVN: r5114
Jim Wilson [Sun, 8 Aug 1993 22:10:02 +0000 (15:10 -0700)]
(reg_or_0_operand): Use fp_zero_operand.
(fp_zero_operand): New function.
From-SVN: r5113
Jim Wilson [Sun, 8 Aug 1993 22:08:50 +0000 (15:08 -0700)]
(CONST_DOUBLE_OK_FOR_LETTER_P): Use fp_zero_operand.
From-SVN: r5112
Jim Wilson [Sun, 8 Aug 1993 21:38:20 +0000 (14:38 -0700)]
(build_array_ref): Force array to be allocated on the stack if...
(build_array_ref): Force array to be allocated on the
stack if it is accessed by out-of-bound constant integer subscript.
From-SVN: r5111
Richard Kenner [Sun, 8 Aug 1993 21:31:39 +0000 (17:31 -0400)]
(num_sign_bit_copies): Properly handle case when MODE is narrower than that of X.
(num_sign_bit_copies): Properly handle case when MODE is narrower than that
of X.
(simplify_shift_const): Remove change of July 26.
From-SVN: r5110
Jim Wilson [Sun, 8 Aug 1993 21:25:54 +0000 (14:25 -0700)]
New file.
From-SVN: r5109
Richard Stallman [Sun, 8 Aug 1993 18:54:00 +0000 (18:54 +0000)]
(expand_assignment): If WANT_VALUE is 0, return NULL.
(store_expr): Likewise.
Rename arg SUGGEST_REG to WANT_VALUE.
Never return TARGET if WANT_VALUE unless BLKmode.
Instead, return TEMP or a value copied from TARGET.
Pass 0 for WANT_VALUE in recursive calls that ignore value.
(expand_expr, case PLUS_EXPR): Goto binop2 not
both_summands if we should not be returning a plus.
(do_tablejump) [PIC_CASE_VECTOR_ADDRESS]: If pic,
copy INDEX to a register early, to avoid invalid address later.
From-SVN: r5108
Richard Stallman [Sun, 8 Aug 1993 18:31:42 +0000 (18:31 +0000)]
(rest_of_decl_compilation): Fix typo in previous change.
From-SVN: r5107
Richard Stallman [Sun, 8 Aug 1993 08:33:48 +0000 (08:33 +0000)]
(declare_function_name): Set DECL_EXTERNAL in the decls.
From-SVN: r5106
Richard Stallman [Sun, 8 Aug 1993 08:33:22 +0000 (08:33 +0000)]
(rest_of_decl_compilation): Don't look at DECL_IGNORED_P.
Don't output a read-only initialized extern variable.
From-SVN: r5105
Richard Stallman [Sun, 8 Aug 1993 02:27:07 +0000 (02:27 +0000)]
(process_init_element): Don't call clear_momentary if value is 0.
From-SVN: r5104
Richard Kenner [Sat, 7 Aug 1993 22:21:23 +0000 (18:21 -0400)]
(find_reloads): Don't combine two reloads if their reload_reg_rtx
values differ.
From-SVN: r5103
Doug Evans [Sat, 7 Aug 1993 19:58:54 +0000 (19:58 +0000)]
(MAX_MOVE_MAX, MAX_UNITS_PER_WORD): New macros.
(regno_save_mode, regno_save_mem): Use them.
From-SVN: r5102
Doug Evans [Sat, 7 Aug 1993 19:50:59 +0000 (19:50 +0000)]
c-decl.c (init_decl_processing): Make long long available to | use for SIZE_TYPE and PTRDIFF_TYPE.
* c-decl.c (init_decl_processing): Make long long available to
| use for SIZE_TYPE and PTRDIFF_TYPE.
From-SVN: r5101
Richard Stallman [Sat, 7 Aug 1993 18:51:16 +0000 (18:51 +0000)]
(strict_low_part add/subtract recognizers): Use %2, not %1, in template.
From-SVN: r5100
Richard Kenner [Sat, 7 Aug 1993 14:37:12 +0000 (10:37 -0400)]
(add_long_const): New function.
(output_{pro,epi}log): Use it.
If register save area is more than 32768 from SP, compute its address into
a register.
From-SVN: r5099
Richard Kenner [Sat, 7 Aug 1993 11:43:53 +0000 (07:43 -0400)]
(expand_divmod): Clean up code and documentation, especially in areas
related to when copies are made.
From-SVN: r5098
Richard Kenner [Sat, 7 Aug 1993 11:42:21 +0000 (07:42 -0400)]
(push_reload, find_reloads): Treat (subreg (pseudo)) and (subreg (mem)) the same.
(push_reload, find_reloads): Treat (subreg (pseudo)) and (subreg (mem))
the same.
If we have (subreg:M1 (mem:M2 ...) ...), never do anything special if M1
and M2 are the same size.
From-SVN: r5097
Richard Kenner [Sat, 7 Aug 1993 11:40:17 +0000 (07:40 -0400)]
(print_node): Print obstack node is contained in.
From-SVN: r5096
Richard Kenner [Sat, 7 Aug 1993 11:39:47 +0000 (07:39 -0400)]
(print_obstack_name): New function; derived from original debug_obstack.
(debug_obstack): Call print_obstack_name.
From-SVN: r5095
Richard Stallman [Sat, 7 Aug 1993 08:48:29 +0000 (08:48 +0000)]
(finish_decl): Allow file-scope static incomplete array.
From-SVN: r5094
Richard Stallman [Fri, 6 Aug 1993 23:39:46 +0000 (23:39 +0000)]
(output_init_element): Fix backward test in last change.
Use TYPE_MAIN_VARIANT.
From-SVN: r5093
Richard Stallman [Fri, 6 Aug 1993 23:38:51 +0000 (23:38 +0000)]
(call and call_value pic recognizers) [HPUX_ASM]:
Output plain bsr, without `@PLTPC'.
From-SVN: r5092
Ian Lance Taylor [Fri, 6 Aug 1993 20:45:36 +0000 (20:45 +0000)]
Permit relative path for standard_startfile_prefix
From-SVN: r5091
Richard Kenner [Fri, 6 Aug 1993 20:11:53 +0000 (16:11 -0400)]
(shifts): Use reg_or_6bit_operand for shift counts.
From-SVN: r5090
Richard Kenner [Fri, 6 Aug 1993 20:11:21 +0000 (16:11 -0400)]
(PREDICATE_CODES): Add reg_or_6bit_operand to list.
From-SVN: r5089
Richard Kenner [Fri, 6 Aug 1993 20:10:43 +0000 (16:10 -0400)]
(reg_or_6bit_operand): New function.
From-SVN: r5088
Richard Stallman [Fri, 6 Aug 1993 08:24:14 +0000 (08:24 +0000)]
(main): If -v, print header search dir list.
From-SVN: r5087
Richard Stallman [Fri, 6 Aug 1993 07:08:12 +0000 (07:08 +0000)]
(output_init_element): Call default_conversion here.
Set constructor_erroneous, etc., here.
(process_init_element): Not here.
From-SVN: r5086
Richard Stallman [Fri, 6 Aug 1993 05:58:10 +0000 (05:58 +0000)]
Test and define __INT_WCHAR_T_H.
From-SVN: r5085
Richard Stallman [Fri, 6 Aug 1993 01:11:37 +0000 (01:11 +0000)]
(finish_struct): No pedwarn for field with enum type if size matches int.
(grokdeclarator): No error for void type for extern or global var.
(grokdeclarator): Warn here for volatile fn returning non-void type.
(start_function): Not here.
(grokdeclarator): Don't pass on const and volatile
fron function value type to function type.
From-SVN: r5084
Richard Stallman [Fri, 6 Aug 1993 01:09:27 +0000 (01:09 +0000)]
(attrib): Support attribute `volatile' with alias `noreturn', and `const'.
(stmt): In an expr stmt, call default_conversion for arrays/functions.
From-SVN: r5083
Richard Stallman [Fri, 6 Aug 1993 01:08:12 +0000 (01:08 +0000)]
(decl_attributes): Support attributes `volatile'
with alias `noreturn', and `const'.
From-SVN: r5082
Richard Stallman [Fri, 6 Aug 1993 01:07:18 +0000 (01:07 +0000)]
(output_init_element): Call digest_init before calling output_constant.
(output_init_element): Call digest_init before
calling output_constant. Always pass 0, 0 for last 2 args
to digest_init.
(build_binary_op): Warn about ordered comparison
between pointers to complete and incomplete types.
(digest_init): No error for a STRING_CST that already
went through digest_init.
(parser_build_binary_op): Generate a NON_LVALUE_EXPR, not NOP_EXPR,
around a constant value.
From-SVN: r5081
Brendan Kehoe [Fri, 6 Aug 1993 01:01:02 +0000 (21:01 -0400)]
Cygnus<->FSF merge, added g++ driver in C
From-SVN: r5080
Richard Kenner [Thu, 5 Aug 1993 23:23:52 +0000 (19:23 -0400)]
(layout_type): Put size-related nodes in same obstack as type.
From-SVN: r5079
Richard Kenner [Thu, 5 Aug 1993 23:23:22 +0000 (19:23 -0400)]
(make_node, copy_node): Set TYPE_OBSTACK.
(build_type_variant, build_type_copy, build_pointer_type): Put new node in
same obstack as old node; use push/pop obstacks.
From-SVN: r5078
Richard Kenner [Thu, 5 Aug 1993 23:22:48 +0000 (19:22 -0400)]
(TYPE_OBSTACK): New macro.
(struct tree_type): Add new field obstack.
From-SVN: r5077
Richard Kenner [Thu, 5 Aug 1993 23:17:30 +0000 (19:17 -0400)]
(push_reload, find_reloads): Refine when we reload inside a SUBREG by respecting BYTE_LOADS_*_EXTEND...
(push_reload, find_reloads): Refine when we reload inside a SUBREG by
respecting BYTE_LOADS_*_EXTEND; see comments in push_reload.
From-SVN: r5076
Michael Meissner [Thu, 5 Aug 1993 21:17:07 +0000 (21:17 +0000)]
Enable .size for elf functions.
From-SVN: r5075
Jeff Law [Thu, 5 Aug 1993 05:45:32 +0000 (23:45 -0600)]
toplev.c (rest_of_compilation): If not optimizing, turn off DECL_INLINE for functions declared as inline.
* toplev.c (rest_of_compilation): If not optimizing, turn off
DECL_INLINE for functions declared as inline. Avoid turning on
DECL_INLINE when -finline-functions is used without -O.
From-SVN: r5074
Richard Stallman [Thu, 5 Aug 1993 04:06:59 +0000 (04:06 +0000)]
(handler): Check whether c_file and o_file are 0.
From-SVN: r5073
Richard Stallman [Wed, 4 Aug 1993 23:18:30 +0000 (23:18 +0000)]
Comment change.
From-SVN: r5072
Richard Kenner [Wed, 4 Aug 1993 23:12:26 +0000 (19:12 -0400)]
(eliminate_regs_in_insn): Fix typo in last change.
From-SVN: r5071
Richard Stallman [Wed, 4 Aug 1993 22:34:32 +0000 (22:34 +0000)]
(movdf+2): Allow `f' register as source operand in
first alternative.
From-SVN: r5070
Richard Kenner [Wed, 4 Aug 1993 22:28:48 +0000 (18:28 -0400)]
(eliminate_regs_in_insn): Always do elimination in REG_NOTES if we
changed anything in the insn.
From-SVN: r5069
Richard Kenner [Wed, 4 Aug 1993 22:05:15 +0000 (18:05 -0400)]
(ASM_FILE_START): Write out two backslashes for each backslash in the
filename.
From-SVN: r5068
Richard Kenner [Wed, 4 Aug 1993 11:34:51 +0000 (07:34 -0400)]
Include gvarargs.h after hconfig.h, like elsewhere.
From-SVN: r5067
Richard Stallman [Wed, 4 Aug 1993 03:57:21 +0000 (03:57 +0000)]
(process_command): Don't check whether file `-' exists.
From-SVN: r5066
John Hassey [Wed, 4 Aug 1993 01:49:41 +0000 (01:49 +0000)]
removed INSTALL_HEADERS= so that fixinc.dgux will work
From-SVN: r5065
John Hassey [Wed, 4 Aug 1993 01:47:35 +0000 (01:47 +0000)]
Initial revision
From-SVN: r5064
Richard Kenner [Tue, 3 Aug 1993 21:34:43 +0000 (17:34 -0400)]
(store_one_arg): Don't pass ARG->STACK as TARGET if it is a different
mode than the expression (i.e., a promoted mode).
From-SVN: r5063
Richard Kenner [Tue, 3 Aug 1993 21:33:37 +0000 (17:33 -0400)]
(code_to_optab): New variable.
(init_optab): Initialize it.
From-SVN: r5062
Richard Kenner [Tue, 3 Aug 1993 21:33:11 +0000 (17:33 -0400)]
Declare code_to_optab.
From-SVN: r5061
Richard Kenner [Tue, 3 Aug 1993 21:31:46 +0000 (17:31 -0400)]
(force_to_mode): Now pass actual AND mask instead of number off;
generalize appropriately.
Move most cases from simplify_and_const_int in.
(simplify_and_const_int): Remove most code from here; call force_to_mode
instead.
(subst, make_extraction, make_compound_operation): Change calls to
force_to_mode.
(make_field_assignment): Likewise.
(simplify_comparison): Add call to force_to_mode when doing a sign bit
comparison.
From-SVN: r5060
Richard Stallman [Tue, 3 Aug 1993 21:27:41 +0000 (21:27 +0000)]
(struct undo): Rename `rtx' fields to `r'.
(undo_all, SUBST, gen_rtx_combine): Corresponding changes.
From-SVN: r5059
Jim Wilson [Tue, 3 Aug 1993 19:38:40 +0000 (12:38 -0700)]
(block_alloc): Don't attempt to allocate a
SCRATCH if it will not fit in scratch_list.
From-SVN: r5058
Richard Stallman [Tue, 3 Aug 1993 03:13:17 +0000 (03:13 +0000)]
entered into RCS
From-SVN: r5057
Richard Kenner [Mon, 2 Aug 1993 22:52:56 +0000 (18:52 -0400)]
(subst): Move simple operations inside IF_THEN_ELSE if the IF_THEN_ELSE is in the second operand as well as the first.
(subst): Move simple operations inside IF_THEN_ELSE if the IF_THEN_ELSE is in
the second operand as well as the first.
(subst, case NEG): Use plus_constant to make a PLUS.
(subst, case MINUS): Simplify (minus 1 (comparison foo bar)).
(subst, case EQ): Add a number of missing cases where comparisons may be
replaced with arithmetic or logical ops.
(subst, case IF_THEN_ELSE): Handle (if_then_else COND (OP Z C1) Z) in a more
general manner.
(simplify_and_const_int): Make AND with gen_binary in case we can simplify it.
From-SVN: r5056
Richard Stallman [Mon, 2 Aug 1993 19:18:17 +0000 (19:18 +0000)]
(CLIB): Fix typo.
From-SVN: r5055