This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix loop optimization when ZOL is not available in xtensa configuration
- From: Max Filippov <jcmvbkbc at gmail dot com>
- To: "augustine dot sterling at gmail dot com" <augustine dot sterling at gmail dot com>
- Cc: "Yangfei (Felix)" <felix dot yang at huawei dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 6 Jan 2015 01:24:09 +0300
- Subject: Re: [PATCH] Fix loop optimization when ZOL is not available in xtensa configuration
- Authentication-results: sourceware.org; auth=none
- References: <1419894762-19375-1-git-send-email-jcmvbkbc at gmail dot com> <CAGSvup94epmCeCfQ-naoXHCEPKCVKR+YyYnExpKZnvJdStcUKA at mail dot gmail dot com>
On Mon, Jan 5, 2015 at 7:21 PM, augustine.sterling@gmail.com
<augustine.sterling@gmail.com> wrote:
> [Adding Felix]
>
> On Mon, Dec 29, 2014 at 3:12 PM, Max Filippov <jcmvbkbc@gmail.com> wrote:
>>
>> Currently building gcc for xtensa configuration with XCHAL_HAVE_LOOPS
>> set to 0 fails with the following error:
>>
>> xtensa.c:3952: undefined reference to `reorg_loops(bool,
>> hw_doloop_hooks*)'
>>
>> Only compile target-specific zero-overhead loop optimization code when
>> TARGET_LOOPS allows it.
>>
>> 2014-12-30 Max Filippov <jcmvbkbc@gmail.com>
>>
>> * config/xtensa/xtensa.c (hwloop_optimize, hwloop_fail,
>> hwloop_pattern_reg, xtensa_doloop_hooks, xtensa_reorg_loops):
>> put under #if TARGET_LOOPS guard.
>
>
> This is OK. Thanks.
Applied to trunk. Thanks!
-- Max