This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Question about simple_return pattern for the GCC ARM backend.
- From: Chung-Lin Tang <cltang at codesourcery dot com>
- To: "Yangfei (Felix)" <felix dot yang at huawei dot com>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Sat, 28 Dec 2013 18:08:03 +0800
- Subject: Re: Question about simple_return pattern for the GCC ARM backend.
- Authentication-results: sourceware.org; auth=none
- References: <DA41BE1DDCA941489001C7FBD7A8820E54A33306 at szxema507-mbx dot china dot huawei dot com>
On 2013/12/28 09:31 AM, Yangfei (Felix) wrote:
> Hi,
>
> I think that simple_return standard pattern is useful for the ARM. I mean it should be good for target code performance.
> ãBut seems this pattern is not there for the GCC ARM backend. Can anyone explain the reason why we donât need this?
>
> Cheers,
> Fei
>
It does use it. Search for the "<return_str>return" expand pattern, and
the "returns" code iterator in config/arm/iterators.md.
Chung-Lin