On Wed, 3 Jun 2009 21:39:34 +1200
Michael Hope wrote:
> How does the combine stage work? It looks like it could get multiple
> potential matches for a set of RTLs. Does it use some type of costing
> function to pick between them? Can I tell combine that a umulhisi3 is
> cheaper than a mulsi3?
Hi there. The architecture I'm working is a 32 bit, word based
machine with a 16x16 -> 32 unsigned multiply. For some reason the
combine stage is converting the umulhisi3 into a mulsi3 and I'm not
sure how to track this down.
The test code is part of an alpha blend:
void blend(uint8_t* sb, uint