1
2include $(top_srcdir)/Makefile.tool-tests.am
3
4dist_noinst_SCRIPTS = filter_stderr
5
6EXTRA_DIST = \
7	intdiv.stdout.exp intdiv.stderr.exp intdiv.vgtest \
8	ldrt.stdout.exp ldrt.stderr.exp ldrt.vgtest \
9	ldrt_arm.stdout.exp ldrt_arm.stderr.exp ldrt_arm.vgtest \
10	neon128.stdout.exp neon128.stderr.exp neon128.vgtest \
11	neon64.stdout.exp neon64.stderr.exp neon64.vgtest \
12	v6intARM.stdout.exp v6intARM.stderr.exp v6intARM.vgtest \
13	v6intThumb.stdout.exp v6intThumb.stderr.exp v6intThumb.vgtest \
14	v6media.stdout.exp v6media.stderr.exp v6media.vgtest \
15	vcvt_fixed_float_VFP.stdout.exp vcvt_fixed_float_VFP.stderr.exp \
16		vcvt_fixed_float_VFP.vgtest \
17	vfp.stdout.exp vfp.stderr.exp vfp.vgtest \
18	vfpv4_fma.stdout.exp vfpv4_fma.stderr.exp vfpv4_fma.vgtest
19
20check_PROGRAMS = \
21	allexec \
22	intdiv \
23	ldrt \
24	ldrt_arm \
25	neon128 \
26	neon64 \
27	v6intARM \
28	v6intThumb \
29	v6media \
30	vcvt_fixed_float_VFP \
31	vfp \
32	vfpv4_fma
33
34AM_CFLAGS    += @FLAG_M32@
35AM_CXXFLAGS  += @FLAG_M32@
36AM_CCASFLAGS += @FLAG_M32@
37
38allexec_CFLAGS		= $(AM_CFLAGS) @FLAG_W_NO_NONNULL@
39
40# These two are specific to their ARM/Thumb respectively and so we
41# hardwire -marm/-mthumb.  neon64 and neon128 are compilable on both,
42# however, ask for them to be compiled on thumb, as that looks
43# like that's going to be the more common use case.  They also
44# need special helping w.r.t -mfpu and -mfloat-abi, though.
45# Also force -O0 since -O takes hundreds of MB of memory
46# for v6intThumb.c.
47v6intARM_CFLAGS   = $(AM_CFLAGS) -g -O0 -mcpu=cortex-a8 -marm
48v6intThumb_CFLAGS = $(AM_CFLAGS) -g -O0 -mcpu=cortex-a8 -mthumb
49
50v6media_CFLAGS    = $(AM_CFLAGS) -g -O0 -mcpu=cortex-a8 -mthumb
51
52vfp_CFLAGS        = $(AM_CFLAGS) -g -O0 -mcpu=cortex-a8 \
53			-mfpu=neon \
54			-mthumb
55
56
57neon128_CFLAGS    = $(AM_CFLAGS) -g -O0 -mcpu=cortex-a8 \
58			-mfpu=neon \
59			-mthumb
60
61neon64_CFLAGS     = $(AM_CFLAGS) -g -O0 -mcpu=cortex-a8 \
62			-mfpu=neon \
63			-mthumb
64
65intdiv_CFLAGS	  = $(AM_CFLAGS) -g -mcpu=cortex-a15 -mthumb
66ldrt_CFLAGS	  = $(AM_CFLAGS) -g -mcpu=cortex-a8 -mthumb
67ldrt_arm_CFLAGS	  = $(AM_CFLAGS) -g -mcpu=cortex-a8 -marm
68
69vfpv4_fma_CFLAGS  = $(AM_CFLAGS) -g -O0 -mcpu=cortex-a15 -mfpu=vfpv4 -marm
70