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

Andrew Stubbs ams@codesourcery.com
Tue Jun 28 15:44:00 GMT 2011


On 23/06/11 15:41, Andrew Stubbs wrote:
> 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?

This update fixes the testcase issue Janis highlighted.

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


More information about the Gcc-patches mailing list