Home | History | Annotate | Download | only in ppc32
      1 
      2 include $(top_srcdir)/Makefile.tool-tests.am
      3 
      4 dist_noinst_SCRIPTS = filter_stderr
      5 
      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 	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.stdout.exp_Minus_nan \
     16 	jm-vmx.vgtest \
     17 	mftocrf.stderr.exp mftocrf.stdout.exp mftocrf.vgtest \
     18 	mcrfs.stderr.exp mcrfs.stdout.exp mcrfs.vgtest \
     19 	round.stderr.exp round.stdout.exp round.vgtest \
     20 	test_fx.stderr.exp test_fx.stdout.exp test_fx.stdout.exp_Minus_nan \
     21 	test_fx.vgtest \
     22 	test_gx.stderr.exp test_gx.stdout.exp test_gx.stdout.exp_Minus_nan \
     23 	test_gx.vgtest \
     24 	testVMX.stderr.exp  testVMX.stdout.exp  testVMX.vgtest \
     25 	twi.stderr.exp twi.stdout.exp twi.vgtest \
     26 	tw.stderr.exp tw.stdout.exp tw.vgtest \
     27 	xlc_dbl_u32.stderr.exp xlc_dbl_u32.stdout.exp xlc_dbl_u32.vgtest \
     28 	power5+_round.stderr.exp power5+_round.stdout.exp power5+_round.vgtest \
     29 	power6_bcmp.stderr.exp power6_bcmp.stdout.exp power6_bcmp.vgtest \
     30 	test_isa_2_06_part1.stderr.exp  test_isa_2_06_part1.stdout.exp  test_isa_2_06_part1.vgtest \
     31 	test_isa_2_06_part2.stderr.exp  test_isa_2_06_part2.stdout.exp  test_isa_2_06_part2.vgtest \
     32 	test_isa_2_06_part3.stderr.exp  test_isa_2_06_part3.stdout.exp  test_isa_2_06_part3.vgtest
     33 
     34 check_PROGRAMS = \
     35 	bug129390-ppc32 \
     36 	bug139050-ppc32 \
     37 	ldstrev lsw jm-insns mftocrf mcrfs round test_fx test_gx \
     38 	testVMX twi tw xlc_dbl_u32 power5+_round power6_bcmp \
     39 	test_isa_2_06_part1 \
     40 	test_isa_2_06_part2 \
     41 	test_isa_2_06_part3
     42 
     43 AM_CFLAGS    += @FLAG_M32@
     44 AM_CXXFLAGS  += @FLAG_M32@
     45 AM_CCASFLAGS += @FLAG_M32@
     46 
     47 if HAS_ALTIVEC
     48 ALTIVEC_FLAG = -DHAS_ALTIVEC
     49 else
     50 ALTIVEC_FLAG =
     51 endif
     52 
     53 if HAS_VSX
     54 BUILD_FLAG_VSX = -mvsx
     55 VSX_FLAG = -DHAS_VSX
     56 else
     57 BUILD_FLAG_VSX =
     58 VSX_FLAG =
     59 endif
     60 
     61 jm_insns_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -g -mregnames -maltivec \
     62 			@FLAG_M32@ $(ALTIVEC_FLAG)
     63 
     64 testVMX_CFLAGS  = $(AM_CFLAGS) -O -g -Wall -maltivec -mabi=altivec -DALTIVEC \
     65 			-DGCC_COMPILER @FLAG_M32@
     66 
     67 test_isa_2_06_part1_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -g -mregnames $(VSX_FLAG) \
     68 			@FLAG_M32@ $(ALTIVEC_FLAG) $(BUILD_FLAG_VSX)
     69 
     70 test_isa_2_06_part2_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -g -mregnames $(VSX_FLAG) \
     71 			@FLAG_M32@ $(ALTIVEC_FLAG) $(BUILD_FLAG_VSX)
     72 
     73 test_isa_2_06_part3_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -lm -g -mregnames $(VSX_FLAG) \
     74 			@FLAG_M32@ $(ALTIVEC_FLAG) $(BUILD_FLAG_VSX)
     75 
     76