public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] ARC: gcc driver default to hs38_linux
@ 2021-06-01 19:42 Vineet Gupta
  2021-06-02  8:38 ` Claudiu Zissulescu
  0 siblings, 1 reply; 4+ messages in thread
From: Vineet Gupta @ 2021-06-01 19:42 UTC (permalink / raw)
  To: gcc-patches; +Cc: Claudiu Zissulescu, linux-snps-arc, Vineet Gupta

arc700 is legacy and there's no active development for it, so switch to
latest hs38_linux as default

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
---
 gcc/config/arc/arc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/arc/arc.h b/gcc/config/arc/arc.h
index bd1fe0abd7af..252241a858c9 100644
--- a/gcc/config/arc/arc.h
+++ b/gcc/config/arc/arc.h
@@ -34,7 +34,7 @@ along with GCC; see the file COPYING3.  If not see
 #define SYMBOL_FLAG_CMEM	(SYMBOL_FLAG_MACH_DEP << 3)
 
 #ifndef TARGET_CPU_DEFAULT
-#define TARGET_CPU_DEFAULT	PROCESSOR_arc700
+#define TARGET_CPU_DEFAULT	PROCESSOR_hs38_linux
 #endif
 
 /* Check if this symbol has a long_call attribute in its declaration */
-- 
2.25.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ARC: gcc driver default to hs38_linux
  2021-06-01 19:42 [PATCH] ARC: gcc driver default to hs38_linux Vineet Gupta
@ 2021-06-02  8:38 ` Claudiu Zissulescu
  2021-06-02 17:36   ` Vineet Gupta
  0 siblings, 1 reply; 4+ messages in thread
From: Claudiu Zissulescu @ 2021-06-02  8:38 UTC (permalink / raw)
  To: Vineet Gupta, gcc-patches; +Cc: linux-snps-arc

Approved.

//Claudiu
________________________________
From: Vineet Gupta <vgupta@synopsys.com>
Sent: Tuesday, June 1, 2021 10:42 PM
To: gcc-patches@gcc.gnu.org <gcc-patches@gcc.gnu.org>
Cc: Claudiu Zissulescu <claziss@synopsys.com>; linux-snps-arc@lists.infradead.org <linux-snps-arc@lists.infradead.org>; Vineet Gupta <vgupta@synopsys.com>
Subject: [PATCH] ARC: gcc driver default to hs38_linux

arc700 is legacy and there's no active development for it, so switch to
latest hs38_linux as default

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
---
 gcc/config/arc/arc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/arc/arc.h b/gcc/config/arc/arc.h
index bd1fe0abd7af..252241a858c9 100644
--- a/gcc/config/arc/arc.h
+++ b/gcc/config/arc/arc.h
@@ -34,7 +34,7 @@ along with GCC; see the file COPYING3.  If not see
 #define SYMBOL_FLAG_CMEM        (SYMBOL_FLAG_MACH_DEP << 3)

 #ifndef TARGET_CPU_DEFAULT
-#define TARGET_CPU_DEFAULT     PROCESSOR_arc700
+#define TARGET_CPU_DEFAULT     PROCESSOR_hs38_linux
 #endif

 /* Check if this symbol has a long_call attribute in its declaration */
--
2.25.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ARC: gcc driver default to hs38_linux
  2021-06-02  8:38 ` Claudiu Zissulescu
@ 2021-06-02 17:36   ` Vineet Gupta
  2021-06-03  7:42     ` Claudiu Zissulescu
  0 siblings, 1 reply; 4+ messages in thread
From: Vineet Gupta @ 2021-06-02 17:36 UTC (permalink / raw)
  To: Claudiu Zissulescu, gcc-patches; +Cc: linux-snps-arc

On 6/2/21 1:38 AM, Claudiu Zissulescu wrote:
> Approved.

Thx for the super quick action on this Claudiu. Can this be slated for 
backports too as it causes issues when building toolchains for modern 
cores without explicit defaults.

-Vineet

>
> //Claudiu
> ------------------------------------------------------------------------
> *From:* Vineet Gupta <vgupta@synopsys.com>
> *Sent:* Tuesday, June 1, 2021 10:42 PM
> *To:* gcc-patches@gcc.gnu.org <gcc-patches@gcc.gnu.org>
> *Cc:* Claudiu Zissulescu <claziss@synopsys.com>; 
> linux-snps-arc@lists.infradead.org 
> <linux-snps-arc@lists.infradead.org>; Vineet Gupta <vgupta@synopsys.com>
> *Subject:* [PATCH] ARC: gcc driver default to hs38_linux
> arc700 is legacy and there's no active development for it, so switch to
> latest hs38_linux as default
>
> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
> ---
>  gcc/config/arc/arc.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gcc/config/arc/arc.h b/gcc/config/arc/arc.h
> index bd1fe0abd7af..252241a858c9 100644
> --- a/gcc/config/arc/arc.h
> +++ b/gcc/config/arc/arc.h
> @@ -34,7 +34,7 @@ along with GCC; see the file COPYING3. If not see
>  #define SYMBOL_FLAG_CMEM        (SYMBOL_FLAG_MACH_DEP << 3)
>
>  #ifndef TARGET_CPU_DEFAULT
> -#define TARGET_CPU_DEFAULT     PROCESSOR_arc700
> +#define TARGET_CPU_DEFAULT     PROCESSOR_hs38_linux
>  #endif
>
>  /* Check if this symbol has a long_call attribute in its declaration */
> -- 
> 2.25.1
>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ARC: gcc driver default to hs38_linux
  2021-06-02 17:36   ` Vineet Gupta
@ 2021-06-03  7:42     ` Claudiu Zissulescu
  0 siblings, 0 replies; 4+ messages in thread
From: Claudiu Zissulescu @ 2021-06-03  7:42 UTC (permalink / raw)
  To: Vineet Gupta, gcc-patches; +Cc: linux-snps-arc

Right, we can consider this cpu switch missing in gcc11.

Best,
Claudiu
________________________________
From: Vineet Gupta <vgupta@synopsys.com>
Sent: Wednesday, June 2, 2021 8:36 PM
To: Claudiu Zissulescu <claziss@synopsys.com>; gcc-patches@gcc.gnu.org <gcc-patches@gcc.gnu.org>
Cc: linux-snps-arc@lists.infradead.org <linux-snps-arc@lists.infradead.org>
Subject: Re: [PATCH] ARC: gcc driver default to hs38_linux

On 6/2/21 1:38 AM, Claudiu Zissulescu wrote:
> Approved.

Thx for the super quick action on this Claudiu. Can this be slated for
backports too as it causes issues when building toolchains for modern
cores without explicit defaults.

-Vineet

>
> //Claudiu
> ------------------------------------------------------------------------
> *From:* Vineet Gupta <vgupta@synopsys.com>
> *Sent:* Tuesday, June 1, 2021 10:42 PM
> *To:* gcc-patches@gcc.gnu.org <gcc-patches@gcc.gnu.org>
> *Cc:* Claudiu Zissulescu <claziss@synopsys.com>;
> linux-snps-arc@lists.infradead.org
> <linux-snps-arc@lists.infradead.org>; Vineet Gupta <vgupta@synopsys.com>
> *Subject:* [PATCH] ARC: gcc driver default to hs38_linux
> arc700 is legacy and there's no active development for it, so switch to
> latest hs38_linux as default
>
> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
> ---
>  gcc/config/arc/arc.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gcc/config/arc/arc.h b/gcc/config/arc/arc.h
> index bd1fe0abd7af..252241a858c9 100644
> --- a/gcc/config/arc/arc.h
> +++ b/gcc/config/arc/arc.h
> @@ -34,7 +34,7 @@ along with GCC; see the file COPYING3. If not see
>  #define SYMBOL_FLAG_CMEM        (SYMBOL_FLAG_MACH_DEP << 3)
>
>  #ifndef TARGET_CPU_DEFAULT
> -#define TARGET_CPU_DEFAULT     PROCESSOR_arc700
> +#define TARGET_CPU_DEFAULT     PROCESSOR_hs38_linux
>  #endif
>
>  /* Check if this symbol has a long_call attribute in its declaration */
> --
> 2.25.1
>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-06-03  7:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-01 19:42 [PATCH] ARC: gcc driver default to hs38_linux Vineet Gupta
2021-06-02  8:38 ` Claudiu Zissulescu
2021-06-02 17:36   ` Vineet Gupta
2021-06-03  7:42     ` Claudiu Zissulescu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).