This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [AArch64] Use arrays and loops rather than numbered variables in aarch64_operands_adjust_ok_for_ldpstp [1/2]
- From: Kyrill Tkachov <kyrylo dot tkachov at foss dot arm dot com>
- To: Jackson Woodruff <jackson dot woodruff at arm dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Cc: James Greenhalgh <James dot Greenhalgh at arm dot com>, Marcus Shawcroft <Marcus dot Shawcroft at arm dot com>, Richard Earnshaw <Richard dot Earnshaw at arm dot com>, nd <nd at arm dot com>, "christophe dot lyon at linaro dot org" <christophe dot lyon at linaro dot org>
- Date: Tue, 10 Jul 2018 10:55:24 +0100
- Subject: Re: [AArch64] Use arrays and loops rather than numbered variables in aarch64_operands_adjust_ok_for_ldpstp [1/2]
- References: <df81498b-ae67-c274-5349-c4952ca300bd@arm.com>
Hi Jackson,
On 10/07/18 09:37, Jackson Woodruff wrote:
Hi all,
This patch removes some duplicated code. Since this method deals with
four loads or stores, there is a lot of duplicated code that can easily
be replaced with smaller loops.
Regtest and bootstrap OK.
OK for trunk?
This looks like a good cleanup. There are no functional changes, right?
Looks good to me, but you'll need approval from a maintainer.
Thanks,
Kyrill
Thanks,
Jackson
Changelog:
gcc/
2018-06-28 Jackson Woodruff <jackson.woodruff@arm.com>
* config/aarch64/aarch64.c (aarch64_operands_adjust_ok_for_ldpstp):
Use arrays instead of numbered variables.