Re: [Qemu-devel] [PATCH v3 2/2] avx2 configure: Use primitives in test

2016-07-14 Thread Aaron Lindsay
On Jul 14 16:05, Dr. David Alan Gilbert wrote: > * Aaron Lindsay (alind...@codeaurora.org) wrote: > > On Jul 14 14:33, Dr. David Alan Gilbert wrote: > > > * Aaron Lindsay (alind...@codeaurora.org) wrote: > > > > I'm configuring with: > > > > # ./configure \ > > > > --static \ > > > > --

Re: [Qemu-devel] [PATCH v3 2/2] avx2 configure: Use primitives in test

2016-07-14 Thread Aaron Lindsay
On Jul 14 15:35, Peter Maydell wrote: > On 14 July 2016 at 15:27, Aaron Lindsay wrote: > > On Jul 14 14:23, Peter Maydell wrote: > >> On 14 July 2016 at 14:15, Paolo Bonzini wrote: > >> > On 14/07/2016 15:13, Aaron Lindsay wrote: > >> >> I'm configuring with: > >> >> # ./configure \ > >> >> -

Re: [Qemu-devel] [PATCH v3 2/2] avx2 configure: Use primitives in test

2016-07-14 Thread Peter Maydell
On 14 July 2016 at 15:27, Aaron Lindsay wrote: > On Jul 14 14:23, Peter Maydell wrote: >> On 14 July 2016 at 14:15, Paolo Bonzini wrote: >> > On 14/07/2016 15:13, Aaron Lindsay wrote: >> >> I'm configuring with: >> >> # ./configure \ >> >> --static \ >> >> --disable-gtk \ >> >> --

Re: [Qemu-devel] [PATCH v3 2/2] avx2 configure: Use primitives in test

2016-07-14 Thread Aaron Lindsay
On Jul 14 14:23, Peter Maydell wrote: > On 14 July 2016 at 14:15, Paolo Bonzini wrote: > > On 14/07/2016 15:13, Aaron Lindsay wrote: > >> I'm configuring with: > >> # ./configure \ > >> --static \ > >> --disable-gtk \ > >> --target-list=aarch64-softmmu > > > Hmm, it's possible tha

Re: [Qemu-devel] [PATCH v3 2/2] avx2 configure: Use primitives in test

2016-07-14 Thread Dr. David Alan Gilbert
* Aaron Lindsay (alind...@codeaurora.org) wrote: > On Jul 14 14:33, Dr. David Alan Gilbert wrote: > > * Aaron Lindsay (alind...@codeaurora.org) wrote: > > > I'm configuring with: > > > # ./configure \ > > > --static \ > > > --disable-gtk \ > > > --target-list=aarch64-softmmu > > > > Does i

Re: [Qemu-devel] [PATCH v3 2/2] avx2 configure: Use primitives in test

2016-07-14 Thread Aaron Lindsay
On Jul 14 14:33, Dr. David Alan Gilbert wrote: > * Aaron Lindsay (alind...@codeaurora.org) wrote: > > I'm configuring with: > > # ./configure \ > > --static \ > > --disable-gtk \ > > --target-list=aarch64-softmmu > > Does it work if you configure without the --static? Yes, it works if

Re: [Qemu-devel] [PATCH v3 2/2] avx2 configure: Use primitives in test

2016-07-14 Thread Dr. David Alan Gilbert
* Aaron Lindsay (alind...@codeaurora.org) wrote: > On Jun 10 12:16, Dr. David Alan Gilbert (git) wrote: > > From: "Dr. David Alan Gilbert" > > > > Use the avx2 primitives during the test, thus making sure that the > > compiler and assembler could actually use avx2. > > > > This also detects the

Re: [Qemu-devel] [PATCH v3 2/2] avx2 configure: Use primitives in test

2016-07-14 Thread Peter Maydell
On 14 July 2016 at 14:15, Paolo Bonzini wrote: > On 14/07/2016 15:13, Aaron Lindsay wrote: >> I'm configuring with: >> # ./configure \ >> --static \ >> --disable-gtk \ >> --target-list=aarch64-softmmu > Hmm, it's possible that we have to disable ifunc together with --static. I'm

Re: [Qemu-devel] [PATCH v3 2/2] avx2 configure: Use primitives in test

2016-07-14 Thread Paolo Bonzini
On 14/07/2016 15:13, Aaron Lindsay wrote: > On Jun 10 12:16, Dr. David Alan Gilbert (git) wrote: >> From: "Dr. David Alan Gilbert" >> >> Use the avx2 primitives during the test, thus making sure that the >> compiler and assembler could actually use avx2. >> >> This also detects the failure case

Re: [Qemu-devel] [PATCH v3 2/2] avx2 configure: Use primitives in test

2016-07-14 Thread Aaron Lindsay
On Jun 10 12:16, Dr. David Alan Gilbert (git) wrote: > From: "Dr. David Alan Gilbert" > > Use the avx2 primitives during the test, thus making sure that the > compiler and assembler could actually use avx2. > > This also detects the failure case on gcc 4.8.x with -save-temps > and avoids the nee

[Qemu-devel] [PATCH v3 2/2] avx2 configure: Use primitives in test

2016-06-10 Thread Dr. David Alan Gilbert (git)
From: "Dr. David Alan Gilbert" Use the avx2 primitives during the test, thus making sure that the compiler and assembler could actually use avx2. This also detects the failure case on gcc 4.8.x with -save-temps and avoids the need for the gcc version check in cutils. Signed-off-by: Dr. David Al