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 lsw.stderr.exp lsw.stdout.exp lsw.vgtest \ 12 std_reg_imm.vgtest std_reg_imm.stderr.exp std_reg_imm.stdout.exp \ 13 round.stderr.exp round.stdout.exp round.vgtest \ 14 twi_tdi.stderr.exp twi_tdi.stdout.exp twi_tdi.vgtest \ 15 tw_td.stderr.exp tw_td.stdout.exp tw_td.vgtest \ 16 power6_bcmp.stderr.exp power6_bcmp.stdout.exp power6_bcmp.vgtest \ 17 power6_mf_gpr.stderr.exp power6_mf_gpr.stdout.exp power6_mf_gpr.vgtest \ 18 test_isa_2_06_part1.stderr.exp test_isa_2_06_part1.stdout.exp test_isa_2_06_part1.vgtest \ 19 test_isa_2_06_part2.stderr.exp test_isa_2_06_part2.stdout.exp test_isa_2_06_part2.vgtest \ 20 test_isa_2_06_part3.stderr.exp test_isa_2_06_part3.stdout.exp test_isa_2_06_part3.vgtest \ 21 test_dfp1.stderr.exp test_dfp1.stdout.exp test_dfp1.vgtest \ 22 test_dfp2.stderr.exp test_dfp2.stdout.exp test_dfp2.vgtest \ 23 test_dfp2.stdout.exp_Without_dcffix \ 24 test_dfp3.stderr.exp test_dfp3.stdout.exp test_dfp3.vgtest \ 25 test_dfp4.stderr.exp test_dfp4.stdout.exp test_dfp4.vgtest \ 26 test_dfp5.stderr.exp test_dfp5.stdout.exp test_dfp5.vgtest 27 28 check_PROGRAMS = \ 29 allexec \ 30 jm-insns lsw round std_reg_imm twi_tdi tw_td power6_bcmp power6_mf_gpr test_isa_2_06_part1 \ 31 test_isa_2_06_part2 test_isa_2_06_part3 test_dfp1 test_dfp2 test_dfp3 test_dfp4 test_dfp5 32 33 AM_CFLAGS += @FLAG_M64@ 34 AM_CXXFLAGS += @FLAG_M64@ 35 AM_CCASFLAGS += @FLAG_M64@ 36 37 allexec_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_NONNULL@ 38 39 if HAS_ALTIVEC 40 ALTIVEC_FLAG = -DHAS_ALTIVEC 41 else 42 ALTIVEC_FLAG = 43 endif 44 45 if HAS_VSX 46 BUILD_FLAG_VSX = -mvsx 47 VSX_FLAG = -DHAS_VSX 48 else 49 VSX_FLAG = 50 BUILD_FLAG_VSX = 51 endif 52 53 if HAS_DFP 54 BUILD_FLAGS_DFP = -mhard-dfp -mcpu=power6 55 DFP_FLAG = -DHAS_DFP 56 else 57 BUILD_FLAGS_DFP = 58 DFP_FLAG = 59 endif 60 61 test_isa_2_06_part1_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -g -mregnames $(VSX_FLAG) \ 62 @FLAG_M64@ $(ALTIVEC_FLAG) $(BUILD_FLAG_VSX) 63 64 test_isa_2_06_part2_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -g -mregnames $(VSX_FLAG) \ 65 @FLAG_M64@ $(ALTIVEC_FLAG) $(BUILD_FLAG_VSX) 66 67 test_isa_2_06_part3_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -lm -g -mregnames $(VSX_FLAG) \ 68 @FLAG_M64@ $(ALTIVEC_FLAG) $(BUILD_FLAG_VSX) 69 70 jm_insns_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -g -mregnames -maltivec \ 71 @FLAG_M64@ $(ALTIVEC_FLAG) 72 73 test_dfp1_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -lm -g -mregnames $(DFP_FLAG) \ 74 @FLAG_M64@ $(BUILD_FLAGS_DFP) 75 76 test_dfp2_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -lm -g -mregnames $(DFP_FLAG) \ 77 @FLAG_M64@ $(BUILD_FLAGS_DFP) 78 test_dfp3_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -lm -g -mregnames $(DFP_FLAG) \ 79 @FLAG_M64@ $(BUILD_FLAGS_DFP) 80 81 test_dfp4_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -lm -g -mregnames $(DFP_FLAG) \ 82 @FLAG_M64@ $(BUILD_FLAGS_DFP) 83 84 test_dfp5_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -lm -g -mregnames $(DFP_FLAG) \ 85 @FLAG_M64@ $(BUILD_FLAGS_DFP) 86 87