aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.c
AgeCommit message (Collapse)AuthorFilesLines
1999-08-04* expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.Jason Merrill1-1/+1
From-SVN: r28511
1999-07-27expr.c (expand_expr, [...]): Get the mode from the tree for op1, not the rtl.Jason Merrill1-1/+3
* expr.c (expand_expr, case PLUS_EXPR): Get the mode from the tree for op1, not the rtl. From-SVN: r28292
1999-07-25builtins.c (expand_builtin_saveregs): Remove static, remove exp and ignore ↵Richard Henderson1-0/+3
arguments, bail if no EXPAND_BUILTIN_SAVEREGS. * builtins.c (expand_builtin_saveregs): Remove static, remove exp and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS. (expand_builtin_next_arg): Accept ARGLIST not EXP. (stabilize_va_list): New function. (std_expand_builtin_va_start): New function. (expand_builtin_va_start): New function. (get_varargs_alias_set): New function. (std_expand_builtin_va_arg): New function. (expand_builtin_va_arg): New function. (expand_builtin_va_end): New function. (expand_builtin_va_copy): New function. (expand_builtin): Call them. * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list, __builtin_{varargs_start,stdarg_start,end,copy}. (build_va_arg): New function. * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete. (build_va_arg): Declare. * c-decl.c (ptr_type_node, va_list_type_node): New. * c-parse.gperf (__builtin_va_arg): New. * c-parse.in (VA_ARG): New token. (unary_expr): Recognize it. * expr.c (expand_expr): Expand VA_ARG_EXPR. * expr.h (std_expand_builtin_va_start): Declare. (std_expand_builtin_va_arg): Declare. (expand_builtin_va_arg): Declare. (get_varargs_alias_set): Declare. * tree.def (VA_ARG_EXPR): New. * tree.h (BUILT_IN_VARARGS_START): New. (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New. (ptr_type_node, va_list_type_node): Declare. * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument. * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise. * m88k.h, m88k.c: Likewise. * mn10300.h, mn10300.c: Likewise. * pa.h, pa.c: Likewise. * rs6000.h, rs6000.c: Likewise. * sh.h, sh.c: Likewise. * sparc.h, sparc.c: Likewise. * emit-rtl.c (operand_subword): Copy alias set. (change_address): Likewise. From-SVN: r28243
1999-07-22Break out builtin function expansion from expr.cBernd Schmidt1-1948/+1
From-SVN: r28217
1999-07-12Duh. INTVAL only wants the rtx, not an operand #.Jeff Law1-2/+2
From-SVN: r28072
1999-07-12* expr.c (expand_expr): Fix thinko in last change.Jeff Law1-2/+2
From-SVN: r28069
1999-07-12Remove redundant definition of constant_part that slipped through.Jeff Law1-2/+0
From-SVN: r28067
1999-07-12expr.c (expand_expr, [...]): Pass constants through immed_double_const to ↵Jeffrey A Law1-2/+24
ensure they are properly truncated... * expr.c (expand_expr, case PLUS_EXPR): Pass constants through immed_double_const to ensure they are properly truncated then sign extended. From-SVN: r28066
1999-06-30expr.c (emit_block_move): Use copy_to_mode_reg for !TARGET_MEM_FUNCTIONS ↵Jeffrey A Law1-2/+2
case too. * expr.c (emit_block_move): Use copy_to_mode_reg for !TARGET_MEM_FUNCTIONS case too. From-SVN: r27862
1999-06-30Fix typos (missing commas) in last changeJeff Law1-2/+2
From-SVN: r27849
1999-06-28expr.c (emit_block_move): Properly handle case where one of the block move ↵Jeff Law1-58/+114
arguments has a queued... � * expr.c (emit_block_move): Properly handle case where one of the block move arguments has a queued increment or decrement. (clear_storage): Similarly. Fix formatting goof. From-SVN: r27822
1999-06-25expr.c (expand_expr): Allow RTL_EXPR's through the ↵Gavin Romig-Koch1-1/+3
MAX_INTEGER_COMPUTATION_MODE checks. * expr.c (expand_expr): Allow RTL_EXPR's through the MAX_INTEGER_COMPUTATION_MODE checks. From-SVN: r27768
1999-06-22expr.c (expand_expr): STRIP_NOPS before checking against ↵Jason Merrill1-2/+12
MAX_INTEGER_COMPUTATION_MODE * expr.c (expand_expr): STRIP_NOPS before checking against MAX_INTEGER_COMPUTATION_MODE (check_max_integer_computation_mode): Likewise. From-SVN: r27715
1999-06-22Fix for abort when PROMOTE_MODES defined but PROMOTE_FUNCTION_{ARG,RETURN} not.Jim Wilson1-0/+14
* expr.c (store_expr): When target is a promoted subreg, return a promoted subreg as a result. From-SVN: r27705
1999-05-17tree.def (TYPE_NONCOPIED_PARTS): Revise documentation to match reality.Mark Mitchell1-1/+1
* tree.def (TYPE_NONCOPIED_PARTS): Revise documentation to match reality. * expr.c (init_noncopied_parts): Don't generate initializers for parts that don't need them. From-SVN: r26969
1999-05-12disable maintenance of errnoCraig Burley1-1/+1
From-SVN: r26897
1999-04-29emit-rtl.c (start_sequence): Expand comments.Mark Mitchell1-4/+15
* emit-rtl.c (start_sequence): Expand comments. (start_sequence_for_rtl_expr): Likewise. (push_to_sequence): Likewise. (end_sequence): Likewise. * expr.c (inhibit_defer_pop): Likewise. * expr.h (inhibit_defer_pop): Likewise. (NO_DEFER_POP): Likewise. (OK_DEFER_POP): Likewise. From-SVN: r26704
1999-04-27expr.c (emit_move_insn_1): Abort if MODE argument is invalid.Zack Weinberg1-8/+19
1999-04-27 08:32 -0400 Zack Weinberg <zack@rabi.columbia.edu> * expr.c (emit_move_insn_1): Abort if MODE argument is invalid. (compare): Punt if TREE_OPERAND (exp, 0) is an ERROR_MARK. From-SVN: r26673
1999-04-26function.c (put_var_into_stack): Change ptr_mode to Pmode in setup for ↵Mumit Khan1-23/+23
chkr_set_right_libfunc calls. * function.c (put_var_into_stack): Change ptr_mode to Pmode in setup for chkr_set_right_libfunc calls. (assign_params): Likewise. * expr.c (emit_push_insn): Change ptr_mode to Pmode in setup for chkr_copy_bitmap_libfunc and chkr_set_right_libfunc calls. (expand_assignment): Change ptr_mode to Pmode in setup for chkr_add_libfunc and chkr_copy_bitmap_libfunc. (store_expr): Change ptr_mode to Pmode in setup for chkr_add_libfunc and chkr_copy_bitmap_libfunc. (expand_expr): Change ptr_mode to Pmode in setup for chkr_check_addr_libfunc. (expand_builtin): Change ptr_mode to Pmode in setup for chkr_check_str_libfunc, chkr_copy_bitmap_libfunc and chkr_check_addr_libfunc. * calls.c (rtx_for_function_call): Change ptr_mode to Pmode in setup for chkr_check_exec_libfunc. (expand_call): Change ptr_mode to Pmode in setup for chkr_set_right_libfunc. (expand_call): Change ptr_mode to Pmode in setup for chkr_set_right_libfunc. (store_one_arg): Change ptr_mode to Pmode in setup for chkr_set_right_libfunc. Co-Authored-By: Donn Terry <donn@interix.com> From-SVN: r26664
1999-04-25* expr.c (expand_assignment): Improve test for pointer type.Donn Terry1-2/+2
From-SVN: r26634
1999-04-15expr.c (expand_assignment): Force pointers to proper mode if ↵Donn Terry1-1/+8
POINTERS_EXTEND_UNSIGNED is defined. * expr.c (expand_assignment): Force pointers to proper mode if POINTERS_EXTEND_UNSIGNED is defined. From-SVN: r26484
1999-04-08expr.c (expand_expr, [...]): Do not try to optimize a aggregate address ↵Jeffrey A Law1-0/+3
which has VOIDmode. * expr.c (expand_expr, case ARRAY_REF, COMPONENT_REF, BIT_FIELD_REF): Do not try to optimize a aggregate address which has VOIDmode. Mirrors March 23 change to expand_assignment. From-SVN: r26307
1999-04-06expr.c (expand_builtin): Use copy_to_mode_reg; don't force constants into a ↵Richard Henderson1-2/+3
register. * expr.c (expand_builtin) [BUILT_IN_RETURN_ADDRESS]: Use copy_to_mode_reg; don't force constants into a register. From-SVN: r26231
1999-04-06expr.c (expand_builtin_setjmp): Put setjmp return label on ↵Richard Henderson1-2/+7
nonlocal_goto_handler_labels for flow. * expr.c (expand_builtin_setjmp): Put setjmp return label on nonlocal_goto_handler_labels for flow. From-SVN: r26225
1999-04-02tm.texi (USE_LOAD_POST_DECREMENT, [...]): Document.Michael Hayes1-20/+0
* tm.texi (USE_LOAD_POST_DECREMENT, USE_LOAD_PRE_DECREMENT, USE_STORE_POST_DECREMENT, USE_STORE_PRE_DECREMENT): Document. (USE_LOAD_POST_INCREMENT, USE_LOAD_PRE_INCREMENT, USE_STORE_POST_INCREMENT, USE_STORE_PRE_INCREMENT): Fix documentation. * rtl.h (USE_LOAD_POST_DECREMENT, USE_LOAD_PRE_DECREMENT, USE_STORE_POST_DECREMENT, USE_STORE_PRE_DECREMENT, USE_LOAD_POST_INCREMENT, USE_LOAD_PRE_INCREMENT, USE_STORE_POST_INCREMENT, USE_STORE_PRE_INCREMENT): Provide default definition. * expr.c: (USE_LOAD_POST_INCREMENT, USE_LOAD_PRE_INCREMENT, USE_STORE_POST_INCREMENT, USE_STORE_PRE_INCREMENT): Delete default definition. From-SVN: r26134
1999-04-01Fix irix6 libstdc++ v3 build failure with complex types.Jim Wilson1-1/+3
* expr.c (store_field): When check direct_store, assume all complex modes can be directly stored. From-SVN: r26104
1999-03-23expr.c (expand_assignment): Do not try to optimize a aggregate address which ↵Jeffrey A Law1-0/+3
has VOIDmode. * expr.c (expand_assignment): Do not try to optimize a aggregate address which has VOIDmode. From-SVN: r25934
1999-03-19* expr.c (expand_expr): Handle ERROR_MARK much earlier.Martin v. Löwis1-15/+22
From-SVN: r25864
1999-03-19Warning fixes:Kaveh R. Ghazi1-1/+1
* calls.c (initialize_argument_information): Mark parameters `num_actuals' and `n_named_args' with ATTRIBUTE_UNUSED. * dbxout.c (dbxout_start_new_source_file): Likewise for parameter `filename'. (dbxout_finish): Likewise for parameters `file' and `filename'. (dbxout_prepare_symbol): Likewise for parameter `decl'. (dbxout_begin_function): Likewise. * explow.c (hard_function_value): Likewise for parameter `func'. * function.c (locate_and_pad_parm): Likewise for parameter `fndecl'. * expmed.c (expand_divmod): Omit unused argument to `expand_abs'. * expr.c (expand_expr): Likewise. * expr.h (expand_abs): Delete unused argument from prototype. * optabs.c (expand_abs): Remove unused parameter `unsignedp'. * sdbout.c (sdbout_init): Mark parameter `syms' with ATTRIBUTE_UNUSED. (sdbout_end_block): Likewise for parameter `n'. * toplev.c (debug_define): Likewise for parameters `lineno' and `buffer'. (debug_undef): Likewise. * varasm.c (named_section): Likewise for parameter 'reloc'. (assemble_external): Likewise for parameter `decl'. (assemble_alias): Likewise for parameter `target'. From-SVN: r25858
1999-03-11expr.c (expand_expr): Allow a CALL_EXPR with a mode wider than ↵Jeffrey A Law1-0/+2
MAX_INTEGER_COMPUTATION_MODE. * expr.c (expand_expr): Allow a CALL_EXPR with a mode wider than MAX_INTEGER_COMPUTATION_MODE. From-SVN: r25714
1999-02-19tree.def (TRY_FINALLY_EXPR, [...]): New tree nodes,Per Bothner1-1/+41
h * tree.def (TRY_FINALLY_EXPR, GOTO_SUBROUTINE_EXPR): New tree nodes, * expr.c (expand_expr): Support new tree nodes. From-SVN: r25308
1999-02-14except.c (start_catch_handler): Use emit_cmp_and_jump_insns.Jeffrey A Law1-16/+12
* except.c (start_catch_handler): Use emit_cmp_and_jump_insns. * explow.c (probe_stack_range): Likewise. * expmed.c (do_cmp_and_jump): Likewise. * expr.c (store_expr, expand_expr, expand_builtin): Likewise. (do_tablejump): Likewise. * stmt.c (expand_expr_stmt, expand_end_case): Likewise. (do_jump_if_equal, emit_case_nodes): Likewise. * optabs.c (emit_cmp_and_jump_insns): Clarify comments. If UNSIGNEDP, then convert comparison to an unsigned code before emitting the jump. (expand_float, expand_fix): Use emit_cmp_and_jump_insns. From-SVN: r25205
1999-02-08output.h (current_function_has_computed_jump): Rename from ↵Richard Henderson1-2/+0
current_function_addresses_labels. * output.h (current_function_has_computed_jump): Rename from current_function_addresses_labels. * function.h (struct function): Likewise for addresses_labels member. * rtl.h (FUNCTION_FLAGS_HAS_COMPUTED_JUMP): Likewise. * function.c (current_function_has_computed_jump): Likewise. Update all references. * integrate.c (function_cannot_inline_p): Test current_function_has_computed_jump instead of addresses_labels. (initialize_for_inline): Likewise save. (output_inline_function): Likewise restore. * expr.c (expand_expr): Don't reference addresses_labels variables. * stmt.c (expand_computed_goto): Set has_computed_jump. From-SVN: r25100
1999-01-26Merge in gcc2 snapshot 19980929. See gcc/ChangeLog and gcc/FSFChangeLog forJeffrey A Law1-4/+13
details. From-SVN: r24879
1999-01-21* expr.c (emit_push_insn): Fix Dumb Typo.Andrew MacLeod1-1/+1
From-SVN: r24811
1999-01-21expr.c (MOVE_BY_PIECES_P): Define condition for deciding to use move_by_pieces.Andrew MacLeod1-25/+70
* expr.c (MOVE_BY_PIECES_P): Define condition for deciding to use move_by_pieces. (MOVE_MAX_PIECES): Define maximum number of bytes to move at once. (USE_LOAD_POST_INCREMENT, USE_LOAD_PRE_DECREMENT): Define defaults. (USE_STORE_POST_INCREMENT, USE_STORE_PRE_DECREMENT): Define defaults. (move_by_pieces): Use new macros. (emit_block_move): Use new macros. (clear_by_pieces): Use new macros. (clear_storage): Use new macros. (emit_push_insn): Use new macros. (expand_expr): Use new macros. * config/sh/sh.h (USE_LOAD_POST_INCREMENT, USE_LOAD_PRE_DECREMENT): Define. (USE_STORE_POST_INCREMENT, USE_STORE_PRE_DECREMENT): Define. (MOVE_BY_PIECES_P): Define based on alignment and TARGET_SMALLCODE. (MOVE_MAX_PIECES): move 8 bytes on SH4. * tm.texi(MOVE_BY_PIECES_P, MOVE_MAX_PIECES, USE_LOAD_POST_INCREMENT, USE_LOAD_PRE_DECREMENT, USE_STORE_POST_INCREMENT, USE_STORE_PRE_DECREMENT): Describe new macros. From-SVN: r24801
1999-01-20cse.c (fold_rtx): Revert 29 Dec change.Richard Henderson1-9/+7
* cse.c (fold_rtx): Revert 29 Dec change. (cse_insn): Revert 12 Jan change. * expr.c (expand_builtin): Don't emit CONST around CONSTANT_P_RTX. * regclass.c (reg_scan_mark_refs): Revert 29 Dec change. * rtl.def: Likewise. * rtl.h (CONSTANT_P): Likewise. * expr.c (emit_move_insn): Never try to flush CONSTANT_P_RTX to memory. * recog.c (immediate_operand): Accept CONSTANT_P_RTX. * alpha.c (input_operand): Likewise. * c4x.c (const_operand): Likewise. * explow.c (allocate_dynamic_stack_space): Use register_operand instead of arith_operand, which does not exist. * 1750a.h: Fix comment closure. * a29k.c (a29k_set_memflags): Fix typo in 19 Jan change. * arc.md (one_cmplsi2_set_cc_insn): Fix set mode mismatch. * arm.h (TARGET_SWITCHES): Fix typo. * i370.md (anon mult and div patterns): Fix set mode mismatch. * i860.c (output_delayed_branch): Fix operands to constrain_operands. (output_delay_insn): Likewise. * m88k.md (anon rotate insns): Fix set mode mismatch. (anon BLKmode moves): Commonize and fix set mode mismatches. * ns32k.md (udivmoddi[shq]i4_internal): Fix mode mismatch. * romp.md (movdf): Fix typo. From-SVN: r24796
1999-01-20Update comment to match code.Richard Henderson1-1/+1
From-SVN: r24785
1999-01-19expr.c (do_jump_for_compare): Handle conditional branch expanders emitting ↵Richard Henderson1-21/+50
multiple jump instructions. * expr.c (do_jump_for_compare): Handle conditional branch expanders emitting multiple jump instructions. * jump.c (condjump_label): New function. * rtl.h (condjump_label): Declare it. From-SVN: r24773
1999-01-19expr.c (emit_move_insn_1): Revert 17 Dec change.Richard Henderson1-20/+12
* expr.c (emit_move_insn_1): Revert 17 Dec change. Don't emit clobber during or after reload. From-SVN: r24772
1999-01-19rtl.h (rtx_def): Update documentation.Mark Mitchell1-30/+10
* rtl.h (rtx_def): Update documentation. (MEM_IN_STRUCT_P): Likewise. (MEM_SCALAR_P): New macro. (MEM_COPY_ATTRIBUTES): Likewise. (MEM_SET_IN_STRUCT_P): Likewise. * rtl.texi (MEM_SCALAR_P): Document. * alias.c (canon_rtx): Use MEM_COPY_ATTRIBUTES. (fixed_scalar_and_varying_struct_p): New function. Use MEM_SCALAR_P rather than !MEM_IN_STRUCT_P. (aliases_everything_p): Likewise. (true_dependence): Use them. (write_dependence_p): New function, containing code common to anti_dependence and output_dependence. (anti_dependence): Use it. (output_dependence): Likewise. * calls.c (save_fixed_argument_area): Don't clear MEM_IN_STRUCT_P. (expand_call): Use MEM_SET_IN_STRUCT_P. (emit_library_call): Don't clear MEM_IN_STRUCT_P. (emit_library_call_value): Likewise. (store_one_arg): Use MEM_SET_IN_STRUCT_P. * combine.c (simplify_rtx): Use MEM_COPY_ATTRIBUTES. (make_extraction): Likewise. (simplify_shift_const): Likewise. (gen_lowpart_for_combine): Likewise. * cse.c (gen_lowpart_if_possible): Use MEM_COPY_ATTRIBUTES. * emit-rtl.c (operand_subword): Likewise. (change_address): Likewise. * explow.c (stabilize): Use MEM_COPY_ATTRIBUTES. * expr.c (protect_from_queue): Use MEM_COPY_ATTRIBUTES. (emit_group_store): Use MEM_SET_IN_STRUCT_P. (copy_blkmode_from_reg): Likewise. (store_field): Likewise. (expand_expr): Remove bogus guesswork setting MEM_IN_STRUCT_P heuristically. Use MEM_SET_IN_STRUCT_P. (get_memory_rtx): Likewise. * final.c (alter_subreg): Use MEM_COPY_ATTRIBUTES. * function.c (assign_stack_temp): Clear MEM_SCALAR_P and MEM_ALIAS_SET on newly returned MEMs. (assign_temp): Use MEM_SET_IN_STRUCT_P. (put_reg_into_stack): Likewise. (fixup_var_refs1): Use MEM_COPY_ATTRIBUTES. (gen_mem_addressof): Use MEM_SET_IN_STRUCT_P. (assign_parms): Likewise. (expand_function): Likewise. * integrate.c (expand_inline_function): Likewise. (copy_rtx_and_substitute): Use MEM_COPY_ATTRIBUTES. * loop.c (note_addr_stored): Remove check on MEM_IN_STRUCT_P. * optabs.c (gen_move_insn): Use MEM_COPY_ATTRIBUTES. * print-rtl.c (print_rtx): Print /f for frame_related. * recog.c (validate_replace_rtx_1): Use MEM_COPY_ATTRIBUTES. * reload1.c (reload): Copy MEM_SCALAR_P as well. * stmt.c (expand_decl): Use MEM_SET_IN_STRUCT_P. (expand_anon_union_decl): Use MEM_COPY_ATTRIBUTES. * varasm.c (make_decl_rtl): Use MEM_SET_IN_STRUCT_P. (output_constant_def): Likewise. * a29k.c (a29k_set_memflags_1): Take scalar_p. Set MEM_SCALAR_P. (a29k_set_memflags): Use it. * alpha.c (get_aligned_mem): Use MEM_COPY_ATTRIBUTES. * c4x.c (c4x_scan_for_ld): Likewise. * h8300.c (fix_bit_operand): Likewise. * m88k.c (legitimize_address): Likewise. (block_move_loop): Likewise. (block_move_no_loop): Likewise. (block_move_sequence): Likewise. (m88k_builtin_saveregs): Use MEM_SET_IN_STRUCT_P. * mips/abi64.h (SETUP_INCOMING_VARARGS): Likewise. * rs6000.c (expand_block_move_insn): Use MEM_COPY_ATTRIBUTES. * sh.c (sh_builtin_saveregs): Use MEM_SET_IN_STRUCT_P. * arm.h (arm_gen_load_multiple): Take scalar_p. (arm_store_load_multiple): Likewise. * arm.c (arm_gen_load_multiple): Likewise. (arm_gen_store_multiple): Likewise. (arm_gen_movstrqi): Treat MEM_SCALAR_P like MEM_IN_STRUCT_P. From-SVN: r24759
1999-01-15expr.c (queued_subexp_p): Make public.Richard Henderson1-2/+1
* expr.c (queued_subexp_p): Make public. * expr.h (queued_subexp_p): Declare it. * recog.c (asm_operand_ok): New function. (check_asm_operands): Use it. After reload, use constrain_operands instead. * recog.h (asm_operand_ok): Declare it. * stmt.c (expand_asm_operands): Use it to try harder to make asms initially satisfy their constraints. From-SVN: r24686
1999-01-06Fix copyrights.Jeff Law1-1/+1
From-SVN: r24531
1999-01-06expr.c (expand_builtin): Use value_mode for the return mode.Richard Henderson1-1/+1
* expr.c (expand_builtin) [case BUILT_IN_CONSTANT_P]: Use value_mode for the return mode. From-SVN: r24525
1999-01-05expr.c (store_expr): If the lhs is a memory location pointed to be a ↵Charles M. Hannum1-15/+15
postincremented (or... � * expr.c (store_expr): If the lhs is a memory location pointed to be a postincremented (or postdecremented) pointer, always force the rhs to be evaluated into a pseudo. From-SVN: r24507
1998-12-29Richard Kenner <kenner@vlsi1.ultra.nyu.edu>:Richard Henderson1-36/+29
* rtl.def (CONSTANT_P_RTX): Clarify commentary. * expr.c (expand_builtin, case BUILT_IN_CONSTANT_P): Rework to consider constant CONSTRUCTOR constant and to defer some cases to cse. * cse.c (fold_rtx, case CONST): Add handling for CONSTANT_P_RTX. * regclass.c (reg_scan_mark_refs, case CONST): Likewise. Richard Henderson <rth@cygnus.com> * expr.c (init_expr_once): Kill can_handle_constant_p recognition. * cse.c (fold_rtx, case 'x'): Remove standalone CONSTANT_P_RTX code. From-SVN: r24439
1998-12-17Do not generate CLOBBERs for non-pseudo regs.Nick Clifton1-4/+22
From-SVN: r24364
1998-11-24cse.c (fold_rtx): Make autoincrement addressing mode tests be runtime ↵Jeffrey A Law1-32/+12
selectable. * cse.c (fold_rtx): Make autoincrement addressing mode tests be runtime selectable. * expr.c (move_by_pieces): Similarly. (move_by_pieces_1, clear_by_pieces, clear_by_pieces_1): Similarly. * flow.c (find_auto_inc): Similarly. (try_pre_increment): Similarly. * loop.c (strength_reduce): Similarly. * regclass.c (auto_inc_dec_reg_p): Similarly. * regmove.c (try_auto_increment): Similarly. (fixup_match_1): Similarly. * rtl.h (HAVE_PRE_INCREMENT): Define if not already defined. (HAVE_PRE_DECREMENT): Similarly. (HAVE_POST_INCREMENT, HAVE_POST_DECREMENT): Similarly. sponding changes to all target header files. From-SVN: r23837
1998-11-19expr.c (STACK_BYTES): Delete unused macro.Bernd Schmidt1-3/+0
* expr.c (STACK_BYTES): Delete unused macro. * calls.c: Provide default for PREFERRED_STACK_BOUNDARY. (STACK_BYTES): Use PREFERRED_STACK_BOUNDARY, not STACK_BOUNDARY. (expand_call): Likewise. (emit_library_call): Likewise. (emit_library_call_value): Likewise. * function.c: Provide default for PREFERRED_STACK_BOUNDARY. (STACK_BYTES): Use PREFERRED_STACK_BOUNDARY, not STACK_BOUNDARY. * explow.c: Provide default for PREFERRED_STACK_BOUNDARY. (round_push): Use PREFERRED_STACK_BOUNDARY, not STACK_BOUNDARY. (allocate_dynamic_stack_space): Likewise. * tm.texi (PREFERRED_STACK_BOUNDARY): Document new macro. (STACK_BOUNDARY): Update description to reflect the new situation. From-SVN: r23730
1998-11-18expr.c (store_expr): Don't generate load-store pair if TEMP is identical ↵J"orn Rennecke1-2/+13
(according to ==) with TARGET. * expr.c (store_expr): Don't generate load-store pair if TEMP is identical (according to ==) with TARGET. From-SVN: r23696