Debian Codegraph @

doc/guide/src/RunningOnHPPA.adoc

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