mirror of
https://github.com/KarolS/millfork.git
synced 2026-04-20 18:16:35 +00:00
Unify syntax of command-line switches
This commit is contained in:
@@ -87,21 +87,28 @@ This may cause problems if the parameter table is stored next to a hardware regi
|
||||
|
||||
* `-O9` – Optimize code using superoptimizer (experimental). Computationally expensive, decent results.
|
||||
|
||||
* `--inline` – Inline functions automatically (experimental). See the [documentation about inlining](../abi/inlining.md). Computationally easy, can give decent gains.
|
||||
* `-finline`, `-fno-inline` – Whether should inline functions automatically (experimental).
|
||||
See the [documentation about inlining](../abi/inlining.md). Computationally easy, can give decent gains.
|
||||
`.ini` equivalent: `inline`.
|
||||
|
||||
* `--fipo`, `--fno-ipo` – Whether should perform interprocedural optimization.
|
||||
* `-fipo`, `-fno-ipo` – Whether should perform interprocedural optimization.
|
||||
It enables certain optimization similar to what inlining would enable, but without actual inlining.
|
||||
`.ini` equivalent: `ipo`.
|
||||
|
||||
* `--size` – Optimize for size, sacrificing some speed (experimental).
|
||||
* `-Os`, `--size` – Optimize for size, sacrificing some speed (experimental).
|
||||
|
||||
* `--fast` – Optimize for speed, even if it increases the size a bit (experimental).
|
||||
* `-Of`, `--fast` – Optimize for speed, even if it increases the size a bit (experimental).
|
||||
|
||||
* `--blast-processing` – Optimize for speed, even if it increases the size a lot (experimental).
|
||||
Enables `--inline` automatically.
|
||||
* `-Ob`, `--blast-processing` – Optimize for speed, even if it increases the size a lot (experimental).
|
||||
Enables `-finline` automatically.
|
||||
|
||||
* `--dangerous-optimizations` – Use dangerous optimizations (experimental).
|
||||
* `-fdangerous-optimizations` – Use dangerous optimizations (experimental).
|
||||
Dangerous optimizations are more likely to result in broken code.
|
||||
Enables `--fipo` automatically.
|
||||
Enables `-fipo` automatically.
|
||||
`.ini` equivalent: `dangerous_optimizations`.
|
||||
|
||||
Note: for compatibility with versions 0.3.0 and earlier,
|
||||
command line options `--inline`, `--dangerous-optimizations` `--fipo` and `--fno-ipo` are still recognized, but discouraged.
|
||||
|
||||
## Warning options
|
||||
|
||||
|
||||
@@ -43,9 +43,9 @@ You may be also interested in the following:
|
||||
|
||||
* `-O`, `-O2`, `-O3`, `-O4` – enable optimization (various levels)
|
||||
|
||||
* `--inline` – automatically inline functions for better optimization
|
||||
* `-finline` – automatically inline functions for better optimization
|
||||
|
||||
* `--fipo` – enable interprocedural optimization
|
||||
* `-fipo` – enable interprocedural optimization
|
||||
|
||||
* `-s` – additionally generate assembly output
|
||||
|
||||
|
||||
Reference in New Issue
Block a user