Re: [PATCH (7/7)] Mixed-sign multiplies using narrowest mode

2011-08-19 Thread Andrew Stubbs
On 14/07/11 15:41, Richard Guenther wrote: Ok. Committed, unchanged apart from the test case. Andrew 2011-08-19 Andrew Stubbs a...@codesourcery.com gcc/ * tree-ssa-math-opts.c (convert_mult_to_widen): Better handle unsigned inputs of different modes. (convert_plusminus_to_widen):

Re: [PATCH (7/7)] Mixed-sign multiplies using narrowest mode

2011-07-14 Thread Andrew Stubbs
On 28/06/11 17:23, Andrew Stubbs wrote: On 23/06/11 15:43, Andrew Stubbs wrote: Patch 4 introduced support for using signed multiplies to code unsigned multiplies in a narrower mode. Patch 5 then introduced support for mis-matched input modes. These two combined mean that there is case where

Re: [PATCH (7/7)] Mixed-sign multiplies using narrowest mode

2011-07-14 Thread Richard Guenther
On Thu, Jul 14, 2011 at 4:38 PM, Andrew Stubbs a...@codesourcery.com wrote: On 28/06/11 17:23, Andrew Stubbs wrote: On 23/06/11 15:43, Andrew Stubbs wrote: Patch 4 introduced support for using signed multiplies to code unsigned multiplies in a narrower mode. Patch 5 then introduced support