diff options
author | Claudiu Zissulescu <claziss@synopsys.com> | 2021-05-10 09:03:41 +0300 |
---|---|---|
committer | Claudiu Zissulescu <claziss@synopsys.com> | 2021-05-10 09:32:45 +0300 |
commit | 3b9eb2f8a8655bf1cc6bf14e732999c877ee4fff (patch) | |
tree | 841ebe2642391068fbbba705a4b8bc90f70e0376 | |
parent | 56ab318214ef21e6c2a1b5e420e418e188386f04 (diff) | |
download | gcc-3b9eb2f8a8655bf1cc6bf14e732999c877ee4fff.zip gcc-3b9eb2f8a8655bf1cc6bf14e732999c877ee4fff.tar.gz gcc-3b9eb2f8a8655bf1cc6bf14e732999c877ee4fff.tar.bz2 |
arc: Add alternative names for gp and fp registers.
Add alternative register name r26 for gp register, and add
alternative register name r27 for fp register.
gcc/
2021-05-10 Claudiu Zissulescu <claziss@synopsys.com>
* config/arc/arc.h (ADDITIONAL_REGISTER_NAMES): Add r26 and r27.
-rw-r--r-- | gcc/config/arc/arc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/config/arc/arc.h b/gcc/config/arc/arc.h index bbb36250..b7b3473 100644 --- a/gcc/config/arc/arc.h +++ b/gcc/config/arc/arc.h @@ -1193,6 +1193,8 @@ extern char rname56[], rname57[], rname58[], rname59[]; #define ADDITIONAL_REGISTER_NAMES \ { \ + {"r26", 26}, \ + {"r27", 27}, \ {"ilink", 29}, \ {"r29", 29}, \ {"r30", 30}, \ |