diff options
| author | Liam Merwick | 2018-10-19 22:38:59 +0200 |
|---|---|---|
| committer | Thomas Huth | 2018-10-24 08:39:10 +0200 |
| commit | 86583a07c4a7d55b04db5942a70d176f5299144a (patch) | |
| tree | 5693a0c5354822b29c82f7573eba34c6834e5faf /scripts/checkpatch.pl | |
| parent | po/Makefile: Modern shell scripting (use $() instead of ``) (diff) | |
| download | qemu-86583a07c4a7d55b04db5942a70d176f5299144a.tar.gz qemu-86583a07c4a7d55b04db5942a70d176f5299144a.tar.xz qemu-86583a07c4a7d55b04db5942a70d176f5299144a.zip | |
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 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions
