Skip to content

AVX2 configure fixes

Dr. David Alan Gilbert (git) qemu-devel 2 versions – Applied

Status from this message: Queued, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 13 repliesApplied
  2. v22 patches 1 replySuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2Make avx2 configure test work with -O2configure+1 -10 replies
2/2avx2 configure: Use primitives in testconfigure util/cutils.c+13 -1213 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchDr. David Alan Gilbert
1/2
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [Qemu-devel] [PATCH v3 0/2] AVX2 configure fixes

From: "Dr. David Alan Gilbert" <[email protected]>

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(-)
Signature · 1 line
2.7.4