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 	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.stderr.exp jm_int_isa_2_07.stdout.exp jm_int_isa_2_07.vgtest \
     44 	test_isa_2_07_part2.stderr.exp test_isa_2_07_part2.stdout.exp test_isa_2_07_part2.vgtest \
     45 	test_tm.stderr.exp test_tm.stdout.exp test_tm.vgtest \
     46 	test_touch_tm.stderr.exp test_touch_tm.stdout.exp test_touch_tm.vgtest \
     47 	ldst_multiple.stderr.exp ldst_multiple.stdout.exp ldst_multiple.vgtest \
     48 	data-cache-instructions.stderr.exp data-cache-instructions.stdout.exp data-cache-instructions.vgtest
     49 
     50 
     51 check_PROGRAMS = \
     52 	allexec \
     53 	bug129390-ppc32 \
     54 	bug139050-ppc32 \
     55 	ldstrev lsw jm-insns mftocrf mcrfs round test_fx test_gx \
     56 	testVMX twi tw xlc_dbl_u32 power5+_round power6_bcmp \
     57 	test_isa_2_06_part1 \
     58 	test_isa_2_06_part2 \
     59 	test_isa_2_06_part3 \
     60 	test_dfp1 test_dfp2 test_dfp3 test_dfp4 test_dfp5 \
     61 	test_isa_2_07_part1 \
     62 	test_isa_2_07_part2 \
     63 	test_tm \
     64 	test_touch_tm \
     65 	ldst_multiple \
     66 	data-cache-instructions
     67 
     68 AM_CFLAGS    += @FLAG_M32@
     69 AM_CXXFLAGS  += @FLAG_M32@
     70 AM_CCASFLAGS += @FLAG_M32@
     71 
     72 allexec_CFLAGS		= $(AM_CFLAGS) @FLAG_W_NO_NONNULL@
     73 
     74 if HAS_ALTIVEC
     75 ALTIVEC_FLAG = -DHAS_ALTIVEC
     76 else
     77 ALTIVEC_FLAG =
     78 endif
     79 
     80 if HAS_VSX
     81 BUILD_FLAG_VSX = -mvsx
     82 VSX_FLAG = -DHAS_VSX
     83 else
     84 BUILD_FLAG_VSX =
     85 VSX_FLAG =
     86 endif
     87 
     88 if HAS_DFP
     89 BUILD_FLAGS_DFP = -mhard-dfp -mcpu=power6
     90 DFP_FLAG = -DHAS_DFP
     91 else
     92 BUILD_FLAGS_DFP =
     93 DFP_FLAG =
     94 endif
     95 
     96 if HAS_ISA_2_07
     97 BUILD_FLAGS_ISA_2_07 = -mhtm  -mcpu=power8
     98 ISA_2_07_FLAG = -DHAS_ISA_2_07
     99 else
    100 BUILD_FLAGS_ISA_2_07 =
    101 ISA_2_07_FLAG =
    102 endif
    103 
    104 jm_insns_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -g -mregnames -maltivec \
    105 			@FLAG_M32@ $(ALTIVEC_FLAG)
    106 
    107 testVMX_CFLAGS  = $(AM_CFLAGS) -O -g -Wall -maltivec -mabi=altivec -DALTIVEC \
    108 			-DGCC_COMPILER @FLAG_M32@
    109 
    110 test_isa_2_06_part1_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -g -mregnames $(VSX_FLAG) \
    111 			@FLAG_M32@ $(ALTIVEC_FLAG) $(BUILD_FLAG_VSX)
    112 
    113 test_isa_2_06_part2_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -g -mregnames $(VSX_FLAG) \
    114 			@FLAG_M32@ $(ALTIVEC_FLAG) $(BUILD_FLAG_VSX)
    115 
    116 test_isa_2_06_part3_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -lm -g -mregnames $(VSX_FLAG) \
    117 			@FLAG_M32@ $(ALTIVEC_FLAG) $(BUILD_FLAG_VSX)
    118 
    119 test_dfp1_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -lm -g -mregnames $(DFP_FLAG) \
    120 			@FLAG_M32@ $(BUILD_FLAGS_DFP)
    121 test_dfp2_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -lm -g -mregnames $(DFP_FLAG) \
    122 			@FLAG_M32@ $(BUILD_FLAGS_DFP)
    123 test_dfp3_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -lm -g -mregnames $(DFP_FLAG) \
    124 			@FLAG_M32@ $(BUILD_FLAGS_DFP)
    125 
    126 test_dfp4_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -lm -g -mregnames $(DFP_FLAG) \
    127 			@FLAG_M32@ $(BUILD_FLAGS_DFP)
    128 
    129 test_dfp5_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -lm -g -mregnames $(DFP_FLAG) \
    130 			@FLAG_M32@ $(BUILD_FLAGS_DFP)
    131 
    132 test_isa_2_07_part1_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -lm -g -mregnames $(ISA_2_07_FLAG) \
    133                         @FLAG_M32@ $(BUILD_FLAGS_ISA_2_07)
    134 
    135 test_isa_2_07_part2_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -lm -g -mregnames $(ISA_2_07_FLAG) \
    136 			@FLAG_M32@ $(BUILD_FLAGS_ISA_2_07)
    137 
    138 test_tm_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -lm -g -mregnames $(ISA_2_07_FLAG) \
    139 			@FLAG_M32@ $(BUILD_FLAGS_ISA_2_07)
    140 test_touch_tm_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -lm -g -mregnames $(ISA_2_07_FLAG) \
    141 			@FLAG_M32@ $(BUILD_FLAGS_ISA_2_07)
    142