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