ARM: handle v6 to v8 in configure.ac
[valgrind.git] / none / tests / arm / Makefile.am
blob79b957c57313f125d395eebd6f9c2b06f0288710
2 include $(top_srcdir)/Makefile.tool-tests.am
4 dist_noinst_SCRIPTS = filter_stderr
6 EXTRA_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         v8crypto_a.stdout.exp v8crypto_a.stderr.exp v8crypto_a.vgtest \
16         v8crypto_t.stdout.exp v8crypto_t.stderr.exp v8crypto_t.vgtest \
17         v8fpsimd_a.stdout.exp v8fpsimd_a.stderr.exp v8fpsimd_a.vgtest \
18         v8fpsimd_t.stdout.exp v8fpsimd_t.stderr.exp v8fpsimd_t.vgtest \
19         v8memory_a.stdout.exp v8memory_a.stderr.exp v8memory_a.vgtest \
20         v8memory_t.stdout.exp v8memory_t.stderr.exp v8memory_t.vgtest \
21         vcvt_fixed_float_VFP.stdout.exp vcvt_fixed_float_VFP.stderr.exp \
22                 vcvt_fixed_float_VFP.vgtest \
23         vfp.stdout.exp vfp.stderr.exp vfp.vgtest \
24         vfpv4_fma.stdout.exp vfpv4_fma.stderr.exp vfpv4_fma.vgtest
26 check_PROGRAMS = \
27         allexec \
28         intdiv \
29         ldrt \
30         ldrt_arm \
31         neon128 \
32         neon64 \
33         v6intARM \
34         v6intThumb \
35         v6media \
36         v8crypto_a \
37         v8crypto_t \
38         v8fpsimd_a \
39         v8fpsimd_t \
40         v8memory_a \
41         v8memory_t \
42         vcvt_fixed_float_VFP \
43         vfp \
44         vfpv4_fma
46 AM_CFLAGS    += @FLAG_M32@
47 AM_CXXFLAGS  += @FLAG_M32@
48 AM_CCASFLAGS += @FLAG_M32@
50 allexec_CFLAGS          = $(AM_CFLAGS) @FLAG_W_NO_NONNULL@
52 # These two are specific to their ARM/Thumb respectively and so we
53 # hardwire -marm/-mthumb.  neon64 and neon128 are compilable on both,
54 # however, ask for them to be compiled on thumb, as that looks
55 # like that's going to be the more common use case.  They also
56 # need special helping w.r.t -mfpu and -mfloat-abi, though.
57 # Also force -O0 since -O takes hundreds of MB of memory 
58 # for v6intThumb.c.
59 v6intARM_CFLAGS   = $(AM_CFLAGS) -g -O0 -mcpu=cortex-a8 -marm
60 v6intThumb_CFLAGS = $(AM_CFLAGS) -g -O0 -mcpu=cortex-a8 -mthumb
62 v6media_CFLAGS    = $(AM_CFLAGS) -g -O0 -mcpu=cortex-a8 -mthumb
64 v8crypto_a_CFLAGS = $(AM_CFLAGS) -g -O0 -mfpu=crypto-neon-fp-armv8 -marm -march=armv8-a
65 v8crypto_t_CFLAGS = $(AM_CFLAGS) -g -O0 -mfpu=crypto-neon-fp-armv8 -mthumb -march=armv8-a
67 v8fpsimd_a_CFLAGS = $(AM_CFLAGS) -g -O0 -mfpu=crypto-neon-fp-armv8 -marm -march=armv8-a
68 v8fpsimd_t_CFLAGS = $(AM_CFLAGS) -g -O0 -mfpu=crypto-neon-fp-armv8 -mthumb -march=armv8-a
70 v8memory_a_CFLAGS = $(AM_CFLAGS) -g -O0 \
71                         -march=armv8-a -mfpu=crypto-neon-fp-armv8 -marm
72 v8memory_t_CFLAGS = $(AM_CFLAGS) -g -O0 \
73                         -march=armv8-a -mfpu=crypto-neon-fp-armv8 -mthumb
75 vcvt_fixed_float_VFP_CFLAGS = $(AM_CFLAGS) -g -O0 -mcpu=cortex-a8 -mfpu=neon
77 vfp_CFLAGS        = $(AM_CFLAGS) -g -O0 -mcpu=cortex-a8 \
78                         -mfpu=neon \
79                         -mthumb
82 neon128_CFLAGS    = $(AM_CFLAGS) -g -O0 -mcpu=cortex-a8 \
83                         -mfpu=neon \
84                         -mthumb
86 neon64_CFLAGS     = $(AM_CFLAGS) -g -O0 -mcpu=cortex-a8 \
87                         -mfpu=neon \
88                         -mthumb
90 intdiv_CFLAGS     = $(AM_CFLAGS) -g -mcpu=cortex-a15 -mthumb
91 ldrt_CFLAGS       = $(AM_CFLAGS) -g -mcpu=cortex-a8 -mthumb
92 ldrt_arm_CFLAGS   = $(AM_CFLAGS) -g -mcpu=cortex-a8 -marm
94 vfpv4_fma_CFLAGS  = $(AM_CFLAGS) -g -O0 -mcpu=cortex-a15 -mfpu=vfpv4 -marm