qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v3 0/2] AVX2 configure fixes
@ 2016-06-10 11:16 Dr. David Alan Gilbert (git)
  2016-06-10 11:16 ` [Qemu-devel] [PATCH v3 1/2] Make avx2 configure test work with -O2 Dr. David Alan Gilbert (git)
                   ` (3 more replies)
  0 siblings, 4 replies; 19+ messages in thread
From: Dr. David Alan Gilbert (git) @ 2016-06-10 11:16 UTC (permalink / raw)
  To: qemu-devel, pbonzini, peter.maydell; +Cc: liang.z.li, amit.shah, quintela

From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>

Hi,
  This pair of patches fixes a couple of issues that we found during test.
The first is that the configure test is pessimistic when compiled with -O2,
the second is that the explicit 4.9 gcc test is a bit coarse; I've removed
that test but beefed up the ./configure test to actually use the avx2
intrinsics and that fails in the same way as the main code, so it works
in the same way as the explicit check but allows older gcc's to work
when -save-temps isn't used.

Dave

v3
  Use compile_object rather than compile_prog as suggested by Peter to
  hopefully fail on his ccache setup.

v2
  Remove the explicit version check
  Split the patches


Dr. David Alan Gilbert (2):
  Make avx2 configure test work with -O2
  avx2 configure: Use primitives in test

 configure     | 17 ++++++++++++-----
 util/cutils.c |  8 +-------
 2 files changed, 13 insertions(+), 12 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2016-07-29 14:22 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-10 11:16 [Qemu-devel] [PATCH v3 0/2] AVX2 configure fixes Dr. David Alan Gilbert (git)
2016-06-10 11:16 ` [Qemu-devel] [PATCH v3 1/2] Make avx2 configure test work with -O2 Dr. David Alan Gilbert (git)
2016-06-10 11:16 ` [Qemu-devel] [PATCH v3 2/2] avx2 configure: Use primitives in test Dr. David Alan Gilbert (git)
2016-07-14 13:13   ` Aaron Lindsay
2016-07-14 13:15     ` Paolo Bonzini
2016-07-14 13:23       ` Peter Maydell
2016-07-14 14:27         ` Aaron Lindsay
2016-07-14 14:35           ` Peter Maydell
2016-07-14 19:44             ` Aaron Lindsay
2016-07-14 13:33     ` Dr. David Alan Gilbert
2016-07-14 14:18       ` Aaron Lindsay
2016-07-14 15:05         ` Dr. David Alan Gilbert
2016-07-14 19:36           ` Aaron Lindsay
2016-07-14 19:38             ` [Qemu-devel] [PATCH] avx2 configure: Disable if static build Aaron Lindsay
2016-07-19 19:12               ` Dr. David Alan Gilbert
2016-07-29 14:22                 ` Peter Maydell
2016-06-13  9:31 ` [Qemu-devel] [PATCH v3 0/2] AVX2 configure fixes Paolo Bonzini
2016-06-13 10:51 ` Peter Maydell
2016-06-13 10:58   ` Dr. David Alan Gilbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).