This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: muldi3, divdi3 and remdi3 patterns
- To: Mark Klein <mklein@dis.com>
- Subject: Re: muldi3, divdi3 and remdi3 patterns
- From: Jeffrey A Law <law@cygnus.com>
- Date: Tue, 10 Aug 1999 01:29:41 -0600
- cc: gcc@gcc.gnu.org
- Reply-To: law@cygnus.com
In message <4.1.19990809074734.00cdecc0@garfield.dis.com>you write:
> So even though $$remoI is faster than the combination of $$mulo2I and
Why would you even consider calling mul2I? Use 3 xmpyu instructions to do a
standard cross-product multiply. Calling the mul2I routines is totally
braindead.
> I don't quite understand how the current costs have been allocated ..
See RTX_COST, CONST_COSTS and friends.