diff options
author | def <dennis@felsin9.de> | 2015-07-31 23:55:31 +0200 |
---|---|---|
committer | def <dennis@felsin9.de> | 2015-07-31 23:55:31 +0200 |
commit | 130605567e93902df1cc65dade92ec433fdf9dff (patch) | |
tree | d451ea75cac40408a2967118e331bb66d2ab7c2f /compiler | |
parent | 3d6a8b401a22f02c6dd604bc6caac09f415d3ddf (diff) | |
download | Nim-130605567e93902df1cc65dade92ec433fdf9dff.tar.gz |
Add powerpc64el support (untested)
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/platform.nim | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/compiler/platform.nim b/compiler/platform.nim index f52017af7..153ada2b2 100644 --- a/compiler/platform.nim +++ b/compiler/platform.nim @@ -158,8 +158,8 @@ type TSystemCPU* = enum # Also add CPU for in initialization section and # alias conditionals to condsyms (end of module). cpuNone, cpuI386, cpuM68k, cpuAlpha, cpuPowerpc, cpuPowerpc64, - cpuSparc, cpuVm, cpuIa64, cpuAmd64, cpuMips, cpuMipsel, cpuArm, - cpuJS, cpuNimrodVM, cpuAVR + cpuPowerpc64el, cpuSparc, cpuVm, cpuIa64, cpuAmd64, cpuMips, cpuMipsel, + cpuArm, cpuJS, cpuNimrodVM, cpuAVR type TEndian* = enum @@ -175,6 +175,7 @@ const (name: "alpha", intSize: 64, endian: littleEndian, floatSize: 64, bit: 64), (name: "powerpc", intSize: 32, endian: bigEndian, floatSize: 64, bit: 32), (name: "powerpc64", intSize: 64, endian: bigEndian, floatSize: 64,bit: 64), + (name: "powerpc64el", intSize: 64, endian: littleEndian, floatSize: 64,bit: 64), (name: "sparc", intSize: 32, endian: bigEndian, floatSize: 64, bit: 32), (name: "vm", intSize: 32, endian: littleEndian, floatSize: 64, bit: 32), (name: "ia64", intSize: 64, endian: littleEndian, floatSize: 64, bit: 64), |