This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [ping] use REGNUM macros instead of hardcoded values in aarch64 PROBE_STACK reg definitions
- From: Olivier Hainque <hainque at adacore dot com>
- To: Kyrill Tkachov <kyrylo dot tkachov at foss dot arm dot com>
- Cc: Olivier Hainque <hainque at adacore dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>, Wilco Dijkstra <Wilco dot Dijkstra at arm dot com>, "Richard Earnshaw (lists)" <richard dot earnshaw at arm dot com>, James Greenhalgh <james dot greenhalgh at arm dot com>, Marcus Shawcroft <marcus dot shawcroft at arm dot com>
- Date: Wed, 12 Dec 2018 17:03:34 +0100
- Subject: Re: [ping] use REGNUM macros instead of hardcoded values in aarch64 PROBE_STACK reg definitions
- References: <DB5PR08MB103011638FBFE63AD679DBAC83F80@DB5PR08MB1030.eurprd08.prod.outlook.com> <B64FB3EB-72FC-456C-B7FF-1170E222FDEF@adacore.com> <42AD5419-370A-45B0-92EF-83F84CFD7EB9@adacore.com> <1E507F62-7BE3-4469-82E6-F24B2E4CF090@adacore.com> <5C112CAC.5020307@foss.arm.com>
Hi Kyrill,
> On 12 Dec 2018, at 16:43, Kyrill Tkachov <kyrylo.tkachov@foss.arm.com> wrote:
>
> This looks obvious to me tbh, I'd go ahead and commit it.
Great :-)
I have just sent separate updates on the other, less obvious
parts (SUBTARGET_OVERRIDE_OPTIONS, static chain change to r11,
and FIXED_R18).
Thanks!
>> * config/aarch64/aarch64.c (PROBE_STACK_FIRST_REG) : Redefine as
>> R9_REGNUM instead of 9.
>> (PROBE_STACK_SECOND_REG): Redefine as R10_REGNUM instead of 10.