[1/4,ARC] Add more additional register names

Message ID 20180716122945.9375-1-claziss@gmail.com
State New
Headers show
Series
  • [1/4,ARC] Add more additional register names
Related show

Commit Message

Claudiu Zissulescu July 16, 2018, 12:29 p.m.
From: claziss <claziss@synopsys.com>


gcc/
2017-06-14  Claudiu Zissulescu  <claziss@synopsys.com>

	* config/arc/arc.h (ADDITIONAL_REGISTER_NAMES): Add additional
	register names.
---
 gcc/config/arc/arc.h | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

-- 
2.17.1

Comments

Andrew Burgess July 25, 2018, 1:49 p.m. | #1
All the patches in this series look fine.

Thanks,
Andrew


* Claudiu Zissulescu <claziss@gmail.com> [2018-07-16 15:29:42 +0300]:

> From: claziss <claziss@synopsys.com>

> 

> gcc/

> 2017-06-14  Claudiu Zissulescu  <claziss@synopsys.com>

> 

> 	* config/arc/arc.h (ADDITIONAL_REGISTER_NAMES): Add additional

> 	register names.

> ---

>  gcc/config/arc/arc.h | 10 +++++++++-

>  1 file changed, 9 insertions(+), 1 deletion(-)

> 

> diff --git a/gcc/config/arc/arc.h b/gcc/config/arc/arc.h

> index 1780034aabe..3648314eaca 100644

> --- a/gcc/config/arc/arc.h

> +++ b/gcc/config/arc/arc.h

> @@ -1215,7 +1215,15 @@ extern char rname56[], rname57[], rname58[], rname59[];

>  {						\

>    {"ilink",  29},				\

>    {"r29",    29},				\

> -  {"r30",    30}				\

> +  {"r30",    30},				\

> +  {"r40",    40},				\

> +  {"r41",    41},				\

> +  {"r42",    42},				\

> +  {"r43",    43},				\

> +  {"r56",    56},				\

> +  {"r57",    57},				\

> +  {"r58",    58},				\

> +  {"r59",    59}				\

>  }

>  

>  /* Entry to the insn conditionalizer.  */

> -- 

> 2.17.1

>
Claudiu Zissulescu July 25, 2018, 3:10 p.m. | #2
Pushed. Thank you for your review,
Claudiu
________________________________________
From: Andrew Burgess [andrew.burgess@embecosm.com]

Sent: Wednesday, July 25, 2018 3:49 PM
To: Claudiu Zissulescu
Cc: gcc-patches@gcc.gnu.org; Francois.Bedard@synopsys.com; claziss
Subject: Re: [PATCH 1/4] [ARC] Add more additional register names

All the patches in this series look fine.

Thanks,
Andrew


* Claudiu Zissulescu <claziss@gmail.com> [2018-07-16 15:29:42 +0300]:

> From: claziss <claziss@synopsys.com>

>

> gcc/

> 2017-06-14  Claudiu Zissulescu  <claziss@synopsys.com>

>

>       * config/arc/arc.h (ADDITIONAL_REGISTER_NAMES): Add additional

>       register names.

> ---

>  gcc/config/arc/arc.h | 10 +++++++++-

>  1 file changed, 9 insertions(+), 1 deletion(-)

>

> diff --git a/gcc/config/arc/arc.h b/gcc/config/arc/arc.h

> index 1780034aabe..3648314eaca 100644

> --- a/gcc/config/arc/arc.h

> +++ b/gcc/config/arc/arc.h

> @@ -1215,7 +1215,15 @@ extern char rname56[], rname57[], rname58[], rname59[];

>  {                                            \

>    {"ilink",  29},                            \

>    {"r29",    29},                            \

> -  {"r30",    30}                             \

> +  {"r30",    30},                            \

> +  {"r40",    40},                            \

> +  {"r41",    41},                            \

> +  {"r42",    42},                            \

> +  {"r43",    43},                            \

> +  {"r56",    56},                            \

> +  {"r57",    57},                            \

> +  {"r58",    58},                            \

> +  {"r59",    59}                             \

>  }

>

>  /* Entry to the insn conditionalizer.  */

> --

> 2.17.1

>

Patch

diff --git a/gcc/config/arc/arc.h b/gcc/config/arc/arc.h
index 1780034aabe..3648314eaca 100644
--- a/gcc/config/arc/arc.h
+++ b/gcc/config/arc/arc.h
@@ -1215,7 +1215,15 @@  extern char rname56[], rname57[], rname58[], rname59[];
 {						\
   {"ilink",  29},				\
   {"r29",    29},				\
-  {"r30",    30}				\
+  {"r30",    30},				\
+  {"r40",    40},				\
+  {"r41",    41},				\
+  {"r42",    42},				\
+  {"r43",    43},				\
+  {"r56",    56},				\
+  {"r57",    57},				\
+  {"r58",    58},				\
+  {"r59",    59}				\
 }
 
 /* Entry to the insn conditionalizer.  */