]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Compile fb_test_amd64 only if adx instructions can be compiled
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Sat, 20 May 2017 14:59:54 +0000 (14:59 +0000)
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Sat, 20 May 2017 14:59:54 +0000 (14:59 +0000)
commitf2ede90cbbb4ac89920a270483b3118d13056de5
tree8fbcb5787a758484f5f20cabb7c316f334a6d49e
parent6618bb12bc74835f997aedf5f9ac151f54d7b3db
Compile fb_test_amd64 only if adx instructions can be compiled

Note: this just unbreaks the build on avx + non_adx capable systems
(such as gcc farm gcc20).

adx capable system should probably be better handled:
  * ./tests/x86_amd64_features cannot check for adx flag
    (so fb_test_amd64 is run if compiled and system is avx capable, which
     might give problems if gcc/as can compile the test, but the cpu
     cannot execute adx instructions)
  * on an adx capable system, a native run of cpuid tells it is adx capable
    but under valgrind, cpuid reports the valgrind synthetic cpu is not adx
    capable.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@16401
configure.ac
none/tests/amd64/Makefile.am