[PATCH (5/7)] Widening multiplies for mis-matched mode inputs

Andrew Stubbs andrew.stubbs@linaro.org
Thu Jun 23 14:44:00 GMT 2011


This patch removes the restriction that the inputs to a widening 
multiply must be of the same mode.

It does this by extending the smaller of the two inputs to match the 
larger; therefore, it remains the case that subsequent code (in the 
expand pass, for example) can rely on the type of rhs1 being the input 
type of the operation, and the gimple verification code is still valid.

OK?

Andrew

-------------- next part --------------
A non-text attachment was scrubbed...
Name: widening-multiplies-5.patch
Type: text/x-patch
Size: 4152 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110623/46ff68d5/attachment.bin>


More information about the Gcc-patches mailing list