Add missing zstd.h to coregrind Makefile.am noinst_HEADERS
[valgrind.git] / memcheck / tests / x86 / Makefile.am
blob6d0d6a1983fefe215b3ecf61ef761232be1fdc9a
2 include $(top_srcdir)/Makefile.tool-tests.am
4 dist_noinst_SCRIPTS = filter_stderr filter_tronical
6 noinst_SCRIPTS = filter_pushfpopf
8 INSN_TESTS = insn_basic insn_fpu insn_cmov insn_mmx insn_mmxext insn_sse insn_sse2
10 EXTRA_DIST = \
11         bug152022.vgtest bug152022.stderr.exp bug152022.stdout.exp \
12         bug487993.vgtest bug487993.stderr.exp \
13         espindola2.vgtest espindola2.stderr.exp \
14         fpeflags.stderr.exp fpeflags.vgtest \
15         fxsave.vgtest fxsave.stdout.exp fxsave.stderr.exp \
16         $(addsuffix .stderr.exp,$(INSN_TESTS)) \
17         $(addsuffix .stdout.exp,$(INSN_TESTS)) \
18         $(addsuffix .vgtest,$(INSN_TESTS)) \
19         pushfpopf.stderr.exp pushfpopf.stdout.exp pushfpopf.vgtest \
20         pushfw_x86.vgtest pushfw_x86.stdout.exp pushfw_x86.stderr.exp \
21         pushpopmem.stderr.exp pushpopmem.stdout.exp pushpopmem.vgtest \
22         pcmpgt.stderr.exp pcmpgt.vgtest \
23         sh-mem-vec128-plo-no.vgtest \
24                 sh-mem-vec128-plo-no.stderr.exp \
25                 sh-mem-vec128-plo-no.stdout.exp \
26         sh-mem-vec128-plo-yes.vgtest \
27                 sh-mem-vec128-plo-yes.stderr.exp \
28                 sh-mem-vec128-plo-yes.stdout.exp \
29         sse1_memory.stderr.exp sse1_memory.stdout.exp sse1_memory.vgtest \
30         sse2_memory.stderr.exp sse2_memory.stdout.exp sse2_memory.vgtest \
31         tronical.stderr.exp tronical.vgtest \
32         more_x86_fp.stderr.exp more_x86_fp.stdout.exp more_x86_fp.vgtest \
33         fprem.stderr.exp fprem.stdout.exp fprem.vgtest \
34         xor-undef-x86.stderr.exp xor-undef-x86.stdout.exp \
35         xor-undef-x86.vgtest
37 check_PROGRAMS = \
38         bug152022 \
39         espindola2 \
40         fpeflags \
41         fprem \
42         fxsave \
43         more_x86_fp \
44         pushfpopf \
45         pushfw_x86 \
46         pushpopmem \
47         pcmpgt \
48         sh-mem-vec128 \
49         sse_memory \
50         tronical \
51         xor-undef-x86
53 AM_CFLAGS    += @FLAG_M32@ $(FLAG_MMMX) $(FLAG_MSSE)
54 AM_CXXFLAGS  += @FLAG_M32@ $(FLAG_MMMX) $(FLAG_MSSE)
55 AM_CCASFLAGS += @FLAG_M32@
57 if HAVE_CXX17
58 check_PROGRAMS += bug487993
59 bug487993_SOURCES = bug487993.cpp
60 bug487993_CXXFLAGS = ${AM_CXXFLAGS} -std=c++17
61 endif
63 # fpeflags must use these flags -- bug only occurred with them.
64 fpeflags_CFLAGS         = $(AM_CFLAGS) -march=i686
65 pushfpopf_CFLAGS        = $(AM_CFLAGS) -Wno-uninitialized
66 pushfpopf_SOURCES       = pushfpopf_c.c pushfpopf_s.S
67 if VGCONF_OS_IS_DARWIN
68 pushpopmem_CFLAGS       = $(AM_CFLAGS) -mdynamic-no-pic
69 else
70 pushpopmem_CFLAGS       = $(AM_CFLAGS)
71 endif
72 tronical_SOURCES        = tronical.S
74 more_x86_fp_LDADD       = -lm
75 pcmpgt_SOURCES = pcmpgt.cpp
76 if VGCONF_OS_IS_FREEBSD
77 pcmpgt_CXXFLAGS = $(AM_CXXFLAGS) $(FLAG_32ON64_GXX)
78 else
79 pcmpgt_CXXFLAGS = $(AM_CXXFLAGS)
80 endif