All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3 1/4] ARC: config: explicit'ify -mcpu for cpu selection
Date: Mon, 17 May 2021 21:24:36 +0200	[thread overview]
Message-ID: <20210517192436.GD2506@scaer> (raw)
In-Reply-To: <20210510180049.61421-2-vgupta@synopsys.com>

Vineet, All,

On 2021-05-10 11:00 -0700, Vineet Gupta via buildroot spake thusly:
> This helps with distinguishing the cpu at the time of config selection
> 
> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
> ---
>  arch/Config.in.arc | 14 +++++++-------
>  1 file changed, 7 insertions(+), 7 deletions(-)
> 
> diff --git a/arch/Config.in.arc b/arch/Config.in.arc
> index f7a6d920b50d..c9a695000f2c 100644
> --- a/arch/Config.in.arc
> +++ b/arch/Config.in.arc
> @@ -6,20 +6,20 @@ choice
>  	    Specific CPU to use
>  
>  config BR2_arc750d
> -	bool "ARC 750D"
> +	bool "ARC 750D (-mcpu=arc700)"

We are not doing this for any other architecture.

Besides, if this ever has to change, that would be two places where we'd
have to update the setting, and these prompts are just informative, so
they are prone to be missed.

It always possible to get that vaue, anyway, with:

    $ make printvars VARS=BR2_GCC_TARGET_%
    BR2_GCC_TARGET_CPU="arc700"

Regards,
Yann E. MORIN.

>  config BR2_arc770d
> -	bool "ARC 770D"
> +	bool "ARC 770D (-mcpu=arc700)"
>  
>  config BR2_archs38
> -	bool "ARC HS38"
> +	bool "ARC HS38 (-mcpu=archs)"
>  	help
>  	  Generic ARC HS capable of running Linux, i.e. with MMU,
>  	  caches and 32-bit multiplier. Also it corresponds to the
>  	  default configuration in older GNU toolchain versions.
>  
>  config BR2_archs38_64mpy
> -	bool "ARC HS38 with 64-bit mpy"
> +	bool "ARC HS38 with 64-bit mpy (-mcpu=hs38)"
>  	help
>  	  Fully featured ARC HS capable of running Linux, i.e. with
>  	  MMU, caches and 64-bit multiplier.
> @@ -28,7 +28,7 @@ config BR2_archs38_64mpy
>  	  for use this one.
>  
>  config BR2_archs38_full
> -	bool "ARC HS38 with Quad MAC & FPU"
> +	bool "ARC HS38 with Quad MAC & FPU (-mcpu=hs38_linux)"
>  	help
>  	  Fully featured ARC HS with additional support for
>  	   - Dual- and quad multiply and MC oprations
> @@ -38,12 +38,12 @@ config BR2_archs38_full
>  	  ARChitect.
>  
>  config BR2_archs4x_rel31
> -	bool "ARC HS48 rel 31"
> +	bool "ARC HS48 rel 31  (-mcpu=hs4x_rel31)"
>  	help
>  	   Build for HS48 release 3.1
>  
>  config BR2_archs4x
> -	bool "ARC HS48"
> +	bool "ARC HS48 (-mcpu=hs4x)"
>  	help
>  	   Latest release of HS48 processor
>  	   - Dual and Quad multiply and MAC operations
> -- 
> 2.25.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

WARNING: multiple messages have this Message-ID (diff)
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Vineet Gupta <Vineet.Gupta1@synopsys.com>
Cc: buildroot@busybox.net, Evgeniy.Didin@synopsys.com,
	linux-snps-arc@lists.infradead.org, Alexey.Brodkin@synopsys.com
Subject: Re: [Buildroot] [PATCH v3 1/4] ARC: config: explicit'ify -mcpu for cpu selection
Date: Mon, 17 May 2021 21:24:36 +0200	[thread overview]
Message-ID: <20210517192436.GD2506@scaer> (raw)
In-Reply-To: <20210510180049.61421-2-vgupta@synopsys.com>

Vineet, All,

On 2021-05-10 11:00 -0700, Vineet Gupta via buildroot spake thusly:
> This helps with distinguishing the cpu at the time of config selection
> 
> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
> ---
>  arch/Config.in.arc | 14 +++++++-------
>  1 file changed, 7 insertions(+), 7 deletions(-)
> 
> diff --git a/arch/Config.in.arc b/arch/Config.in.arc
> index f7a6d920b50d..c9a695000f2c 100644
> --- a/arch/Config.in.arc
> +++ b/arch/Config.in.arc
> @@ -6,20 +6,20 @@ choice
>  	    Specific CPU to use
>  
>  config BR2_arc750d
> -	bool "ARC 750D"
> +	bool "ARC 750D (-mcpu=arc700)"

We are not doing this for any other architecture.

Besides, if this ever has to change, that would be two places where we'd
have to update the setting, and these prompts are just informative, so
they are prone to be missed.

It always possible to get that vaue, anyway, with:

    $ make printvars VARS=BR2_GCC_TARGET_%
    BR2_GCC_TARGET_CPU="arc700"

Regards,
Yann E. MORIN.

>  config BR2_arc770d
> -	bool "ARC 770D"
> +	bool "ARC 770D (-mcpu=arc700)"
>  
>  config BR2_archs38
> -	bool "ARC HS38"
> +	bool "ARC HS38 (-mcpu=archs)"
>  	help
>  	  Generic ARC HS capable of running Linux, i.e. with MMU,
>  	  caches and 32-bit multiplier. Also it corresponds to the
>  	  default configuration in older GNU toolchain versions.
>  
>  config BR2_archs38_64mpy
> -	bool "ARC HS38 with 64-bit mpy"
> +	bool "ARC HS38 with 64-bit mpy (-mcpu=hs38)"
>  	help
>  	  Fully featured ARC HS capable of running Linux, i.e. with
>  	  MMU, caches and 64-bit multiplier.
> @@ -28,7 +28,7 @@ config BR2_archs38_64mpy
>  	  for use this one.
>  
>  config BR2_archs38_full
> -	bool "ARC HS38 with Quad MAC & FPU"
> +	bool "ARC HS38 with Quad MAC & FPU (-mcpu=hs38_linux)"
>  	help
>  	  Fully featured ARC HS with additional support for
>  	   - Dual- and quad multiply and MC oprations
> @@ -38,12 +38,12 @@ config BR2_archs38_full
>  	  ARChitect.
>  
>  config BR2_archs4x_rel31
> -	bool "ARC HS48 rel 31"
> +	bool "ARC HS48 rel 31  (-mcpu=hs4x_rel31)"
>  	help
>  	   Build for HS48 release 3.1
>  
>  config BR2_archs4x
> -	bool "ARC HS48"
> +	bool "ARC HS48 (-mcpu=hs4x)"
>  	help
>  	   Latest release of HS48 processor
>  	   - Dual and Quad multiply and MAC operations
> -- 
> 2.25.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot@busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

_______________________________________________
linux-snps-arc mailing list
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-snps-arc

  reply	other threads:[~2021-05-17 19:24 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-10 18:00 [Buildroot] [PATCH v3 0/4] Updates for ARC, LMBench Vineet Gupta
2021-05-10 18:00 ` Vineet Gupta
2021-05-10 18:00 ` [Buildroot] [PATCH v3 1/4] ARC: config: explicit'ify -mcpu for cpu selection Vineet Gupta
2021-05-10 18:00   ` Vineet Gupta
2021-05-17 19:24   ` Yann E. MORIN [this message]
2021-05-17 19:24     ` [Buildroot] " Yann E. MORIN
2021-05-10 18:00 ` [Buildroot] [PATCH v2 2/3] lmbench: increase memsize delay for slow FPGAs Vineet Gupta
2021-05-10 18:00   ` Vineet Gupta
2021-05-10 18:00 ` [Buildroot] [PATCH v3 2/4] lmbench: memsize: increase " Vineet Gupta
2021-05-10 18:00   ` Vineet Gupta
2021-05-17 20:09   ` [Buildroot] " Yann E. MORIN
2021-05-17 20:09     ` Yann E. MORIN
2021-05-17 21:53     ` Vineet Gupta
2021-05-17 21:53       ` Vineet Gupta
2021-05-18  6:38       ` Yann E. MORIN
2021-05-18  6:38         ` Yann E. MORIN
2021-05-20  8:41   ` Peter Korsgaard
2021-05-20  8:41     ` Peter Korsgaard
2021-05-10 18:00 ` [Buildroot] [PATCH v3 3/4] lmbench: emulate --prefix to avoid scattering binaries all over Vineet Gupta
2021-05-10 18:00   ` Vineet Gupta
2021-05-10 20:09   ` [Buildroot] " Thomas Petazzoni
2021-05-10 20:09     ` Thomas Petazzoni
2021-05-10 20:22     ` Vineet Gupta
2021-05-10 20:22       ` Vineet Gupta
2021-05-17 16:59       ` Yann E. MORIN
2021-05-17 16:59         ` Yann E. MORIN
2021-05-10 18:00 ` [Buildroot] [PATCH v3 4/4] lmbench: lat_rpc: fix stray pointer Vineet Gupta
2021-05-10 18:00   ` Vineet Gupta
2021-05-17 20:09   ` [Buildroot] " Yann E. MORIN
2021-05-17 20:09     ` Yann E. MORIN
2021-05-20  8:41   ` Peter Korsgaard
2021-05-20  8:41     ` Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210517192436.GD2506@scaer \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.