diff options
author | Liam Merwick <Liam.Merwick@oracle.com> | 2018-10-19 21:38:59 +0100 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2018-10-24 07:39:10 +0100 |
commit | 86583a07c4a7d55b04db5942a70d176f5299144a (patch) | |
tree | 5693a0c5354822b29c82f7573eba34c6834e5faf /memory.c | |
parent | ba27877618abcc4906db9a9168dbbb3104c1a3d0 (diff) |
configure: Provide option to explicitly disable AVX2
The configure script detects if the compiler has AVX2 support and
automatically sets avx2_opt="yes" which in turn defines CONFIG_AVX2_OPT.
There is no way of explicitly overriding this setting so this commit adds
two command-line options: --enable-avx2 and --disable-avx2.
The default behaviour, when no option is specified, is to maintain the
current behaviour and enable AVX2 if the compiler supports it.
Signed-off-by: Liam Merwick <Liam.Merwick@oracle.com>
Reviewed-by: Darren Kenny <Darren.Kenny@oracle.com>
Reviewed-by: Mark Kanda <Mark.Kanda@oracle.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'memory.c')
0 files changed, 0 insertions, 0 deletions