Home | History | Annotate | Download | only in x86
      1 
      2 include $(top_srcdir)/Makefile.tool-tests.am
      3 
      4 dist_noinst_SCRIPTS = filter_stderr filter_pushfpopf filter_tronical
      5 
      6 INSN_TESTS = insn_basic insn_fpu insn_cmov insn_mmx insn_mmxext insn_sse insn_sse2
      7 
      8 EXTRA_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 
     27 check_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 
     41 AM_CFLAGS    += @FLAG_M32@ $(FLAG_MMMX) $(FLAG_MSSE)
     42 AM_CXXFLAGS  += @FLAG_M32@ $(FLAG_MMMX) $(FLAG_MSSE)
     43 AM_CCASFLAGS += @FLAG_M32@
     44 
     45 
     46 # fpeflags must use these flags -- bug only occurred with them.
     47 fpeflags_CFLAGS		= $(AM_CFLAGS) -march=i686
     48 pushfpopf_SOURCES 	= pushfpopf_c.c pushfpopf_s.S
     49 if VGCONF_OS_IS_DARWIN
     50 pushpopmem_CFLAGS 	= $(AM_CFLAGS) -mdynamic-no-pic
     51 else
     52 pushpopmem_CFLAGS 	= $(AM_CFLAGS)
     53 endif
     54 tronical_SOURCES 	= tronical.S
     55 
     56 more_x86_fp_LDADD	= -lm
     57