1
2include $(top_srcdir)/Makefile.tool-tests.am
3
4dist_noinst_SCRIPTS = filter_stderr
5
6EXTRA_DIST = \
7	block_size.stdout.exp block_size.stderr.exp block_size.vgtest \
8	branch_pc.stdout.exp branch_pc.stderr.exp branch_pc.vgtest \
9	branches.stdout.exp branches.stderr.exp branches.vgtest \
10	branches.stdout.exp-r6 \
11	branches_r6.stdout.exp branches_r6.stderr.exp branches_r6.vgtest \
12	bug320057-mips32.stdout.exp bug320057-mips32.stderr.exp \
13	bug320057-mips32.vgtest \
14	change_fp_mode.stdout.exp change_fp_mode.stdout.exp-fpu32 \
15	change_fp_mode.stderr.exp change_fp_mode.vgtest \
16	change_fp_mode.stdout.exp-r6 \
17	FPUarithmetic.stdout.exp FPUarithmetic.stdout.exp-mips32 \
18	FPUarithmetic.stderr.exp FPUarithmetic.vgtest \
19	fpu_branches.stdout.exp fpu_branches.stderr.exp fpu_branches.vgtest \
20	LoadStore.stdout.exp LoadStore.stdout.exp-BE LoadStore.stderr.exp \
21	LoadStore.vgtest LoadStore.stdout.exp-r6-LE LoadStore.stdout.exp-r6-BE \
22	LoadStore1.stdout.exp LoadStore1.stdout.exp-LE LoadStore1.stderr.exp \
23	LoadStore1.vgtest LoadStore1.stdout.exp-r6-LE LoadStore1.stdout.exp-r6-BE\
24	MemCpyTest.stdout.exp MemCpyTest.stderr.exp MemCpyTest.vgtest \
25	MIPS32int.stdout.exp-mips32-BE MIPS32int.stdout.exp-mips32r2-BE \
26	MIPS32int.stdout.exp-mips32-LE MIPS32int.stdout.exp-mips32r2-LE \
27	MIPS32int.stderr.exp MIPS32int.vgtest \
28	MIPS32int.stdout.exp-mips32r6-LE MIPS32int.stdout.exp-mips32r6-BE \
29	MIPS32r6int.stdout.exp MIPS32r6int.stderr.exp MIPS32r6int.vgtest \
30	mips32_dsp.stdout.exp-LE mips32_dsp.stdout.exp-BE \
31	mips32_dsp.stderr.exp mips32_dsp.vgtest \
32	mips32_dspr2.stdout.exp mips32_dspr2.stderr.exp \
33	mips32_dspr2.vgtest \
34	MoveIns.stdout.exp MoveIns.stdout.exp-BE \
35	MoveIns.stdout.exp-mips32r2-BE MoveIns.stdout.exp-mips32r2-LE \
36	MoveIns.stderr.exp MoveIns.vgtest \
37	MoveIns.stdout.exp-mips32r6-BE MoveIns.stdout.exp-mips32r6-LE \
38	pc_instructions_r6.stdout.exp pc_instructions_r6.stderr.exp \
39	pc_instructions_r6.vgtest \
40	msa_arithmetic.stderr.exp msa_arithmetic.stdout.exp msa_arithmetic.vgtest \
41	msa_comparison.stderr.exp msa_comparison.stdout.exp msa_comparison.vgtest \
42	msa_data_transfer.stderr.exp msa_data_transfer.stdout.exp \
43	msa_data_transfer.stdout.exp-BE msa_data_transfer.vgtest \
44	msa_fpu.stderr.exp msa_fpu.stdout.exp msa_fpu.vgtest \
45	msa_logical_and_shift.stderr.exp msa_logical_and_shift.stdout.exp \
46	msa_logical_and_shift.vgtest msa_shuffle.stderr.exp msa_shuffle.stdout.exp \
47	msa_shuffle.vgtest \
48	round_fpu64.stdout.exp round_fpu64.stdout.exp-fpu32 \
49	round_fpu64.stderr.exp round_fpu64.vgtest \
50	round.stdout.exp round.stderr.exp round.vgtest \
51	fp_r6.stdout.exp fp_r6.stderr.exp fp_r6.vgtest \
52	SignalException.stderr.exp SignalException.vgtest \
53	test_fcsr.stdout.exp test_fcsr.stderr.exp test_fcsr.vgtest \
54	test_math.stdout.exp test_math.stderr.exp test_math.vgtest \
55	unaligned_load_store.stdout.exp-LE unaligned_load_store.stdout.exp-BE \
56	unaligned_load_store.stderr.exp unaligned_load_store.vgtest \
57	vfp.stdout.exp-mips32-BE vfp.stdout.exp-mips32r2-BE \
58	vfp.stdout.exp-mips32-LE vfp.stdout.exp-mips32r2-LE vfp.stderr.exp \
59	vfp.stdout.exp-mips32r2-fpu_64-BE vfp.stdout.exp-mips32r2-fpu_64-LE \
60	vfp.vgtest
61
62
63check_PROGRAMS = \
64	allexec \
65	block_size \
66	branches \
67	branch_pc \
68	branches_r6 \
69	change_fp_mode \
70	FPUarithmetic \
71	LoadStore \
72	LoadStore1 \
73	MemCpyTest \
74	MIPS32int \
75	MIPS32r6int \
76	MoveIns \
77	round \
78	vfp \
79	SignalException \
80	bug320057-mips32 \
81	mips32_dsp \
82	mips32_dspr2 \
83	unaligned_load_store \
84	pc_instructions_r6 \
85	test_fcsr \
86	test_math \
87	round_fpu64 \
88	fp_r6 \
89	fpu_branches \
90	msa_arithmetic \
91	msa_comparison \
92	msa_data_transfer \
93	msa_fpu \
94	msa_logical_and_shift \
95	msa_shuffle \
96	unaligned_load_store \
97	test_fcsr \
98	test_math \
99	round_fpu64 \
100	fpu_branches
101
102AM_CFLAGS    += @FLAG_M32@
103AM_CXXFLAGS  += @FLAG_M32@
104AM_CCASFLAGS += @FLAG_M32@
105
106allexec_CFLAGS          = $(AM_CFLAGS) @FLAG_W_NO_NONNULL@
107
108if !VGCONF_HAVE_PLATFORM_SEC
109msa_arithmetic_CFLAGS = $(AM_CFLAGS) @FLAG_MSA@
110msa_comparison_CFLAGS = $(AM_CFLAGS) @FLAG_MSA@
111msa_data_transfer_CFLAGS = $(AM_CFLAGS) @FLAG_MSA@
112msa_fpu_CFLAGS = $(AM_CFLAGS) @FLAG_MSA@
113msa_logical_and_shift_CFLAGS = $(AM_CFLAGS) @FLAG_MSA@
114msa_shuffle_CFLAGS = $(AM_CFLAGS) @FLAG_MSA@
115endif
116
117bug320057_mips32_LDFLAGS = -lrt
118
119# C++ tests
120test_math_SOURCES          = test_math.cpp
121