qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [v3 3/3] configure: add options to config avx2


From: Li, Liang Z
Subject: Re: [Qemu-devel] [v3 3/3] configure: add options to config avx2
Date: Tue, 8 Dec 2015 14:18:47 +0000

> On 8 December 2015 at 12:08, Liang Li <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]