This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Simple speedup patches


Here is the original patch with some more speedups.
Do you want me to split up the patch, as it is a little big?

Thanks,
Andrew Pinski

ChangeLog:

2003-04-22 Andrew Pinski <pinskia at physics dot uc dot edu>

	* alias.c (rtx_equal_for_memref_p): Move equality check
	before the check for zero, remove redundant check for
	double zero. (find_base_term): Move case `REG' out of the switch.
	* cfgrtl.c (verify_flow_info): Remove redundant INSN_UID.
	Remove invariant load in the loop over instructions in the basic
	block.
	* gcse.c (trim_ld_motion_mems): Remove invariant load of
	ptr->pattern, expr_hash_table.table, and expr_hash_table.size.
	(compute_store_table): Remove invariant load of INSN_UID (insn).
	(find_loads): Remove redundant checks of GET_CODE (x). Rewrite the
	loop over the the insn. (build_store_vectors): Remove invariant
	load of bb->index, max_gcse_regno and ptr->index.
	* lists.c (alloc_INSN_LIST): Rewrite so that sibcall can be
	applied. (alloc_EXPR_LIST): Likewise.
	* loop.c (loop_regs_scan): Remove invariant load of regs->num.
	* rtlanal.c (reg_mentioned_p): Remove redundant checks for
	GET_CODE (in). (for_each_rtx): Remove redundant checks for
	GET_CODE (*x).

cp/ChangeLog:

2003-04-22	Andrew Pinski <pinskia at physics dot uc dot edu>
	* typeck.c (comptypes): Move when the AND for strict after the
	simple equality checks.

Attachment: mycurrent.patch.20030422
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]