summary refs log tree commit diff stats
path: root/scripts/decodetree.py
diff options
context:
space:
mode:
authorLiam Merwick <Liam.Merwick@oracle.com>2018-10-19 21:38:59 +0100
committerThomas Huth <thuth@redhat.com>2018-10-24 07:39:10 +0100
commit86583a07c4a7d55b04db5942a70d176f5299144a (patch)
tree5693a0c5354822b29c82f7573eba34c6834e5faf /scripts/decodetree.py
parentba27877618abcc4906db9a9168dbbb3104c1a3d0 (diff)
downloadfocaccia-qemu-86583a07c4a7d55b04db5942a70d176f5299144a.tar.gz
focaccia-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/decodetree.py')
0 files changed, 0 insertions, 0 deletions