]> git.proxmox.com Git - mirror_qemu.git/commit - configure
avx2 configure: Use primitives in test
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Fri, 10 Jun 2016 11:16:18 +0000 (12:16 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 16 Jun 2016 16:39:04 +0000 (18:39 +0200)
commit4fb8320a2efb2216c7ddcc929ad0362f4e285681
tree4aa9fe07e20798d13869213b11388fe8af99607f
parentfc6e1de9d885377e1e68e50e25ed5425540b9b81
avx2 configure: Use primitives in test

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 Alan Gilbert <dgilbert@redhat.com>
Message-Id: <1465557378-24105-3-git-send-email-dgilbert@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
configure
util/cutils.c