This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RE: [PATCH, RFC] LRA subreg handling
- From: Robert Suchanek <Robert dot Suchanek at imgtec dot com>
- To: Jeff Law <law at redhat dot com>, "vmakarov at redhat dot com" <vmakarov at redhat dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 16 Jan 2015 11:16:52 +0000
- Subject: RE: [PATCH, RFC] LRA subreg handling
- Authentication-results: sourceware.org; auth=none
- References: <B5E67142681B53468FAF6B7C31356562441183BD at hhmail02 dot hh dot imgtec dot org> <54B7497E dot 2060700 at redhat dot com> <B5E67142681B53468FAF6B7C313565624411845D at hhmail02 dot hh dot imgtec dot org> <54B7F7A9 dot 5010408 at redhat dot com>
> The differences (hard vs pseudo regs) are primarily an implementation
> detail. I was really looking to see if there was existing code which
> would turn an output reload into an in-out reload for these subregs.
>
> The in-out nature of certain subregs is something I've personally
> stumbled over in various contexts (for example, this also came up during
> RTL-SSA investigations years ago).
>
> Jeff
Although I haven't seen an output reload changing to in-out reload in
the testcase after analysing the reload code I'm inclined to say the change
of the out to in-out reload can happen for these subregs in push_reload().
Robert