This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Is it OK for rtx_addr_can_trap_p_1 to attempt to compute the frame layout? (was Re: [PATCH] Skip re-computing the mips frame info after reload completed)
- From: Bernd Schmidt <bschmidt at redhat dot com>
- To: Richard Biener <richard dot guenther at gmail dot com>
- Cc: Bernd Edlinger <bernd dot edlinger at hotmail dot de>, Jakub Jelinek <jakub at redhat dot com>, Eric Botcazou <ebotcazou at libertysurf dot fr>, Richard Sandiford <rdsandiford at googlemail dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Matthew Fortune <Matthew dot Fortune at imgtec dot com>, Nick Clifton <nickc at redhat dot com>
- Date: Mon, 1 Feb 2016 13:51:33 +0100
- Subject: Re: Is it OK for rtx_addr_can_trap_p_1 to attempt to compute the frame layout? (was Re: [PATCH] Skip re-computing the mips frame info after reload completed)
- Authentication-results: sourceware.org; auth=none
- References: <HE1PR07MB09054A3F1F796882634605CEE4C50 at HE1PR07MB0905 dot eurprd07 dot prod dot outlook dot com> <6D39441BF12EF246A7ABCE6654B023536A705EB0 at LEMAIL01 dot le dot imgtec dot org> <87y4bcavl5 dot fsf_-_ at googlemail dot com> <1634352 dot Ak3Qm2WKut at polaris> <56AABBC5 dot 6090309 at redhat dot com> <20160129154141 dot GS3017 at tucnak dot redhat dot com> <56AB8989 dot 5050705 at redhat dot com> <HE1PR07MB09056B7CC41C4FDB90C8FB39E4DB0 at HE1PR07MB0905 dot eurprd07 dot prod dot outlook dot com> <56AF4D19 dot 2000809 at redhat dot com> <CAFiYyc23+RRf_Jzc+Jcwwz2cNRzY9O3DrMuuGQ60Gu3_bdefpg at mail dot gmail dot com>
On 02/01/2016 01:49 PM, Richard Biener wrote:
What prevents motion of those across a stack adjustment (thus a place
they are _not_ valid?)
If the address is SP-based, dependencies on the address register. If
you're thinking prologue stack adjustments, ports where this could be an
issue emit suitable barrier insns.
Bernd