Home | History | Annotate | Download | only in s390x
      1 include $(top_srcdir)/Makefile.tool-tests.am
      2 
      3 dist_noinst_SCRIPTS = filter_stderr
      4 
      5 INSN_TESTS = clc clcle cvb cvd icm lpr tcxb lam_stam xc mvst add sub mul \
      6              and or xor insert div srst fold_And16 flogr sub_EI add_EI \
      7              and_EI or_EI xor_EI insert_EI mul_GE add_GE condloadstore \
      8              op_exception fgx stck stckf stcke stfle cksm mvcl clcl troo \
      9              trto trot trtt tr tre cij cgij clij clgij crj cgrj clrj clgrj \
     10              cs csg cds cdsg cu21 cu21_1 cu24 cu24_1 cu42 cu12 cu12_1 \
     11              ex_sig ex_clone cu14 cu14_1 cu41 fpconv ecag fpext_warn \
     12              rounding-1 rounding-2 rounding-3 rounding-4 rounding-5 bfp-1 \
     13              bfp-2 bfp-3 bfp-4 srnm srnmb comp-1 comp-2 exrl tmll tm stmg \
     14 	     ex clst mvc test_fork test_sig rounding-6 rxsbg popcnt \
     15 	     high-word \
     16 	     spechelper-alr spechelper-algr \
     17 	     spechelper-slr spechelper-slgr \
     18 	     spechelper-cr  spechelper-clr  \
     19 	     spechelper-ltr spechelper-or   \
     20 	     spechelper-icm-1  spechelper-icm-2 spechelper-tmll \
     21 	     spechelper-tm laa
     22 if BUILD_DFP_TESTS
     23   INSN_TESTS += dfp-1 dfp-2 dfp-3 dfp-4 dfptest dfpext dfpconv srnmt pfpo
     24 endif
     25 if HAS_MLONG_DOUBLE_128
     26   INSN_TESTS += fpext fixbr
     27 endif
     28 
     29 check_PROGRAMS = $(INSN_TESTS) \
     30 		 allexec \
     31 		 op00
     32 
     33 EXTRA_DIST = \
     34 	$(addsuffix .stderr.exp,$(INSN_TESTS)) \
     35 	$(addsuffix .stdout.exp,$(INSN_TESTS)) \
     36 	$(addsuffix .vgtest,$(INSN_TESTS)) \
     37 	ecag.stdout.exp-z10ec ecag.stdout.exp-z196 ecag.stdout.exp-zec12 \
     38 	ecag.stdout.exp-z13 \
     39 	op00.stderr.exp1 op00.stderr.exp2 op00.vgtest \
     40 	fixbr.vgtest fixbr.stderr.exp fixbr.stdout.exp \
     41 	fpext.vgtest fpext.stderr.exp fpext.stdout.exp \
     42 	fpext_fail.vgtest fpext_fail.stderr.exp fpext_fail.stdout.exp \
     43 	test.h opcodes.h add.h  and.h  div.h  insert.h dfp_utils.h \
     44 	mul.h  or.h  sub.h  xor.h table.h svc.h rounding.h \
     45 	dfp-1.stderr.exp dfp-1.stdout.exp dfp-1.vgtest \
     46 	dfp-2.stderr.exp dfp-2.stdout.exp dfp-2.vgtest \
     47 	dfp-3.stderr.exp dfp-3.stdout.exp dfp-3.vgtest \
     48 	dfp-4.stderr.exp dfp-4.stdout.exp dfp-4.vgtest \
     49 	dfptest.stderr.exp dfptest.stdout.exp dfptest.vgtest \
     50 	dfpext.stderr.exp dfpext.stdout.exp dfpext.vgtest \
     51 	dfpconv.stderr.exp dfpconv.stdout.exp dfpconv.vgtest \
     52 	srnmt.stderr.exp srnmt.stdout.exp srnmt.vgtest \
     53 	pfpo.stderr.exp pfpo.stdout.exp pfpo.vgtest
     54 
     55 AM_CFLAGS    += @FLAG_M64@
     56 AM_CXXFLAGS  += @FLAG_M64@
     57 AM_CCASFLAGS += @FLAG_M64@
     58 
     59 allexec_CFLAGS   = $(AM_CFLAGS) @FLAG_W_NO_NONNULL@
     60 tcxb_CFLAGS      = $(AM_CFLAGS) -std=gnu99
     61 cu12_1_CFLAGS    = $(AM_CFLAGS) -DM3=1
     62 cu14_1_CFLAGS    = $(AM_CFLAGS) -DM3=1
     63 cu21_1_CFLAGS    = $(AM_CFLAGS) -DM3=1
     64 cu24_1_CFLAGS    = $(AM_CFLAGS) -DM3=1
     65 fixbr_CFLAGS     = $(AM_CFLAGS) @FLAG_MLONG_DOUBLE_128@
     66 fpext_CFLAGS     = $(AM_CFLAGS) @FLAG_MLONG_DOUBLE_128@
     67 ex_clone_LDADD   = -lpthread
     68