aboutsummaryrefslogtreecommitdiff
path: root/memcheck/tests/x86/Makefile.am
blob: 4bbb831c76316c729eb330ad7d67711a04999411 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52

include $(top_srcdir)/Makefile.tool-tests.am

noinst_SCRIPTS = filter_stderr filter_pushfpopf filter_tronical

INSN_TESTS = insn_basic insn_fpu insn_cmov insn_mmx insn_mmxext insn_sse insn_sse2

EXTRA_DIST = $(noinst_SCRIPTS) \
	bug152022.vgtest bug152022.stderr.exp bug152022.stdout.exp \
	espindola2.vgtest espindola2.stderr.exp \
	fpeflags.stderr.exp fpeflags.vgtest \
	fxsave.vgtest fxsave.stdout.exp fxsave.stderr.exp \
	$(addsuffix .stderr.exp,$(INSN_TESTS)) \
	$(addsuffix .stdout.exp,$(INSN_TESTS)) \
	$(addsuffix .vgtest,$(INSN_TESTS)) \
	int3-x86.vgtest int3-x86.stderr.exp int3-x86.stdout.exp \
	pushfpopf.stderr.exp pushfpopf.stdout.exp pushfpopf.vgtest \
	pushfw_x86.vgtest pushfw_x86.stdout.exp pushfw_x86.stderr.exp \
	pushpopmem.stderr.exp pushpopmem.stdout.exp pushpopmem.vgtest \
	sse1_memory.stderr.exp sse1_memory.stdout.exp sse1_memory.vgtest \
	sse2_memory.stderr.exp sse2_memory.stdout.exp sse2_memory.vgtest \
	tronical.stderr.exp tronical.vgtest \
	more_x86_fp.stderr.exp more_x86_fp.stdout.exp more_x86_fp.vgtest \
	fprem.stderr.exp fprem.stdout.exp fprem.vgtest \
	xor-undef-x86.stderr.exp xor-undef-x86.stdout.exp \
	xor-undef-x86.vgtest

check_PROGRAMS = \
	bug152022 \
	espindola2 \
	int3-x86 \
	fpeflags \
	fprem \
	fxsave \
	more_x86_fp \
	pushfpopf \
	pushfw_x86 \
	pushpopmem \
	sse_memory \
	tronical \
	xor-undef-x86

AM_CFLAGS    += @FLAG_M32@ $(FLAG_MMMX) $(FLAG_MSSE)
AM_CXXFLAGS  += @FLAG_M32@ $(FLAG_MMMX) $(FLAG_MSSE)
AM_CCASFLAGS += @FLAG_M32@

# must be built with these flags -- bug only occurred with them
fpeflags_CFLAGS		= $(AM_CFLAGS) -march=i686
pushfpopf_SOURCES 	= pushfpopf_c.c pushfpopf_s.S
tronical_SOURCES 	= tronical.S

more_x86_fp_LDADD	= -lm