1 2include $(top_srcdir)/Makefile.tool-tests.am 3 4dist_noinst_SCRIPTS = filter_stderr 5 6EXTRA_DIST = \ 7 jm-int.stderr.exp jm-int.stdout.exp jm-int.vgtest jm-int.stdout.exp-LE \ 8 jm-fp.stderr.exp jm-fp.stdout.exp jm-fp.vgtest jm-fp.stdout.exp-LE jm-fp.stdout.exp-LE2 jm-fp.stdout.exp-BE2 \ 9 jm-vmx.stderr.exp jm-vmx.stdout.exp jm-vmx.stdout.exp_Minus_nan jm-vmx.stdout.exp-LE \ 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 std_reg_imm.stdout.exp-LE \ 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 test_isa_2_06_part1.stdout.exp-LE \ 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.vgtest \ 32 jm_int_isa_2_07.stdout.exp jm_int_isa_2_07.stdout.exp-LE \ 33 test_isa_2_07_part2.stderr.exp test_isa_2_07_part2.stdout.exp test_isa_2_07_part2.vgtest \ 34 test_tm.stderr.exp test_tm.stdout.exp test_tm.vgtest \ 35 test_touch_tm.stderr.exp test_touch_tm.stdout.exp test_touch_tm.vgtest \ 36 ldst_multiple.stderr.exp ldst_multiple.stdout.exp ldst_multiple.vgtest \ 37 data-cache-instructions.stderr.exp data-cache-instructions.stdout.exp data-cache-instructions.vgtest 38 39check_PROGRAMS = \ 40 allexec \ 41 jm-insns lsw round std_reg_imm twi_tdi tw_td power6_bcmp \ 42 power6_mf_gpr test_isa_2_06_part1 test_isa_2_06_part2 \ 43 test_isa_2_06_part3 test_dfp1 test_dfp2 test_dfp3 test_dfp4 \ 44 test_dfp5 test_isa_2_07_part1 test_isa_2_07_part2 \ 45 test_tm test_touch_tm ldst_multiple data-cache-instructions 46 47AM_CFLAGS += @FLAG_M64@ 48AM_CXXFLAGS += @FLAG_M64@ 49AM_CCASFLAGS += @FLAG_M64@ 50 51allexec_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_NONNULL@ 52 53if HAS_ALTIVEC 54BUILD_FLAG_ALTIVEC = -maltivec 55ALTIVEC_FLAG = -DHAS_ALTIVEC 56else 57BUILD_FLAG_ALTIVEC = 58ALTIVEC_FLAG = 59endif 60 61if HAS_VSX 62BUILD_FLAG_VSX = -mvsx 63VSX_FLAG = -DHAS_VSX 64else 65VSX_FLAG = 66BUILD_FLAG_VSX = 67endif 68 69if HAS_DFP 70BUILD_FLAGS_DFP = -mhard-dfp -mcpu=power6 71DFP_FLAG = -DHAS_DFP 72else 73BUILD_FLAGS_DFP = 74DFP_FLAG = 75endif 76 77if HAS_ISA_2_07 78BUILD_FLAGS_ISA_2_07 = -mhtm -mcpu=power8 79ISA_2_07_FLAG = -DHAS_ISA_2_07 80else 81BUILD_FLAGS_ISA_2_07 = 82ISA_2_07_FLAG = 83endif 84 85test_isa_2_06_part1_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -g -mregnames $(VSX_FLAG) \ 86 @FLAG_M64@ $(ALTIVEC_FLAG) $(BUILD_FLAG_VSX) 87 88test_isa_2_06_part2_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -g -mregnames $(VSX_FLAG) \ 89 @FLAG_M64@ $(ALTIVEC_FLAG) $(BUILD_FLAG_VSX) 90 91test_isa_2_06_part3_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -g -mregnames $(VSX_FLAG) \ 92 @FLAG_M64@ $(ALTIVEC_FLAG) $(BUILD_FLAG_VSX) 93 94jm_insns_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -g -mregnames \ 95 @FLAG_M64@ $(ALTIVEC_FLAG) $(BUILD_FLAG_ALTIVEC) 96 97test_dfp1_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -g -mregnames $(DFP_FLAG) \ 98 @FLAG_M64@ $(BUILD_FLAGS_DFP) 99 100test_dfp2_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -g -mregnames $(DFP_FLAG) \ 101 @FLAG_M64@ $(BUILD_FLAGS_DFP) 102test_dfp3_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -g -mregnames $(DFP_FLAG) \ 103 @FLAG_M64@ $(BUILD_FLAGS_DFP) 104 105test_dfp4_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -g -mregnames $(DFP_FLAG) \ 106 @FLAG_M64@ $(BUILD_FLAGS_DFP) 107 108test_dfp5_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -g -mregnames $(DFP_FLAG) \ 109 @FLAG_M64@ $(BUILD_FLAGS_DFP) 110 111test_isa_2_07_part1_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -g -mregnames $(ISA_2_07_FLAG) \ 112 @FLAG_M64@ $(BUILD_FLAGS_ISA_2_07) 113 114test_isa_2_07_part2_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -g -mregnames $(ISA_2_07_FLAG) \ 115 @FLAG_M64@ $(BUILD_FLAGS_ISA_2_07) 116 117test_tm_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -g -mregnames $(ISA_2_07_FLAG) \ 118 @FLAG_M64@ $(BUILD_FLAGS_ISA_2_07) 119test_touch_tm_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -g -mregnames $(ISA_2_07_FLAG) \ 120 @FLAG_M64@ $(BUILD_FLAGS_ISA_2_07) 121 122test_isa_2_06_part3_LDADD = -lm 123test_dfp1_LDADD = -lm 124test_dfp2_LDADD = -lm 125test_dfp3_LDADD = -lm 126test_dfp4_LDADD = -lm 127test_dfp5_LDADD = -lm 128test_isa_2_07_part1_LDADD = -lm 129test_isa_2_07_part2_LDADD = -lm 130test_tm_LDADD = -lm 131test_touch_tm_LDADD = -lm 132 133