-
Notifications
You must be signed in to change notification settings - Fork 27
Christian Steinmetz edited this page Jul 20, 2022
·
1 revision
It turns out, that compiled geometric algebra algorithms often contains common subexpressions. If a term occurs more than once, a storage of the computed term into a variable can save recomputation, and this can lead to a faster execution time.
Since GAALOP v.2.2.6, common subexpression elimination is integrated in GAALOP. The common subexpression elimination is disabled by default. It can be enabled in three ways:
- in the GUI on the configuration tab by the option "optGCSE"
- By using the command line option "--opt-gcse"
- Via CMake option "optGCSE" when using the GAALOP Precompiler