Import Upstream version 20180207
[hcoop/debian/mlton.git] / doc / guide / src / RunningOnAMD64.adoc
CommitLineData
7f918cf1
CE
1RunningOnAMD64
2==============
3
4MLton runs fine on the AMD64 (aka "x86-64" or "x64") architecture.
5
6== Notes ==
7
8* When compiling for AMD64, MLton targets the 64-bit ABI.
9
10* On AMD64, MLton supports native code generation (`-codegen native` or `-codegen amd64`).
11
12* When compiling for AMD64, MLton uses `-align 8` by default. Using
13`-align 4` may be incompatible with optimized builds of the <:GnuMP:>
14library, which assume 8-byte alignment. (See the thread at
15http://www.mlton.org/pipermail/mlton/2009-October/030674.html for more
16details.)