unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* [PATCH] add support for ARC architecture
@ 2021-04-06 22:04 Vineet Gupta
  2021-05-21 22:35 ` Vineet Gupta
  0 siblings, 1 reply; 2+ messages in thread
From: Vineet Gupta @ 2021-04-06 22:04 UTC (permalink / raw)
  To: guile-devel; +Cc: linux-snps-arc, Vineet Gupta

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
---
 module/system/base/target.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/module/system/base/target.scm b/module/system/base/target.scm
index 2088cd86697a..8bdcd66039e4 100644
--- a/module/system/base/target.scm
+++ b/module/system/base/target.scm
@@ -77,7 +77,7 @@
       (cond ((string-match "^i[0-9]86$" cpu)
              (endianness little))
             ((member cpu '("x86_64" "ia64"
-                           "powerpcle" "powerpc64le" "mipsel" "mips64el" "nios2" "sh3" "sh4" "alpha"))
+                           "powerpcle" "powerpc64le" "mipsel" "mips64el" "nios2" "sh3" "sh4" "alpha" "arc"))
              (endianness little))
             ((member cpu '("sparc" "sparc64" "powerpc" "powerpc64" "spu"
                            "mips" "mips64" "m68k" "s390x"))
@@ -118,7 +118,7 @@
 
           ((string-match "64$" cpu) 8)
           ((string-match "64_?[lbe][lbe]$" cpu) 8)
-          ((member cpu '("sparc" "powerpc" "mips" "mipsel" "nios2" "m68k" "sh3" "sh4")) 4)
+          ((member cpu '("sparc" "powerpc" "mips" "mipsel" "nios2" "m68k" "sh3" "sh4" "arc")) 4)
           ((member cpu '("s390x" "alpha")) 8)
           ((string-match "^arm.*" cpu) 4)
           (else (error "unknown CPU word size" cpu)))))
-- 
2.25.1




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

* Re: [PATCH] add support for ARC architecture
  2021-04-06 22:04 [PATCH] add support for ARC architecture Vineet Gupta
@ 2021-05-21 22:35 ` Vineet Gupta
  0 siblings, 0 replies; 2+ messages in thread
From: Vineet Gupta @ 2021-05-21 22:35 UTC (permalink / raw)
  To: guile-devel; +Cc: linux-snps-arc

On 4/6/21 3:04 PM, Vineet Gupta wrote:
> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
> ---
>   module/system/base/target.scm | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/module/system/base/target.scm b/module/system/base/target.scm
> index 2088cd86697a..8bdcd66039e4 100644
> --- a/module/system/base/target.scm
> +++ b/module/system/base/target.scm
> @@ -77,7 +77,7 @@
>         (cond ((string-match "^i[0-9]86$" cpu)
>                (endianness little))
>               ((member cpu '("x86_64" "ia64"
> -                           "powerpcle" "powerpc64le" "mipsel" "mips64el" "nios2" "sh3" "sh4" "alpha"))
> +                           "powerpcle" "powerpc64le" "mipsel" "mips64el" "nios2" "sh3" "sh4" "alpha" "arc"))
>                (endianness little))
>               ((member cpu '("sparc" "sparc64" "powerpc" "powerpc64" "spu"
>                              "mips" "mips64" "m68k" "s390x"))
> @@ -118,7 +118,7 @@
>   
>             ((string-match "64$" cpu) 8)
>             ((string-match "64_?[lbe][lbe]$" cpu) 8)
> -          ((member cpu '("sparc" "powerpc" "mips" "mipsel" "nios2" "m68k" "sh3" "sh4")) 4)
> +          ((member cpu '("sparc" "powerpc" "mips" "mipsel" "nios2" "m68k" "sh3" "sh4" "arc")) 4)
>             ((member cpu '("s390x" "alpha")) 8)
>             ((string-match "^arm.*" cpu) 4)
>             (else (error "unknown CPU word size" cpu)))))

ping !

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

end of thread, other threads:[~2021-05-21 22:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-06 22:04 [PATCH] add support for ARC architecture Vineet Gupta
2021-05-21 22:35 ` Vineet Gupta

unofficial mirror of guile-devel@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guile-devel/0 guile-devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guile-devel guile-devel/ https://yhetil.org/guile-devel \
		guile-devel@gnu.org
	public-inbox-index guile-devel

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.lisp.guile.devel
	nntp://news.gmane.io/gmane.lisp.guile.devel


AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git