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
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 \
53 AM_CFLAGS += @FLAG_M32@ $(FLAG_MMMX) $(FLAG_MSSE)
54 AM_CXXFLAGS += @FLAG_M32@ $(FLAG_MMMX) $(FLAG_MSSE)
55 AM_CCASFLAGS += @FLAG_M32@
58 check_PROGRAMS += bug487993
59 bug487993_SOURCES = bug487993.cpp
60 bug487993_CXXFLAGS = ${AM_CXXFLAGS} -std=c++17
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
70 pushpopmem_CFLAGS = $(AM_CFLAGS)
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)
79 pcmpgt_CXXFLAGS = $(AM_CXXFLAGS)