![]() |
ATLAS Offline Software
|
Helper to enable (more agressive) auto-vectorization. More...
#include "CxxUtils/features.h"
Go to the source code of this file.
Macros | |
#define | ATH_ENABLE_TREE_VECTORIZATION class ATH_ENABLE_TREE_VECTORIZATION_SWALLOW_SEMICOLON |
Helper to enable (more agressive) auto-vectorization.
There are cases where we prefer to use the gcc cheap model rather than the very cheap. This can be achieved by enabling tree-vectorize (gcc -O2 -ftree-vectorize -Q –help=optimizers) -ftree-loop-vectorize [enabled] -ftree-slp-vectorize [enabled] -ftree-vectorize [enabled] -fvect-cost-model=[unlimited|dynamic|cheap|very-cheap] cheap
Add ATH_ENABLE_TREE_VECTORIZATION; at the start of a compilation unit to enable it for this file.
Add ATH_ENABLE_FUNCTION_VECTORIZATION before a function to enable it for just this function
We disable the functionality for gcc 14 and later. Since spot tests do not show any noticeable difference.
Definition in file Control/CxxUtils/CxxUtils/vectorize.h.
#define ATH_ENABLE_TREE_VECTORIZATION class ATH_ENABLE_TREE_VECTORIZATION_SWALLOW_SEMICOLON |
Definition at line 53 of file Control/CxxUtils/CxxUtils/vectorize.h.