1 2include $(top_srcdir)/Makefile.tool-tests.am 3 4dist_noinst_SCRIPTS = filter_stderr 5 6INSN_TESTS = insn_basic insn_mmx insn_sse insn_sse2 insn_fpu 7 8EXTRA_DIST = \ 9 $(addsuffix .stderr.exp,$(INSN_TESTS)) \ 10 $(addsuffix .stdout.exp,$(INSN_TESTS)) \ 11 $(addsuffix .vgtest,$(INSN_TESTS)) \ 12 bt_everything.stderr.exp bt_everything.stdout.exp \ 13 bt_everything.vgtest \ 14 bug132146.vgtest bug132146.stderr.exp bug132146.stdout.exp \ 15 bug279698.vgtest bug279698.stderr.exp bug279698.stdout.exp \ 16 fxsave-amd64.vgtest fxsave-amd64.stdout.exp fxsave-amd64.stderr.exp \ 17 insn-bsfl.vgtest insn-bsfl.stdout.exp insn-bsfl.stderr.exp \ 18 insn-pcmpistri.vgtest insn-pcmpistri.stdout.exp insn-pcmpistri.stderr.exp \ 19 insn-pmovmskb.vgtest insn-pmovmskb.stdout.exp insn-pmovmskb.stderr.exp \ 20 more_x87_fp.stderr.exp more_x87_fp.stdout.exp more_x87_fp.vgtest \ 21 sh-mem-vec128-plo-no.vgtest \ 22 sh-mem-vec128-plo-no.stderr.exp \ 23 sh-mem-vec128-plo-no.stdout.exp \ 24 sh-mem-vec128-plo-yes.vgtest \ 25 sh-mem-vec128-plo-yes.stderr.exp \ 26 sh-mem-vec128-plo-yes.stdout.exp \ 27 sh-mem-vec256-plo-no.vgtest \ 28 sh-mem-vec256-plo-no.stderr.exp \ 29 sh-mem-vec256-plo-no.stdout.exp \ 30 sh-mem-vec256-plo-yes.vgtest \ 31 sh-mem-vec256-plo-yes.stderr.exp \ 32 sh-mem-vec256-plo-yes.stdout.exp \ 33 sse_memory.stderr.exp sse_memory.stdout.exp sse_memory.vgtest \ 34 xor-undef-amd64.stderr.exp xor-undef-amd64.stdout.exp \ 35 xor-undef-amd64.vgtest \ 36 xsave-avx.vgtest xsave-avx.stdout.exp xsave-avx.stderr.exp 37 38check_PROGRAMS = \ 39 bt_everything \ 40 bug132146 \ 41 bug279698 \ 42 fxsave-amd64 \ 43 insn-bsfl \ 44 insn-pmovmskb \ 45 sh-mem-vec128 \ 46 sse_memory \ 47 xor-undef-amd64 48if BUILD_AVX_TESTS 49 check_PROGRAMS += sh-mem-vec256 xsave-avx 50endif 51if HAVE_ASM_CONSTRAINT_P 52 check_PROGRAMS += insn-pcmpistri 53endif 54# clang 3.5.0 barfs about -mfancy-math-387 55if !COMPILER_IS_CLANG 56 check_PROGRAMS += more_x87_fp 57endif 58 59AM_CFLAGS += @FLAG_M64@ 60AM_CXXFLAGS += @FLAG_M64@ 61AM_CCASFLAGS += @FLAG_M64@ 62 63insn_pcmpistri_CFLAGS = $(AM_CFLAGS) 64if VGCONF_OS_IS_SOLARIS 65insn_pcmpistri_CFLAGS += --std=c99 66endif 67more_x87_fp_CFLAGS = $(AM_CFLAGS) -O -ffast-math -mfpmath=387 \ 68 -mfancy-math-387 69more_x87_fp_LDADD = -lm 70 71