]> gcc.gnu.org Git - gcc.git/commitdiff
[ARC] Define ADDITIONAL_REGISTER_NAMES.
authorClaudiu Zissulescu <claziss@synopsys.com>
Mon, 10 Jul 2017 13:55:05 +0000 (15:55 +0200)
committerClaudiu Zissulescu <claziss@gcc.gnu.org>
Mon, 10 Jul 2017 13:55:05 +0000 (15:55 +0200)
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

gcc/ChangeLog
gcc/config/arc/arc.h

index aa82521884eba27bf9dcc4afab5b91c8a7725e95..ea8957da6ce25d5ce589dc350cbe26324db2c916 100644 (file)
@@ -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
index 5627eb488cff96ff0bce1fd72d0b9a79b26a7aa3..eaf77f044eed55c220646dfee69ba4783c4c4c2b 100644 (file)
@@ -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)
This page took 0.104471 seconds and 5 git commands to generate.