• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2include $(top_srcdir)/Makefile.tool-tests.am
3
4dist_noinst_SCRIPTS = filter_stderr
5
6EXTRA_DIST = \
7	arithmetic_instruction.stdout.exp-mips64 \
8	arithmetic_instruction.stdout.exp-mips64r2 arithmetic_instruction.stderr.exp \
9	arithmetic_instruction.vgtest \
10	branch_and_jump_instructions.stdout.exp \
11	branch_and_jump_instructions.stderr.exp branch_and_jump_instructions.vgtest \
12	branches.stdout.exp branches.stderr.exp branches.vgtest \
13	cvm_bbit.stdout.exp cvm_bbit.stdout.exp-non-octeon \
14	cvm_bbit.stderr.exp cvm_bbit.vgtest \
15	cvm_ins.stdout.exp cvm_ins.stdout.exp-non-octeon \
16	cvm_ins.stderr.exp cvm_ins.vgtest \
17	cvm_lx_ins.stdout.exp-LE cvm_lx_ins.stdout.exp-BE \
18	cvm_lx_ins.stdout.exp-non-octeon \
19	cvm_lx_ins.stderr.exp cvm_lx_ins.vgtest \
20	cvm_atomic.stdout.exp-LE cvm_atomic.stdout.exp-non-octeon \
21	cvm_atomic.stderr.exp cvm_atomic.vgtest \
22	cvm_atomic_thread.stdout.exp-LE cvm_atomic_thread.stdout.exp-non-octeon \
23	cvm_atomic_thread.stderr.exp cvm_atomic_thread.vgtest \
24	extract_insert_bit_field.stdout.exp-mips64 \
25	extract_insert_bit_field.stdout.exp-mips64r2 \
26	extract_insert_bit_field.stderr.exp extract_insert_bit_field.vgtest \
27	fpu_arithmetic.stdout.exp fpu_arithmetic.stderr.exp fpu_arithmetic.vgtest \
28	fpu_branches.stdout.exp fpu_branches.stderr.exp fpu_branches.vgtest \
29	fpu_control_word.stdout.exp fpu_control_word.stderr.exp \
30	fpu_control_word.vgtest \
31	fpu_load_store.stdout.exp-BE fpu_load_store.stdout.exp-LE \
32	fpu_load_store.stderr.exp fpu_load_store.vgtest \
33	load_indexed_instructions.stdout.exp-BE \
34	load_indexed_instructions.stdout.exp-LE \
35	load_indexed_instructions.stdout.exp-non-octeon \
36	load_indexed_instructions.stderr.exp load_indexed_instructions.vgtest \
37	load_store.stdout.exp-BE load_store.stdout.exp-LE load_store.stderr.exp \
38	load_store.vgtest \
39	load_store_multiple.stdout.exp-BE load_store_multiple.stdout.exp-LE \
40	load_store_multiple.stderr.exp load_store_multiple.vgtest \
41	load_store_unaligned.stdout.exp load_store_unaligned.stderr.exp \
42	load_store_unaligned.vgtest \
43	logical_instructions.stdout.exp logical_instructions.stderr.exp \
44	logical_instructions.vgtest \
45	move_instructions.stdout.exp-BE move_instructions.stdout.exp-LE \
46	move_instructions.stderr.exp move_instructions.vgtest \
47	rotate_swap.stdout.exp-mips64 rotate_swap.stdout.exp-mips64r2 \
48	rotate_swap.stderr.exp rotate_swap.vgtest \
49	round.stdout.exp round.stderr.exp round.vgtest \
50	shift_instructions.stdout.exp-mips64 shift_instructions.stdout.exp-mips64r2 \
51	shift_instructions.stderr.exp shift_instructions.vgtest \
52	test_block_size.stdout.exp test_block_size.stderr.exp \
53	test_block_size.vgtest \
54	test_fcsr.stdout.exp test_fcsr.stderr.exp \
55	test_fcsr.vgtest \
56	test_math.stdout.exp test_math.stderr.exp test_math.vgtest \
57	unaligned_load.stdout.exp-BE unaligned_load.stdout.exp-LE \
58	unaligned_load.stderr.exp unaligned_load.vgtest \
59	unaligned_load_store.stdout.exp-LE unaligned_load_store.stdout.exp-BE \
60	unaligned_load_store.stderr.exp unaligned_load_store.vgtest \
61	const.h macro_fpu.h macro_int.h macro_load_store.h rounding_mode.h
62
63check_PROGRAMS = \
64	allexec \
65	arithmetic_instruction \
66	branch_and_jump_instructions \
67	branches \
68	cvm_bbit \
69	cvm_ins \
70	cvm_lx_ins \
71	cvm_atomic \
72	cvm_atomic_thread \
73	extract_insert_bit_field \
74	fpu_arithmetic \
75	fpu_branches \
76	fpu_control_word \
77	fpu_load_store \
78	load_indexed_instructions \
79	load_store \
80	load_store_multiple \
81	load_store_unaligned \
82	logical_instructions \
83	move_instructions \
84	rotate_swap \
85	round \
86	shift_instructions \
87	test_block_size \
88	test_fcsr \
89	test_math \
90	unaligned_load \
91	unaligned_load_store
92
93AM_CFLAGS    += @FLAG_M64@
94AM_CXXFLAGS  += @FLAG_M64@
95AM_CCASFLAGS += @FLAG_M64@
96
97allexec_CFLAGS          = $(AM_CFLAGS) @FLAG_W_NO_NONNULL@
98
99cvm_bbit_CFLAGS = $(AM_CFLAGS) -g -O0 @FLAG_OCTEON@
100cvm_ins_CFLAGS = $(AM_CFLAGS) -g -O0 @FLAG_OCTEON@
101cvm_lx_ins_CFLAGS = $(AM_CFLAGS) -g -O0 @FLAG_OCTEON2@
102cvm_atomic_CFLAGS = $(AM_CFLAGS) -g -O0 @FLAG_OCTEON2@
103cvm_atomic_thread_CFLAGS = $(AM_CFLAGS) -g -O0 @FLAG_OCTEON2@
104load_indexed_instructions_CFLAGS = $(AM_CFLAGS) -g -O0 @FLAG_OCTEON2@
105fpu_arithmetic_CFLAGS = $(AM_CFLAGS) -lm
106
107# C++ tests
108test_math_SOURCES          = test_math.cpp
109