1 2include $(top_srcdir)/Makefile.tool-tests.am 3 4dist_noinst_SCRIPTS = filter_stderr 5 6EXTRA_DIST = \ 7 bug129390-ppc32.stdout.exp bug129390-ppc32.stderr.exp \ 8 bug129390-ppc32.vgtest \ 9 bug139050-ppc32.stdout.exp bug139050-ppc32.stderr.exp \ 10 bug139050-ppc32.vgtest \ 11 ldstrev.stderr.exp ldstrev.stdout.exp ldstrev.vgtest \ 12 jm-int.stderr.exp jm-int.stdout.exp jm-int.vgtest \ 13 jm-int_other.stderr.exp jm-int_other.stdout.exp jm-int_other.vgtest \ 14 jm-fp.stderr.exp jm-fp.stdout.exp jm-fp.vgtest jm-fp.stdout.exp-BE2 \ 15 jm-vmx.stderr.exp jm-vmx.stdout.exp jm-vmx.stdout.exp_Minus_nan \ 16 jm-vmx.vgtest \ 17 jm-misc.stderr.exp jm-misc.stdout.exp jm-misc.vgtest \ 18 lsw.stderr.exp lsw.stdout.exp lsw.vgtest \ 19 mftocrf.stderr.exp mftocrf.stdout.exp mftocrf.vgtest \ 20 mcrfs.stderr.exp mcrfs.stdout.exp mcrfs.vgtest \ 21 round.stderr.exp round.stdout.exp round.vgtest \ 22 test_fx.stderr.exp test_fx.stdout.exp test_fx.stdout.exp_Minus_nan \ 23 test_fx.vgtest \ 24 test_gx.stderr.exp test_gx.stdout.exp test_gx.stdout.exp_Minus_nan \ 25 test_gx.vgtest \ 26 testVMX.stderr.exp testVMX.stdout.exp testVMX.vgtest \ 27 twi.stderr.exp twi.stdout.exp twi.vgtest \ 28 tw.stderr.exp tw.stdout.exp tw.vgtest \ 29 xlc_dbl_u32.stderr.exp xlc_dbl_u32.stdout.exp xlc_dbl_u32.vgtest \ 30 opcodes.h \ 31 power5+_round.stderr.exp power5+_round.stdout.exp power5+_round.vgtest \ 32 power6_bcmp.stderr.exp power6_bcmp.stdout.exp power6_bcmp.vgtest \ 33 test_isa_2_06_part1.stderr.exp test_isa_2_06_part1.stdout.exp test_isa_2_06_part1.vgtest \ 34 test_isa_2_06_part2.stderr.exp test_isa_2_06_part2.stdout.exp test_isa_2_06_part2.vgtest \ 35 test_isa_2_06_part3.stderr.exp test_isa_2_06_part3.stdout.exp test_isa_2_06_part3.vgtest \ 36 test_isa_2_06_part2-div.stderr.exp test_isa_2_06_part2-div.stdout.exp test_isa_2_06_part2-div.vgtest \ 37 test_isa_2_06_part3-div.stderr.exp test_isa_2_06_part3-div.stdout.exp test_isa_2_06_part3-div.vgtest \ 38 test_dfp1.stderr.exp test_dfp1.stdout.exp test_dfp1.vgtest \ 39 test_dfp2.stderr.exp test_dfp2.stdout.exp test_dfp2.vgtest \ 40 test_dfp2.stdout.exp_Without_dcffix \ 41 test_dfp3.stderr.exp test_dfp3.stdout.exp test_dfp3.vgtest \ 42 test_dfp4.stderr.exp test_dfp4.stdout.exp test_dfp4.vgtest \ 43 test_dfp5.stderr.exp test_dfp5.stdout.exp test_dfp5.vgtest \ 44 jm_vec_isa_2_07.stderr.exp jm_vec_isa_2_07.vgtest \ 45 jm_vec_isa_2_07.stdout.exp jm_vec_isa_2_07.stdout.exp-LE \ 46 jm_fp_isa_2_07.stderr.exp jm_fp_isa_2_07.stdout.exp jm_fp_isa_2_07.vgtest \ 47 jm_int_isa_2_07.stderr.exp jm_int_isa_2_07.vgtest \ 48 jm_int_isa_2_07.stdout.exp \ 49 test_isa_2_07_part2.stderr.exp test_isa_2_07_part2.stdout.exp test_isa_2_07_part2.vgtest \ 50 test_tm.stderr.exp test_tm.stdout.exp test_tm.vgtest \ 51 test_touch_tm.stderr.exp test_touch_tm.stdout.exp test_touch_tm.vgtest \ 52 ldst_multiple.stderr.exp ldst_multiple.stdout.exp ldst_multiple.vgtest \ 53 data-cache-instructions.stderr.exp data-cache-instructions.stdout.exp data-cache-instructions.vgtest 54 55check_PROGRAMS = \ 56 allexec \ 57 lsw jm-insns round \ 58 test_isa_2_06_part1 test_isa_2_06_part2 test_isa_2_06_part3 \ 59 test_dfp1 test_dfp2 test_dfp3 test_dfp4 test_dfp5 \ 60 test_isa_2_07_part1 test_isa_2_07_part2 \ 61 test_tm test_touch_tm ldst_multiple data-cache-instructions \ 62 test_fx test_gx \ 63 testVMX twi tw xlc_dbl_u32 power5+_round power6_bcmp \ 64 bug129390-ppc32 bug139050-ppc32 \ 65 ldstrev mftocrf mcrfs 66 67AM_CFLAGS += @FLAG_M32@ 68AM_CXXFLAGS += @FLAG_M32@ 69AM_CCASFLAGS += @FLAG_M32@ 70 71allexec_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_NONNULL@ 72 73if HAS_ALTIVEC 74BUILD_FLAG_ALTIVEC = -maltivec 75BUILD_FLAG_ABI_ALTIVEC = -mabi=altivec 76ALTIVEC_FLAG = -DHAS_ALTIVEC 77else 78BUILD_FLAG_ALTIVEC = 79BUILD_FLAG_ABI_ALTIVEC = 80ALTIVEC_FLAG = 81endif 82 83if HAS_VSX 84BUILD_FLAG_VSX = -mvsx 85VSX_FLAG = -DHAS_VSX 86else 87BUILD_FLAG_VSX = 88VSX_FLAG = 89endif 90 91if HAS_DFP 92BUILD_FLAGS_DFP = -mhard-dfp -mcpu=power6 93DFP_FLAG = -DHAS_DFP 94else 95BUILD_FLAGS_DFP = 96DFP_FLAG = 97endif 98 99if HAS_ISA_2_07 100BUILD_FLAGS_ISA_2_07 = -mcpu=power8 101ISA_2_07_FLAG = -DHAS_ISA_2_07 102else 103BUILD_FLAGS_ISA_2_07 = 104ISA_2_07_FLAG = 105endif 106 107if SUPPORTS_HTM 108HTM_FLAG = -mhtm -DSUPPORTS_HTM 109endif 110 111jm_insns_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -g -mregnames \ 112 @FLAG_M32@ $(ALTIVEC_FLAG) $(BUILD_FLAG_ALTIVEC) 113 114testVMX_CFLAGS = $(AM_CFLAGS) -O -g -Wall -DALTIVEC \ 115 -DGCC_COMPILER @FLAG_M32@ $(BUILD_FLAG_ALTIVEC) \ 116 $(BUILD_FLAG_ABI_ALTIVEC) 117 118test_isa_2_06_part1_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -g -mregnames $(VSX_FLAG) \ 119 @FLAG_M32@ $(ALTIVEC_FLAG) $(BUILD_FLAG_VSX) 120 121test_isa_2_06_part2_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -g -mregnames $(VSX_FLAG) \ 122 @FLAG_M32@ $(ALTIVEC_FLAG) $(BUILD_FLAG_VSX) 123 124test_isa_2_06_part3_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -g -mregnames $(VSX_FLAG) \ 125 @FLAG_M32@ $(ALTIVEC_FLAG) $(BUILD_FLAG_VSX) 126 127test_dfp1_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -g -mregnames $(DFP_FLAG) \ 128 @FLAG_M32@ $(BUILD_FLAGS_DFP) 129test_dfp2_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -g -mregnames $(DFP_FLAG) \ 130 @FLAG_M32@ $(BUILD_FLAGS_DFP) 131test_dfp3_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -g -mregnames $(DFP_FLAG) \ 132 @FLAG_M32@ $(BUILD_FLAGS_DFP) 133test_dfp4_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -g -mregnames $(DFP_FLAG) \ 134 @FLAG_M32@ $(BUILD_FLAGS_DFP) 135test_dfp5_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -g -mregnames $(DFP_FLAG) \ 136 @FLAG_M32@ $(BUILD_FLAGS_DFP) 137 138test_isa_2_07_part1_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -g -mregnames $(ISA_2_07_FLAG) \ 139 @FLAG_M32@ $(BUILD_FLAGS_ISA_2_07) 140test_isa_2_07_part2_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -g -mregnames $(ISA_2_07_FLAG) \ 141 @FLAG_M32@ $(BUILD_FLAGS_ISA_2_07) 142 143test_tm_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -g -mregnames $(HTM_FLAG) $(ISA_2_07_FLAG) \ 144 @FLAG_M32@ $(BUILD_FLAGS_ISA_2_07) 145test_touch_tm_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -g -mregnames $(HTM_FLAG) $(ISA_2_07_FLAG) \ 146 @FLAG_M32@ $(BUILD_FLAGS_ISA_2_07) 147 148test_isa_2_06_part3_LDADD = -lm 149test_dfp1_LDADD = -lm 150test_dfp2_LDADD = -lm 151test_dfp3_LDADD = -lm 152test_dfp4_LDADD = -lm 153test_dfp5_LDADD = -lm 154test_isa_2_07_part1_LDADD = -lm 155test_isa_2_07_part2_LDADD = -lm 156test_tm_LDADD = -lm 157test_touch_tm_LDADD = -lm 158 159