Import Upstream version 20180207
[hcoop/debian/mlton.git] / doc / guide / src / RunningOnHPPA.adoc
CommitLineData
7f918cf1
CE
1RunningOnHPPA
2=============
3
4MLton runs fine on the HPPA architecture.
5
6== Notes ==
7
8* When compiling for HPPA, MLton targets the 32-bit HPPA architecture.
9
10* When compiling for HPPA, MLton doesn't support native code
11generation (`-codegen native`). Hence, performance is not as good as
12it might be and compile times are longer. Also, the quality of code
13generated by `gcc` is important. By default, MLton calls `gcc -O1`.
14You can change this by calling MLton with `-cc-opt -O2`.
15
16* When compiling for HPPA, MLton uses `-align 8` by default. While
17this speeds up reals, it also may increase object sizes. If your
18program does not make significant use of reals, you might see a
19speedup with `-align 4`.