From: Richard Earnshaw <rearnsha@arm.com>
To: Greta Yorsh <Greta.Yorsh@arm.com>
Cc: GCC Patches <gcc-patches@gcc.gnu.org>,
Ramana Radhakrishnan <Ramana.Radhakrishnan@arm.com>,
"nickc@redhat.com" <nickc@redhat.com>,
"paul@codesourcery.com" <paul@codesourcery.com>
Subject: Re: [PATCH, ARM][1/4] New RTL patterns for LDRD/STRD in Thumb mode
Date: Fri, 19 Oct 2012 15:52:00 -0000 [thread overview]
Message-ID: <5081754C.3090504@arm.com> (raw)
In-Reply-To: <000001cdae0d$421f2e40$c65d8ac0$@yorsh@arm.com>
On 19/10/12 16:20, Greta Yorsh wrote:
> Removed the condition "!optimize_function_for_size_p (cfun))".
>
> The condition "current_tune->prefer_ldrd_strd" is needed because the
> patterns
> for LDRD/STRD appear before the patterns for LDM/STM that can match the same
> RTL
> (two register in the list). Condition "reload_completed" does not help with
> it
> because peephole optimizations in ldmstm.md may (after reload) create new
> RTL insn
> that match this pattern.
>
The point of the reload_completed is that these patterns have the
potential to cause some problems if they somehow matched during earlier
passes and the address base was an eliminable register.
next prev parent reply other threads:[~2012-10-19 15:44 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-10 14:48 [PATCH, ARM][0/4] Prologue/epilogue using STRD/LDRD " Greta Yorsh
2012-10-10 15:03 ` [PATCH, ARM][1/4] New RTL patterns for LDRD/STRD " Greta Yorsh
2012-10-18 13:54 ` Richard Earnshaw
2012-10-19 15:44 ` Greta Yorsh
2012-10-19 15:52 ` Richard Earnshaw [this message]
2012-10-19 16:54 ` Greta Yorsh
2012-10-19 17:16 ` Richard Earnshaw
2012-10-10 15:03 ` [PATCH, ARM][2/4] Prologue using STRD " Greta Yorsh
2012-10-18 14:41 ` Richard Earnshaw
2012-10-10 15:04 ` [PATCH, ARM][3/4] Epilogue using LDRD " Greta Yorsh
2012-10-19 15:03 ` Richard Earnshaw
2012-10-10 15:13 ` [PATCH, ARM][4/4] Adjust tests gcc.target/arm/pr40457-*.c Greta Yorsh
2012-10-19 15:10 ` Richard Earnshaw
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=5081754C.3090504@arm.com \
--to=rearnsha@arm.com \
--cc=Greta.Yorsh@arm.com \
--cc=Ramana.Radhakrishnan@arm.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=nickc@redhat.com \
--cc=paul@codesourcery.com \
/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).