From 9c0d0908f9f2c4bc12312eb5991479ef0375c2ad Mon Sep 17 00:00:00 2001 From: Rhys Kidd Date: Sun, 11 Sep 2016 04:33:20 +0000 Subject: [PATCH] Follow up to r15905, properly guard memcheck/tests/amd64/shr_edx on clang. n-i-bz. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit “error in backend: 32-bit absolute addressing is not supported in 64-bit mode” git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15946 --- memcheck/tests/amd64/Makefile.am | 5 +++-- memcheck/tests/amd64/shr_edx.vgtest | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/memcheck/tests/amd64/Makefile.am b/memcheck/tests/amd64/Makefile.am index a6c80680e6..ef085d0bd7 100644 --- a/memcheck/tests/amd64/Makefile.am +++ b/memcheck/tests/amd64/Makefile.am @@ -44,7 +44,6 @@ check_PROGRAMS = \ insn-bsfl \ insn-pmovmskb \ sh-mem-vec128 \ - shr_edx \ sse_memory \ xor-undef-amd64 if BUILD_AVX_TESTS @@ -55,7 +54,9 @@ if HAVE_ASM_CONSTRAINT_P endif # clang 3.5.0 barfs about -mfancy-math-387 if !COMPILER_IS_CLANG - check_PROGRAMS += more_x87_fp + check_PROGRAMS += \ + more_x87_fp \ + shr_edx endif AM_CFLAGS += @FLAG_M64@ diff --git a/memcheck/tests/amd64/shr_edx.vgtest b/memcheck/tests/amd64/shr_edx.vgtest index 3d783ef440..e02f7e844c 100644 --- a/memcheck/tests/amd64/shr_edx.vgtest +++ b/memcheck/tests/amd64/shr_edx.vgtest @@ -1,2 +1,3 @@ +prereq: test -e shr_edx prog: shr_edx vgopts: -q -- 2.47.2