• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2include $(top_srcdir)/Makefile.tool-tests.am
3
4dist_noinst_SCRIPTS = filter_stderr filter_pushfpopf filter_tronical
5
6INSN_TESTS = insn_basic insn_fpu insn_cmov insn_mmx insn_mmxext insn_sse insn_sse2
7
8EXTRA_DIST = \
9	bug152022.vgtest bug152022.stderr.exp bug152022.stdout.exp \
10	espindola2.vgtest espindola2.stderr.exp \
11	fpeflags.stderr.exp fpeflags.vgtest \
12	fxsave.vgtest fxsave.stdout.exp fxsave.stderr.exp \
13	$(addsuffix .stderr.exp,$(INSN_TESTS)) \
14	$(addsuffix .stdout.exp,$(INSN_TESTS)) \
15	$(addsuffix .vgtest,$(INSN_TESTS)) \
16	pushfpopf.stderr.exp pushfpopf.stdout.exp pushfpopf.vgtest \
17	pushfw_x86.vgtest pushfw_x86.stdout.exp pushfw_x86.stderr.exp \
18	pushpopmem.stderr.exp pushpopmem.stdout.exp pushpopmem.vgtest \
19	sse1_memory.stderr.exp sse1_memory.stdout.exp sse1_memory.vgtest \
20	sse2_memory.stderr.exp sse2_memory.stdout.exp sse2_memory.vgtest \
21	tronical.stderr.exp tronical.vgtest \
22	more_x86_fp.stderr.exp more_x86_fp.stdout.exp more_x86_fp.vgtest \
23	fprem.stderr.exp fprem.stdout.exp fprem.vgtest \
24	xor-undef-x86.stderr.exp xor-undef-x86.stdout.exp \
25	xor-undef-x86.vgtest
26
27check_PROGRAMS = \
28	bug152022 \
29	espindola2 \
30	fpeflags \
31	fprem \
32	fxsave \
33	more_x86_fp \
34	pushfpopf \
35	pushfw_x86 \
36	pushpopmem \
37	sse_memory \
38	tronical \
39	xor-undef-x86
40
41AM_CFLAGS    += @FLAG_M32@ $(FLAG_MMMX) $(FLAG_MSSE)
42AM_CXXFLAGS  += @FLAG_M32@ $(FLAG_MMMX) $(FLAG_MSSE)
43AM_CCASFLAGS += @FLAG_M32@
44
45
46# fpeflags must use these flags -- bug only occurred with them.
47fpeflags_CFLAGS		= $(AM_CFLAGS) -march=i686
48pushfpopf_SOURCES 	= pushfpopf_c.c pushfpopf_s.S
49if VGCONF_OS_IS_DARWIN
50pushpopmem_CFLAGS 	= $(AM_CFLAGS) -mdynamic-no-pic
51else
52pushpopmem_CFLAGS 	= $(AM_CFLAGS)
53endif
54tronical_SOURCES 	= tronical.S
55
56more_x86_fp_LDADD	= -lm
57