From: Richard Sandiford <rdsandiford@googlemail.com>
To: ramana.radhakrishnan@arm.com
Cc: gcc-patches@gcc.gnu.org, bernds@codesourcery.com
Subject: Re: Extend widening_mul pass to handle fixed-point types
Date: Sat, 31 Jul 2010 09:45:00 -0000 [thread overview]
Message-ID: <8739v0f6l7.fsf@firetop.home> (raw)
In-Reply-To: <1280399607.10110.33.camel@e102325-lin.cambridge.arm.com> (Ramana Radhakrishnan's message of "Thu, 29 Jul 2010 11:33:27 +0100")
Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> writes:
>> Could you give the attached patch a try? It also fixes a case where
>> the code could create mixed sign-and-unsigned maccs (a bug that existed
>> before my patch) and a botched call to is_widening_mult_p (a bug
>> introduced by my patch, sorry).
>
> Your patch didn't apply cleanly to pristine trunk or to 162431 and I had
> to do a manual merge so I'm not sure if I got all parts of it.
>
> Just to be absolutely clear, you still need to check for
> is_gimple_assign before using the stmt in gimple_assign_lhs in
> is_widening_mult_p or do you expect that to get subsumed by your patch ?
> Otherwise the compiler ICEs with this testcase [ice-on-gimple-phi.c].
For the record -- since I accidentally took this off-list when I started
using the gmail web interface, sorry about that -- the problems Ramana
had applying the patch were due to some kind of mailer issue. The ICE
in ice-on-gimple-phi.c was due to the s/rhs1_stmt/rhs2_stmt/ part being
missing from the manually-applied patch.
Richard
next prev parent reply other threads:[~2010-07-31 7:34 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-18 12:03 Richard Sandiford
2010-07-18 20:47 ` Bernd Schmidt
2010-07-19 18:35 ` Richard Sandiford
2010-07-19 21:53 ` Bernd Schmidt
2010-07-27 12:28 ` Ramana Radhakrishnan
2010-07-27 15:54 ` Bernd Schmidt
2010-07-27 17:10 ` Ramana Radhakrishnan
2010-07-28 15:43 ` Ramana Radhakrishnan
2010-07-28 21:20 ` Richard Sandiford
2010-07-29 10:39 ` Ramana Radhakrishnan
2010-07-31 9:45 ` Richard Sandiford [this message]
2010-07-31 9:45 ` Richard Sandiford
2010-07-31 13:03 ` Bernd Schmidt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8739v0f6l7.fsf@firetop.home \
--to=rdsandiford@googlemail.com \
--cc=bernds@codesourcery.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=ramana.radhakrishnan@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).