This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch: Consistently generate widening multiplies
Steven Bosscher wrote:
> On Wed, Feb 17, 2010 at 12:00 AM, Bernd Schmidt <bernds_cb1@t-online.de> wrote:
>> Tree-SSA introduced a regression with widening multiplications;
>> extension operations are often separated from the MULT_EXPR they feed.
>> There has been a patch last year to address this in expand_expr_real_2,
>> but it's still rather more miss than hit as shown by the testcases
>> included in the patch below.
>
> Could this be http://gcc.gnu.org/PR29274 ?
Probably.
> *sigh* another mini-pass. There are a handful of them now, and they
> all cost a full traversal of the function for very local, very special
> pattern matching things (bswap, etc.) They should be grouped somehow
> :-( I suppose there is no way to fold this into one of the existing
> passes?
Rename bswap to misc-opts? I guess that could be done if there's a
consensus it's better that way.
Bernd
--
This footer brought to you by insane German lawmakers.
Analog Devices GmbH Wilhelm-Wagenfeld-Str. 6 80807 Muenchen
Sitz der Gesellschaft Muenchen, Registergericht Muenchen HRB 40368
Geschaeftsfuehrer Thomas Wessel, William A. Martin, Margaret Seif