Home | History | Annotate | Download | only in arm
      1 
      2 include $(top_srcdir)/Makefile.tool-tests.am
      3 
      4 dist_noinst_SCRIPTS = filter_stderr
      5 
      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
     25 
     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
     45 
     46 AM_CFLAGS    += @FLAG_M32@
     47 AM_CXXFLAGS  += @FLAG_M32@
     48 AM_CCASFLAGS += @FLAG_M32@
     49 
     50 allexec_CFLAGS		= $(AM_CFLAGS) @FLAG_W_NO_NONNULL@
     51 
     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
     61 
     62 v6media_CFLAGS    = $(AM_CFLAGS) -g -O0 -mcpu=cortex-a8 -mthumb
     63 
     64 v8crypto_a_CFLAGS = $(AM_CFLAGS) -g -O0 -mfpu=crypto-neon-fp-armv8 -marm
     65 v8crypto_t_CFLAGS = $(AM_CFLAGS) -g -O0 -mfpu=crypto-neon-fp-armv8 -mthumb
     66 
     67 v8fpsimd_a_CFLAGS = $(AM_CFLAGS) -g -O0 -mfpu=crypto-neon-fp-armv8 -marm
     68 v8fpsimd_t_CFLAGS = $(AM_CFLAGS) -g -O0 -mfpu=crypto-neon-fp-armv8 -mthumb
     69 
     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
     74 
     75 vfp_CFLAGS        = $(AM_CFLAGS) -g -O0 -mcpu=cortex-a8 \
     76 			-mfpu=neon \
     77 			-mthumb
     78 
     79 
     80 neon128_CFLAGS    = $(AM_CFLAGS) -g -O0 -mcpu=cortex-a8 \
     81 			-mfpu=neon \
     82 			-mthumb
     83 
     84 neon64_CFLAGS     = $(AM_CFLAGS) -g -O0 -mcpu=cortex-a8 \
     85 			-mfpu=neon \
     86 			-mthumb
     87 
     88 intdiv_CFLAGS	  = $(AM_CFLAGS) -g -mcpu=cortex-a15 -mthumb
     89 ldrt_CFLAGS	  = $(AM_CFLAGS) -g -mcpu=cortex-a8 -mthumb
     90 ldrt_arm_CFLAGS	  = $(AM_CFLAGS) -g -mcpu=cortex-a8 -marm
     91 
     92 vfpv4_fma_CFLAGS  = $(AM_CFLAGS) -g -O0 -mcpu=cortex-a15 -mfpu=vfpv4 -marm
     93