Commit | Line | Data |
---|---|---|
7f918cf1 CE |
1 | RunningOnHPPA |
2 | ============= | |
3 | ||
4 | MLton 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 | |
11 | generation (`-codegen native`). Hence, performance is not as good as | |
12 | it might be and compile times are longer. Also, the quality of code | |
13 | generated by `gcc` is important. By default, MLton calls `gcc -O1`. | |
14 | You can change this by calling MLton with `-cc-opt -O2`. | |
15 | ||
16 | * When compiling for HPPA, MLton uses `-align 8` by default. While | |
17 | this speeds up reals, it also may increase object sizes. If your | |
18 | program does not make significant use of reals, you might see a | |
19 | speedup with `-align 4`. |