diff options
author | Claudiu Zissulescu <claziss@synopsys.com> | 2017-07-10 15:55:05 +0200 |
---|---|---|
committer | Claudiu Zissulescu <claziss@gcc.gnu.org> | 2017-07-10 15:55:05 +0200 |
commit | 0a98ae065ba4ba83c9f5e598e70e7d085cbcef9f (patch) | |
tree | e859d3690dbd26dd702f536bde4d91aab1acdc3e | |
parent | 472a253638b6d469a148a53e92a0a9ff6d545161 (diff) | |
download | gcc-0a98ae065ba4ba83c9f5e598e70e7d085cbcef9f.zip gcc-0a98ae065ba4ba83c9f5e598e70e7d085cbcef9f.tar.gz gcc-0a98ae065ba4ba83c9f5e598e70e7d085cbcef9f.tar.bz2 |
[ARC] Define ADDITIONAL_REGISTER_NAMES.
This macro is needed to be used with -ffixed-<reg> option, and inline asm.
gcc/
2017-07-10 Claudiu Zissulescu <claziss@synopsys.com>
* config/arc/arc.h (ADDITIONAL_REGISTER_NAMES): Define.
From-SVN: r250095
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/arc/arc.h | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index aa82521..ea8957d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2017-07-10 Claudiu Zissulescu <claziss@synopsys.com> + + * config/arc/arc.h (ADDITIONAL_REGISTER_NAMES): Define. + 2017-07-07 Jan Hubicka <hubicka@ucw.cz> PR lto/80838 diff --git a/gcc/config/arc/arc.h b/gcc/config/arc/arc.h index 5627eb4..eaf77f0 100644 --- a/gcc/config/arc/arc.h +++ b/gcc/config/arc/arc.h @@ -1262,6 +1262,13 @@ extern char rname56[], rname57[], rname58[], rname59[]; "lp_start", "lp_end" \ } +#define ADDITIONAL_REGISTER_NAMES \ +{ \ + {"ilink", 29}, \ + {"r29", 29}, \ + {"r30", 30} \ +} + /* Entry to the insn conditionalizer. */ #define FINAL_PRESCAN_INSN(INSN, OPVEC, NOPERANDS) \ arc_final_prescan_insn (INSN, OPVEC, NOPERANDS) |