configure: add configure option avx512f_opt
commit6b8cd447efdad1d8bb637904e5077900d063e05d
authorRobert Hoo <robert.hu@linux.intel.com>
Sat, 29 Feb 2020 12:34:34 +0000 (29 20:34 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 16 Mar 2020 21:07:42 +0000 (16 22:07 +0100)
tree7a4ccc59e6e153469bf070133f7c68a92cb73053
parent880a7817c1a82a93d3f83dfb25dce1f0db629c66
configure: add configure option avx512f_opt

If it is enabled, config-host.mak will have CONFIG_AVX512F_OPT defined.

AVX512F instruction set is available since Intel Skylake, and can be enabled in
compiling with -mavx512f.
More info:
https://software.intel.com/sites/default/files/managed/c5/15/architecture-instruction-set-extensions-programming-reference.pdf

Signed-off-by: Robert Hoo <robert.hu@linux.intel.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
configure