This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: patch for machine dependent rtl section to hide case statements for different types of constants.
- From: Kenneth Zadeck <zadeck at naturalbridge dot com>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>, Richard Sandiford <rdsandiford at googlemail dot com>, Mike Stump <mikestump at comcast dot net>, zadeck <zadeck at NaturalBridge dot com>
- Date: Mon, 20 Aug 2012 09:58:24 -0400
- Subject: Re: patch for machine dependent rtl section to hide case statements for different types of constants.
- References: <503240A7.6030502@naturalbridge.com>
I of course meant the machine "independent" not "dependent"
On 08/20/2012 09:50 AM, Kenneth Zadeck wrote:
This patch started out to be a purely mechanical change to the switch
statements so that the ones that are used to take apart constants can
be logically grouped. This is important for the next patch that I
will submit this week that frees the rtl level from only being able to
represent large integer constants with two HWIs.
I sent the patch to Richard Sandiford and when the comments came back
from him, this patch turned into something that actually has real
semantic changes. (His comments are enclosed below.) I did almost
all of Richard's changes because he is generally right about such
things, but it does mean that the patch has to be more carefully
reviewed. Richard does not count his comments as a review.
The patch has, of course, been properly tested on x86-64.
Any comments? Ok for commit?
Kenny