Commit 8921ccbb by Olivier Hainque Committed by Olivier Hainque

Use REGNUM macros in the definitions of aarch64 PROBE_STACK regs

	* 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.

From-SVN: r267059
parent 7bd0ca11
2018-12-12 Olivier Hainque <hainque@adacore.com>
* 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.
2018-12-12 Eric Botcazou <ebotcazou@adacore.com> 2018-12-12 Eric Botcazou <ebotcazou@adacore.com>
PR target/86806 PR target/86806
...@@ -3913,8 +3913,8 @@ aarch64_libgcc_cmp_return_mode (void) ...@@ -3913,8 +3913,8 @@ aarch64_libgcc_cmp_return_mode (void)
#endif #endif
/* The pair of scratch registers used for stack probing. */ /* The pair of scratch registers used for stack probing. */
#define PROBE_STACK_FIRST_REG 9 #define PROBE_STACK_FIRST_REG R9_REGNUM
#define PROBE_STACK_SECOND_REG 10 #define PROBE_STACK_SECOND_REG R10_REGNUM
/* Emit code to probe a range of stack addresses from FIRST to FIRST+POLY_SIZE, /* Emit code to probe a range of stack addresses from FIRST to FIRST+POLY_SIZE,
inclusive. These are offsets from the current stack pointer. */ inclusive. These are offsets from the current stack pointer. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment