diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2021-01-20 02:10:11 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-20 11:10:11 +0100 |
commit | 00d9176e91c4a44ed2ccd8dd19c29e9f3d0f6ace (patch) | |
tree | ba116e091a2578f7f0e21d2c0e3d1b2c9d1d2dd0 | |
parent | 14730d9d64c0d4a9c1f123a21a2894cfbd1ed314 (diff) | |
download | Nim-00d9176e91c4a44ed2ccd8dd19c29e9f3d0f6ace.tar.gz |
some comments for amd64 and nimvm CPU (#16756)
-rw-r--r-- | compiler/platform.nim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/platform.nim b/compiler/platform.nim index 714946315..a4e5f2d7f 100644 --- a/compiler/platform.nim +++ b/compiler/platform.nim @@ -214,13 +214,14 @@ const (name: "vm", intSize: 32, endian: littleEndian, floatSize: 64, bit: 32), (name: "hppa", intSize: 32, endian: bigEndian, floatSize: 64, bit: 32), (name: "ia64", intSize: 64, endian: littleEndian, floatSize: 64, bit: 64), - (name: "amd64", intSize: 64, endian: littleEndian, floatSize: 64, bit: 64), + (name: "amd64", intSize: 64, endian: littleEndian, floatSize: 64, bit: 64), # a.k.a. x86_64, covers both amd and intel (name: "mips", intSize: 32, endian: bigEndian, floatSize: 64, bit: 32), (name: "mipsel", intSize: 32, endian: littleEndian, floatSize: 64, bit: 32), (name: "arm", intSize: 32, endian: littleEndian, floatSize: 64, bit: 32), (name: "arm64", intSize: 64, endian: littleEndian, floatSize: 64, bit: 64), (name: "js", intSize: 32, endian: bigEndian,floatSize: 64,bit: 32), (name: "nimvm", intSize: 32, endian: bigEndian, floatSize: 64, bit: 32), + # xxx this seems buggy; on a 64bit machine, sizeof(int) is 64 in nimvm. (name: "avr", intSize: 16, endian: littleEndian, floatSize: 32, bit: 16), (name: "msp430", intSize: 16, endian: littleEndian, floatSize: 32, bit: 16), (name: "sparc64", intSize: 64, endian: bigEndian, floatSize: 64, bit: 64), |