Skip to content
Snippets Groups Projects
Commit 1facc8d7 authored by sayle's avatar sayle
Browse files

	* expmed.c (div_cost): Replace with...
	(sdiv_cost, udiv_cost): New.
	(init_expmed): Initialize sdiv_cost and udiv_cost, not div_cost.
	Rename the div and mod fields, used to initialize sdiv_pow2_cheap
	and smod_pow2_cheap, to sdiv_32 and smod_32 to avoid confusion.
	(expand_divmod): Replace use of div_cost with either sdiv_cost
	or udiv_cost depending upon the signedness of the operation.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107641 138bc75d-0d04-0410-961f-82ee72b054a4
parent b359164b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment