This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH,ARM] Improve peepholes for LDM with commutative operators
- From: Michael Hope <michael dot hope at linaro dot org>
- To: Greta Yorsh <Greta dot Yorsh at arm dot com>
- Cc: Ramana Radhakrishnan <ramana dot radhakrishnan at linaro dot org>, gcc-patches at gcc dot gnu dot org, ramana at gcc dot gnu dot org, paul at codesourcery dot com, nickc at redhat dot com
- Date: Thu, 1 Mar 2012 13:54:30 +1300
- Subject: Re: [PATCH,ARM] Improve peepholes for LDM with commutative operators
- Authentication-results: mr.google.com; spf=pass (google.com: domain of michael.hope@linaro.org designates 10.180.96.8 as permitted sender) smtp.mail=michael.hope@linaro.org
- References: <4f4d0a44.0610440a.160c.fffff8fdSMTPIN_ADDED@mx.google.com> <CACUk7=Xq73HKSLgYwBui-GNKNf=2n+vM-SeOK+oO=Njd8ji_iA@mail.gmail.com> <4f4e3455.6a16440a.6109.ffffb934SMTPIN_ADDED@mx.google.com>
On Thu, Mar 1, 2012 at 3:20 AM, Greta Yorsh <Greta.Yorsh@arm.com> wrote:
> I'm attaching a new version of the patch. Fixed all comments and retested.
> No regression on qemu --with-cpu cortex-a9.
I assume that on the Cortex-A9 this generates a LDM instead of an
expensive LDRD. For reference, a tight load loop takes 2.5 s on the
current version, 3.1 s with a LDRD, and 1.9 s with a LDM.
-- Michael