-
Liam Merwick authored
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>Liam Merwick authoredThe 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>
Loading