Home | History | Annotate | Download | only in ppc64
      1 
      2 include $(top_srcdir)/Makefile.tool-tests.am
      3 
      4 dist_noinst_SCRIPTS = filter_stderr
      5 
      6 EXTRA_DIST = \
      7 	jm-int.stderr.exp jm-int.stdout.exp jm-int.vgtest \
      8 	jm-fp.stderr.exp  jm-fp.stdout.exp  jm-fp.vgtest \
      9 	jm-vmx.stderr.exp jm-vmx.stdout.exp jm-vmx.stdout.exp_Minus_nan \
     10 	jm-vmx.vgtest \
     11 	jm-misc.stderr.exp jm-misc.stdout.exp jm-misc.vgtest \
     12 	lsw.stderr.exp lsw.stdout.exp lsw.vgtest \
     13 	std_reg_imm.vgtest std_reg_imm.stderr.exp std_reg_imm.stdout.exp \
     14 	round.stderr.exp round.stdout.exp round.vgtest \
     15 	twi_tdi.stderr.exp twi_tdi.stdout.exp twi_tdi.vgtest \
     16 	tw_td.stderr.exp tw_td.stdout.exp tw_td.vgtest \
     17 	opcodes.h \
     18 	power6_bcmp.stderr.exp power6_bcmp.stdout.exp power6_bcmp.vgtest \
     19 	power6_mf_gpr.stderr.exp power6_mf_gpr.stdout.exp power6_mf_gpr.vgtest \
     20 	test_isa_2_06_part1.stderr.exp  test_isa_2_06_part1.stdout.exp  test_isa_2_06_part1.vgtest \
     21 	test_isa_2_06_part2.stderr.exp  test_isa_2_06_part2.stdout.exp  test_isa_2_06_part2.vgtest \
     22 	test_isa_2_06_part3.stderr.exp  test_isa_2_06_part3.stdout.exp  test_isa_2_06_part3.vgtest \
     23 	test_dfp1.stderr.exp test_dfp1.stdout.exp test_dfp1.vgtest \
     24 	test_dfp2.stderr.exp test_dfp2.stdout.exp test_dfp2.vgtest \
     25 	test_dfp2.stdout.exp_Without_dcffix \
     26 	test_dfp3.stderr.exp test_dfp3.stdout.exp test_dfp3.vgtest \
     27 	test_dfp4.stderr.exp test_dfp4.stdout.exp test_dfp4.vgtest \
     28 	test_dfp5.stderr.exp test_dfp5.stdout.exp test_dfp5.vgtest \
     29 	jm_vec_isa_2_07.stderr.exp jm_vec_isa_2_07.stdout.exp jm_vec_isa_2_07.vgtest \
     30 	jm_fp_isa_2_07.stderr.exp jm_fp_isa_2_07.stdout.exp jm_fp_isa_2_07.vgtest \
     31 	jm_int_isa_2_07.stderr.exp jm_int_isa_2_07.stdout.exp jm_int_isa_2_07.vgtest \
     32 	test_isa_2_07_part2.stderr.exp test_isa_2_07_part2.stdout.exp test_isa_2_07_part2.vgtest \
     33 	test_tm.stderr.exp test_tm.stdout.exp test_tm.vgtest \
     34 	test_touch_tm.stderr.exp test_touch_tm.stdout.exp test_touch_tm.vgtest \
     35 	ldst_multiple.stderr.exp ldst_multiple.stdout.exp ldst_multiple.vgtest \
     36 	data-cache-instructions.stderr.exp data-cache-instructions.stdout.exp data-cache-instructions.vgtest
     37 
     38 check_PROGRAMS = \
     39 	allexec \
     40 	jm-insns lsw round std_reg_imm twi_tdi tw_td power6_bcmp \
     41 	power6_mf_gpr test_isa_2_06_part1 test_isa_2_06_part2 \
     42 	test_isa_2_06_part3 test_dfp1 test_dfp2 test_dfp3 test_dfp4 \
     43 	test_dfp5 test_isa_2_07_part1 test_isa_2_07_part2 \
     44 	test_tm test_touch_tm ldst_multiple data-cache-instructions
     45 
     46 AM_CFLAGS    += @FLAG_M64@
     47 AM_CXXFLAGS  += @FLAG_M64@
     48 AM_CCASFLAGS += @FLAG_M64@
     49 
     50 allexec_CFLAGS		= $(AM_CFLAGS) @FLAG_W_NO_NONNULL@
     51 
     52 if HAS_ALTIVEC
     53 ALTIVEC_FLAG = -DHAS_ALTIVEC
     54 else
     55 ALTIVEC_FLAG =
     56 endif
     57 
     58 if HAS_VSX
     59 BUILD_FLAG_VSX = -mvsx
     60 VSX_FLAG = -DHAS_VSX
     61 else
     62 VSX_FLAG =
     63 BUILD_FLAG_VSX =
     64 endif
     65 
     66 if HAS_DFP
     67 BUILD_FLAGS_DFP = -mhard-dfp -mcpu=power6
     68 DFP_FLAG = -DHAS_DFP
     69 else
     70 BUILD_FLAGS_DFP =
     71 DFP_FLAG =
     72 endif
     73 
     74 if HAS_ISA_2_07
     75 BUILD_FLAGS_ISA_2_07 =  -mhtm -mcpu=power8
     76 ISA_2_07_FLAG = -DHAS_ISA_2_07
     77 else
     78 BUILD_FLAGS_ISA_2_07 =
     79 ISA_2_07_FLAG =
     80 endif
     81 
     82 test_isa_2_06_part1_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -g -mregnames $(VSX_FLAG) \
     83 			@FLAG_M64@ $(ALTIVEC_FLAG) $(BUILD_FLAG_VSX)
     84 
     85 test_isa_2_06_part2_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -g -mregnames $(VSX_FLAG) \
     86 			@FLAG_M64@ $(ALTIVEC_FLAG) $(BUILD_FLAG_VSX)
     87 
     88 test_isa_2_06_part3_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -lm -g -mregnames $(VSX_FLAG) \
     89 			@FLAG_M64@ $(ALTIVEC_FLAG) $(BUILD_FLAG_VSX)
     90 
     91 jm_insns_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -g -mregnames -maltivec \
     92 			@FLAG_M64@ $(ALTIVEC_FLAG)
     93 
     94 test_dfp1_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -lm -g -mregnames $(DFP_FLAG) \
     95 			@FLAG_M64@ $(BUILD_FLAGS_DFP)
     96 
     97 test_dfp2_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -lm -g -mregnames $(DFP_FLAG) \
     98 			@FLAG_M64@ $(BUILD_FLAGS_DFP)
     99 test_dfp3_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -lm -g -mregnames $(DFP_FLAG) \
    100 			@FLAG_M64@ $(BUILD_FLAGS_DFP)
    101 
    102 test_dfp4_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -lm -g -mregnames $(DFP_FLAG) \
    103 			@FLAG_M64@ $(BUILD_FLAGS_DFP)
    104 
    105 test_dfp5_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -lm -g -mregnames $(DFP_FLAG) \
    106 			@FLAG_M64@ $(BUILD_FLAGS_DFP)
    107 
    108 test_isa_2_07_part1_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -lm -g -mregnames $(ISA_2_07_FLAG) \
    109 			@FLAG_M64@ $(BUILD_FLAGS_ISA_2_07)
    110 
    111 test_isa_2_07_part2_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -lm -g -mregnames $(ISA_2_07_FLAG) \
    112 			@FLAG_M64@ $(BUILD_FLAGS_ISA_2_07)
    113 
    114 test_tm_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -lm -g -mregnames $(ISA_2_07_FLAG) \
    115 			@FLAG_M64@ $(BUILD_FLAGS_ISA_2_07)
    116 test_touch_tm_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -lm -g -mregnames $(ISA_2_07_FLAG) \
    117 			@FLAG_M64@ $(BUILD_FLAGS_ISA_2_07)
    118