From 0a98ae065ba4ba83c9f5e598e70e7d085cbcef9f Mon Sep 17 00:00:00 2001 From: Claudiu Zissulescu Date: Mon, 10 Jul 2017 15:55:05 +0200 Subject: [PATCH] [ARC] Define ADDITIONAL_REGISTER_NAMES. This macro is needed to be used with -ffixed- option, and inline asm. gcc/ 2017-07-10 Claudiu Zissulescu * config/arc/arc.h (ADDITIONAL_REGISTER_NAMES): Define. From-SVN: r250095 --- gcc/ChangeLog | 4 ++++ gcc/config/arc/arc.h | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index aa82521884e..ea8957da6ce 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2017-07-10 Claudiu Zissulescu + + * config/arc/arc.h (ADDITIONAL_REGISTER_NAMES): Define. + 2017-07-07 Jan Hubicka PR lto/80838 diff --git a/gcc/config/arc/arc.h b/gcc/config/arc/arc.h index 5627eb488cf..eaf77f044ee 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) -- 2.30.2