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