mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-19 19:20:23 +02:00
Add wasm32 and wasm64 CPU types
* module/system/base/target.scm (cpu-endianness): wasm targets are little-endian.
This commit is contained in:
parent
d2784ea1af
commit
018c5b9ad9
1 changed files with 3 additions and 1 deletions
|
@ -84,7 +84,9 @@
|
||||||
(cond ((string-match "^i[0-9]86$" cpu)
|
(cond ((string-match "^i[0-9]86$" cpu)
|
||||||
(endianness little))
|
(endianness little))
|
||||||
((member cpu '("x86_64" "ia64"
|
((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))
|
(endianness little))
|
||||||
((member cpu '("sparc" "sparc64" "powerpc" "powerpc64" "spu"
|
((member cpu '("sparc" "sparc64" "powerpc" "powerpc64" "spu"
|
||||||
"mips" "mips64" "m68k" "s390x"))
|
"mips" "mips64" "m68k" "s390x"))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue