This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
converting wide-int so that it uses its own type rather than hwi.
- From: Kenneth Zadeck <zadeck at naturalbridge dot com>
- To: Richard Biener <rguenther at suse dot de>, Mike Stump <mikestump at comcast dot net>, Richard Sandiford <r dot sandiford at uk dot ibm dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 30 Aug 2013 11:21:10 -0400
- Subject: converting wide-int so that it uses its own type rather than hwi.
- Authentication-results: sourceware.org; auth=none
richi,
on further thought, this is going to be a huge task. The problem is at
the edges. right now we share the rep of the array with the tree-csts
and rtl (though the rtl sharing may go away to support canonization).
So if the hwi rep inside of wide int changes then we will have to
implement copying with reblocking at that interface or push the type
into there and change all of the fits_*hwi and to_*hwi interfaces to fit
this different type.
i think i can get at least as good and perhaps better test coverage by
changing the rep of hwi for a port. There will also be fallout work
there, but it will be productive, in that it is just changing code from
only doing the hwi case to supporting all precisions.
Kenny