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