> On 8 December 2015 at 12:08, Liang Li <liang.z...@intel.com> wrote: > > Add the '--enable-avx2' & '--disable-avx2' option so as to config the > > AVX2 instruction optimization. > > > > If '--disable-avx2' is not set, configure will detect if the compiler > > can support AVX2 option, if yes, AVX2 optimization is eabled, else > > disabled. > > Is the configure option necessary? For other things like this (eg our use of > SSE2 or Altivec) we just go ahead and use the feature if the compiler > supports it. >
It seems unnecessary. > When would somebody building QEMU want to disable this option? > > thanks > -- PMM The v1 of this patch had the '--enable-avx2' & '--disable-avx2' options because this version did not support ifunc, and I left them here in the following version ... I will remove them if they are unnecessary. Thanks for your comments. Liang