• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 \
15	jm-vmx.stderr.exp   jm-vmx.stdout.exp   jm-vmx.vgtest \
16	mftocrf.stderr.exp mftocrf.stdout.exp mftocrf.vgtest \
17	mcrfs.stderr.exp mcrfs.stdout.exp mcrfs.vgtest \
18	round.stderr.exp round.stdout.exp round.vgtest \
19	test_fx.stderr.exp test_fx.stdout.exp test_fx.vgtest \
20	test_gx.stderr.exp test_gx.stdout.exp test_gx.vgtest \
21	testVMX.stderr.exp  testVMX.stdout.exp  testVMX.vgtest \
22	twi.stderr.exp twi.stdout.exp twi.vgtest \
23	tw.stderr.exp tw.stdout.exp tw.vgtest \
24	xlc_dbl_u32.stderr.exp xlc_dbl_u32.stdout.exp xlc_dbl_u32.vgtest \
25	power5+_round.stderr.exp power5+_round.stdout.exp power5+_round.vgtest \
26	power6_bcmp.stderr.exp power6_bcmp.stdout.exp power6_bcmp.vgtest
27
28check_PROGRAMS = \
29	bug129390-ppc32 \
30	bug139050-ppc32 \
31	ldstrev lsw jm-insns mftocrf mcrfs round test_fx test_gx \
32	testVMX twi tw xlc_dbl_u32 power5+_round power6_bcmp
33
34AM_CFLAGS    += @FLAG_M32@
35AM_CXXFLAGS  += @FLAG_M32@
36AM_CCASFLAGS += @FLAG_M32@
37
38if HAS_ALTIVEC
39ALTIVEC_FLAG = -DHAS_ALTIVEC
40else
41ALTIVEC_FLAG =
42endif
43
44jm_insns_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -g -mregnames -maltivec \
45			@FLAG_M32@ $(ALTIVEC_FLAG)
46
47testVMX_CFLAGS  = $(AM_CFLAGS) -O -g -Wall -maltivec -mabi=altivec -DALTIVEC \
48			-DGCC_COMPILER @FLAG_M32@
49