]> gcc.gnu.org Git - gcc.git/commitdiff
Use REGNUM macros in the definitions of aarch64 PROBE_STACK regs
authorOlivier Hainque <hainque@adacore.com>
Wed, 12 Dec 2018 17:10:44 +0000 (17:10 +0000)
committerOlivier Hainque <hainque@gcc.gnu.org>
Wed, 12 Dec 2018 17:10:44 +0000 (17:10 +0000)
* 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

gcc/ChangeLog
gcc/config/aarch64/aarch64.c

index 274e713b987e418ebc7359233ac1f68fe896caff..7a9cda1a81fd2e7ea108ed8ca0b24ec8a30e4e29 100644 (file)
@@ -1,3 +1,9 @@
+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>
 
        PR target/86806
index ea7e79f758589e79cdee939fd9046df5ece7c80a..e17373f00becacb63c5a04c327dfa44333faf38a 100644 (file)
@@ -3913,8 +3913,8 @@ aarch64_libgcc_cmp_return_mode (void)
 #endif
 
 /* The pair of scratch registers used for stack probing.  */
-#define PROBE_STACK_FIRST_REG  9
-#define PROBE_STACK_SECOND_REG 10
+#define PROBE_STACK_FIRST_REG  R9_REGNUM
+#define PROBE_STACK_SECOND_REG R10_REGNUM
 
 /* Emit code to probe a range of stack addresses from FIRST to FIRST+POLY_SIZE,
    inclusive.  These are offsets from the current stack pointer.  */
This page took 0.099983 seconds and 5 git commands to generate.