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 	sh-mem-vec128-plo-no.vgtest \
     20 		sh-mem-vec128-plo-no.stderr.exp \
     21 		sh-mem-vec128-plo-no.stdout.exp \
     22 	sh-mem-vec128-plo-yes.vgtest \
     23 		sh-mem-vec128-plo-yes.stderr.exp \
     24 		sh-mem-vec128-plo-yes.stdout.exp \
     25 	sse1_memory.stderr.exp sse1_memory.stdout.exp sse1_memory.vgtest \
     26 	sse2_memory.stderr.exp sse2_memory.stdout.exp sse2_memory.vgtest \
     27 	tronical.stderr.exp tronical.vgtest \
     28 	more_x86_fp.stderr.exp more_x86_fp.stdout.exp more_x86_fp.vgtest \
     29 	fprem.stderr.exp fprem.stdout.exp fprem.vgtest \
     30 	xor-undef-x86.stderr.exp xor-undef-x86.stdout.exp \
     31 	xor-undef-x86.vgtest
     32 
     33 check_PROGRAMS = \
     34 	bug152022 \
     35 	espindola2 \
     36 	fpeflags \
     37 	fprem \
     38 	fxsave \
     39 	more_x86_fp \
     40 	pushfpopf \
     41 	pushfw_x86 \
     42 	pushpopmem \
     43 	sh-mem-vec128 \
     44 	sse_memory \
     45 	tronical \
     46 	xor-undef-x86
     47 
     48 AM_CFLAGS    += @FLAG_M32@ $(FLAG_MMMX) $(FLAG_MSSE)
     49 AM_CXXFLAGS  += @FLAG_M32@ $(FLAG_MMMX) $(FLAG_MSSE)
     50 AM_CCASFLAGS += @FLAG_M32@
     51 
     52 
     53 # fpeflags must use these flags -- bug only occurred with them.
     54 fpeflags_CFLAGS		= $(AM_CFLAGS) -march=i686
     55 pushfpopf_SOURCES 	= pushfpopf_c.c pushfpopf_s.S
     56 if VGCONF_OS_IS_DARWIN
     57 pushpopmem_CFLAGS 	= $(AM_CFLAGS) -mdynamic-no-pic
     58 else
     59 pushpopmem_CFLAGS 	= $(AM_CFLAGS)
     60 endif
     61 tronical_SOURCES 	= tronical.S
     62 
     63 more_x86_fp_LDADD	= -lm
     64