2 include $(top_srcdir)/Makefile.tool-tests.am
4 dist_noinst_SCRIPTS = filter_stderr filter_nan
7 bug484426.stdout.exp bug484426.stderr.exp bug484426.vgtest \
8 bug489338.stdout.exp bug489338.stderr.exp bug489338.vgtest \
9 crc32.stdout.exp crc32.stderr.exp crc32.vgtest \
10 cvtf_imm.stdout.exp cvtf_imm.stderr.exp cvtf_imm.vgtest \
11 dc_cvax.vgtest dc_cvax.stderr.exp \
12 fcvta_s_u.vgtest fcvta_s_u.stderr.exp \
13 fp_and_simd.stdout.exp fp_and_simd.stderr.exp fp_and_simd.vgtest \
14 frinta_frintn.stderr.exp frinta_frintn.vgtest \
15 integer.stdout.exp integer.stderr.exp integer.vgtest \
16 memory_test.stdout.exp memory_test.stderr.exp memory_test.vgtest \
17 memory_test.stdout.exp-clang \
18 atomics_v81.stdout.exp atomics_v81.stderr.exp atomics_v81.vgtest \
19 simd_v81.stdout.exp simd_v81.stderr.exp simd_v81.vgtest \
20 simd_dotprod.stdout.exp simd_dotprod.stderr.exp simd_dotprod.vgtest \
21 fmadd_sub.stdout.exp fmadd_sub.stderr.exp fmadd_sub.vgtest \
22 fp_and_simd_v82.stdout.exp fp_and_simd_v82.stderr.exp \
23 fp_and_simd_v82.vgtest \
24 ldxp_stxp_basisimpl.stdout.exp ldxp_stxp_basisimpl.stderr.exp \
25 ldxp_stxp_basisimpl.vgtest \
26 ldxp_stxp_fallbackimpl.stdout.exp ldxp_stxp_fallbackimpl.stderr.exp \
27 ldxp_stxp_fallbackimpl.vgtest sha512_v82.stdout.exp sha512_v82.stderr.exp \
42 if BUILD_ARMV8_CRC_TESTS
43 check_PROGRAMS += crc32
47 check_PROGRAMS += atomics_v81 simd_v81
51 check_PROGRAMS += fp_and_simd_v82
55 check_PROGRAMS += sha512_v82
59 check_PROGRAMS += fcvta_s_u frinta_frintn
62 if BUILD_ARMV82_DOTPROD_TESTS
63 check_PROGRAMS += simd_dotprod
66 AM_CFLAGS += @FLAG_M64@
67 AM_CXXFLAGS += @FLAG_M64@
68 AM_CCASFLAGS += @FLAG_M64@
70 allexec_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_NONNULL@
72 bug484426_SOURCES = bug484426.cpp
73 bug484426_CXXFLAGS = ${AM_CXXFLAGS} -std=c++11
75 crc32_CFLAGS = $(AM_CFLAGS) -march=armv8-a+crc
76 atomics_v81_CFLAGS = $(AM_CFLAGS) -march=armv8.1-a
77 simd_v81_CFLAGS = $(AM_CFLAGS) -march=armv8.1-a+crypto
78 simd_dotprod_CFLAGS = $(AM_CFLAGS) -march=armv8.2-a+dotprod
79 fp_and_simd_CFLAGS = $(AM_CFLAGS) -march=armv8-a+crypto
80 fp_and_simd_v82_CFLAGS = $(AM_CFLAGS) -march=armv8.2-a+fp16+crypto
81 # SHA-512 is not part of SHA-3, either as an algorithm or in Arm features, but
82 # GCC lumps SHA-512 and SHA-3 extensions together as "sha3".
83 sha512_v82_CFLAGS = $(AM_CFLAGS) -march=armv8.2-a+sha3
84 fcvta_s_u_SOURCES = fcvta_s_u.cpp
85 fcvta_s_u_CXXFLAGS = ${AM_CXXFLAGS} -std=c++17
86 frinta_frintn_SOURCES = frinta_frintn.cpp
87 frinta_frintn_CXXFLAGS = ${AM_CXXFLAGS} -std=c++17
88 integer_CFLAGS = $(AM_CFLAGS) -g -O0 -DTEST_BFM=0
90 fp_and_simd_SOURCES = fp_and_simd.c simd.h simd.c
91 fp_and_simd_v82_SOURCES = fp_and_simd_v82.c simd.h simd.c
92 sha512_v82_SOURCES = sha512_v82.c simd.h simd.c
95 fp_and_simd_LDADD = -lm
97 fp_and_simd_v82_LDADD = -lm
98 sha512_v82_LDADD = -lm