guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] 02/02: Add wasm32 and wasm64 CPU types


From: Andy Wingo
Subject: [Guile-commits] 02/02: Add wasm32 and wasm64 CPU types
Date: Fri, 23 Jun 2023 03:02:10 -0400 (EDT)

wingo pushed a commit to branch wip-tailify
in repository guile.

commit 018c5b9ad9c29183075f5f37e4f01081002e3e98
Author: Andy Wingo <wingo@pobox.com>
AuthorDate: Thu Jun 22 09:14:09 2023 +0200

    Add wasm32 and wasm64 CPU types
    
    * module/system/base/target.scm (cpu-endianness): wasm targets are
    little-endian.
---
 module/system/base/target.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/module/system/base/target.scm b/module/system/base/target.scm
index cc4c23654..562bf7b51 100644
--- a/module/system/base/target.scm
+++ b/module/system/base/target.scm
@@ -84,7 +84,9 @@
       (cond ((string-match "^i[0-9]86$" cpu)
              (endianness little))
             ((member cpu '("x86_64" "ia64"
-                           "powerpcle" "powerpc64le" "mipsel" "mips64el" 
"nios2" "sh3" "sh4" "alpha" "arc"))
+                           "powerpcle" "powerpc64le" "mipsel" "mips64el" 
"nios2"
+                           "sh3" "sh4" "alpha" "arc"
+                           "wasm32" "wasm64"))
              (endianness little))
             ((member cpu '("sparc" "sparc64" "powerpc" "powerpc64" "spu"
                            "mips" "mips64" "m68k" "s390x"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]