From: Jeff Law <law@redhat.com>
To: Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
Cc: GCC Patches <gcc-patches@gcc.gnu.org>
Subject: Re: [PATCH 6/8] Handle SCRATCH in decompose_address
Date: Thu, 23 Oct 2014 00:49:00 -0000 [thread overview]
Message-ID: <54484961.9030700@redhat.com> (raw)
In-Reply-To: <C4A84B40-CDB9-4C48-9A68-6E8126EEAFBC@linaro.org>
On 10/22/14 17:01, Maxim Kuvyrkov wrote:
> On Oct 23, 2014, at 9:02 AM, Jeff Law <law@redhat.com> wrote:
>
>> On 10/20/14 21:35, Maxim Kuvyrkov wrote:
>>> Hi,
>>>
>>> This patch is a simple fix to allow decompose_address to handle
>>> SCRATCH'es during 2nd scheduler pass. This patch is a
>>> prerequisite for a scheduler improvement that relies on
>>> decompose_address to parse insns.
>>>
>>> Bootstrapped and regtested on x86_64-linux-gnu and regtested on
>>> arm-linux-gnueabihf and aarch64-linux-gnu.
>> I'd like to see some further discussion here.
>>
>> get_base_term is supposed to look at its argument as a base
>> address. I'm curious under what circumstances you want to have a
>> SCRATCH as a base address?
>>
>> I didn't see anything in patch #8 which obviously dependended on
>> this, but maybe it's in there, but more subtle than expected.
>>
>> If you can justify why it's useful to handle scratch in here, then
>> the patch will be fine.
>
> Without this patch decompose_address() ICEs during second scheduler
> pass on prologue instructions that usually have "(clobber (mem:BLK
> (scratch))". The only reason for this patch is to prevent that fault
> and enable use of decompose_address during 2nd scheduler pass.
>
> Does this answer your question, or are you looking for a more
> in-depth reason?
Yea, that's everything I needed to know. Patch approved.
Thanks,
Jeff
next prev parent reply other threads:[~2014-10-23 0:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-21 4:07 Maxim Kuvyrkov
2014-10-21 8:04 ` Richard Sandiford
2014-10-22 20:31 ` Jeff Law
2014-10-22 23:04 ` Maxim Kuvyrkov
2014-10-23 0:49 ` Jeff Law [this message]
2015-01-28 10:18 ` Maxim Kuvyrkov
2015-04-14 5:31 ` Jeff Law
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=54484961.9030700@redhat.com \
--to=law@redhat.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=maxim.kuvyrkov@linaro.org \
/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).