Home | History | Annotate | only in /external/arm-neon-tests
Up to higher level directory
NameDateSize
Android.mk21-Aug-20183.2K
armscript.inc21-Aug-2018307
compute_ref.axf21-Aug-20183.4M
compute_ref.c21-Aug-20189.3K
compute_ref.gccarm21-Aug-20184.3M
compute_ref.gccarm-rvct21-Aug-20184.6M
compute_ref_data.c21-Aug-201821.6K
expected_input4gcc-nofp16.txt21-Aug-2018546.4K
expected_input4gcc.txt21-Aug-2018587.7K
Init.s21-Aug-201811.7K
InitCache.s21-Aug-20182.3K
LICENSE21-Aug-2018204
license.html21-Aug-201825.4K
Makefile21-Aug-20186.8K
Makefile.gcc21-Aug-20185.2K
METADATA21-Aug-2018573
MODULE_LICENSE_MIT21-Aug-20180
NOTICE21-Aug-2018204
README21-Aug-20182.3K
ref-rvct-all.txt21-Aug-2018571.9K
ref-rvct-neon-nofp16.txt21-Aug-2018461.7K
ref-rvct-neon.txt21-Aug-2018528.2K
ref_dsp.c21-Aug-201813K
ref_dspfns.c21-Aug-201848.7K
ref_integer.c21-Aug-20188.5K
ref_v_binary_op.c21-Aug-20182.9K
ref_v_binary_sat_op.c21-Aug-20183.9K
ref_v_comp_f_op.c21-Aug-20183K
ref_v_comp_op.c21-Aug-20187.8K
ref_v_unary_op.c21-Aug-20183K
ref_v_unary_sat_op.c21-Aug-20183.3K
ref_vaba.c21-Aug-20184.3K
ref_vabal.c21-Aug-20184.3K
ref_vabd.c21-Aug-20184.5K
ref_vabdl.c21-Aug-20183.1K
ref_vabs.c21-Aug-20181.8K
ref_vadd.c21-Aug-20181.9K
ref_vaddhn.c21-Aug-20183.2K
ref_vaddl.c21-Aug-20183.5K
ref_vaddw.c21-Aug-20183.5K
ref_vand.c21-Aug-20181.2K
ref_vbic.c21-Aug-20181.2K
ref_vbsl.c21-Aug-20183.8K
ref_vcage.c21-Aug-20181.2K
ref_vcagt.c21-Aug-20181.2K
ref_vcale.c21-Aug-20181.2K
ref_vcalt.c21-Aug-20181.2K
ref_vceq.c21-Aug-20182K
ref_vcge.c21-Aug-20181.2K
ref_vcgt.c21-Aug-20181.2K
ref_vcle.c21-Aug-20181.2K
ref_vcls.c21-Aug-20183.7K
ref_vclt.c21-Aug-20181.2K
ref_vclz.c21-Aug-20185.1K
ref_vcnt.c21-Aug-20183K
ref_vcombine.c21-Aug-20183.8K
ref_vcreate.c21-Aug-20184.2K
ref_vcvt.c21-Aug-20189K
ref_vdup.c21-Aug-20183.6K
ref_vdup_lane.c21-Aug-20182.9K
ref_veor.c21-Aug-20181.2K
ref_vext.c21-Aug-20183.7K
ref_vget_high.c21-Aug-20182.8K
ref_vget_lane.c21-Aug-20183.8K
ref_vget_low.c21-Aug-20182.8K
ref_vhadd.c21-Aug-20181.2K
ref_vhsub.c21-Aug-20181.2K
ref_vld1.c21-Aug-20182.3K
ref_vld1_dup.c21-Aug-20182.4K
ref_vld1_lane.c21-Aug-20184.7K
ref_vldX.c21-Aug-20188K
ref_vldX_dup.c21-Aug-20187K
ref_vldX_lane.c21-Aug-20189.5K
ref_vmax.c21-Aug-20185.2K
ref_vmin.c21-Aug-20181.2K
ref_vmla.c21-Aug-20184.9K
ref_vmla_lane.c21-Aug-20184.3K
ref_vmla_n.c21-Aug-20183.9K
ref_vmlal.c21-Aug-20184K
ref_vmlal_lane.c21-Aug-20183.5K
ref_vmlal_n.c21-Aug-20183K
ref_vmls.c21-Aug-20181.2K
ref_vmls_lane.c21-Aug-20181.2K
ref_vmls_n.c21-Aug-20181.2K
ref_vmlsl.c21-Aug-20181.2K
ref_vmlsl_lane.c21-Aug-20181.2K
ref_vmlsl_n.c21-Aug-20181.2K
ref_vmovl.c21-Aug-20182K
ref_vmovn.c21-Aug-20182K
ref_vmul.c21-Aug-20184.5K
ref_vmul_lane.c21-Aug-20183.7K
ref_vmul_n.c21-Aug-20183.1K
ref_vmull.c21-Aug-20182.8K
ref_vmull_lane.c21-Aug-20182.9K
ref_vmull_n.c21-Aug-20182.8K
ref_vmvn.c21-Aug-20184.3K
ref_vneg.c21-Aug-20181.8K
ref_vorn.c21-Aug-20181.2K
ref_vorr.c21-Aug-20181.2K
ref_vpadal.c21-Aug-20185.1K
ref_vpadd.c21-Aug-20183.2K
ref_vpaddl.c21-Aug-20184.1K
ref_vpmax.c21-Aug-20181.2K
ref_vpmin.c21-Aug-20181.2K
ref_vqabs.c21-Aug-20182.6K
ref_vqadd.c21-Aug-20185.6K
ref_vqdmlal.c21-Aug-20183.3K
ref_vqdmlal_lane.c21-Aug-20183.7K
ref_vqdmlal_n.c21-Aug-20183.1K
ref_vqdmlsl.c21-Aug-20181.2K
ref_vqdmlsl_lane.c21-Aug-20181.2K
ref_vqdmlsl_n.c21-Aug-20181.2K
ref_vqdmulh.c21-Aug-20183.9K
ref_vqdmulh_lane.c21-Aug-20184.1K
ref_vqdmulh_n.c21-Aug-20183.8K
ref_vqdmull.c21-Aug-20183.2K
ref_vqdmull_lane.c21-Aug-20183.6K
ref_vqdmull_n.c21-Aug-20183.5K
ref_vqmovn.c21-Aug-20184K
ref_vqmovun.c21-Aug-20183.2K
ref_vqneg.c21-Aug-20182.6K
ref_vqrdmulh.c21-Aug-20184.7K
ref_vqrdmulh_lane.c21-Aug-20184.7K
ref_vqrdmulh_n.c21-Aug-20184.3K
ref_vqrshl.c21-Aug-201811.6K
ref_vqrshrn_n.c21-Aug-20184.8K
ref_vqrshrun_n.c21-Aug-20185K
ref_vqshl.c21-Aug-20189.1K
ref_vqshl_n.c21-Aug-20184.7K
ref_vqshlu_n.c21-Aug-20185.8K
ref_vqshrn_n.c21-Aug-20184.8K
ref_vqshrun_n.c21-Aug-20184K
ref_vqsub.c21-Aug-20185.7K
ref_vraddhn.c21-Aug-20181.2K
ref_vrecpe.c21-Aug-20184.8K
ref_vrecps.c21-Aug-20183.9K
ref_vreinterpret.c21-Aug-201818.1K
ref_vrev.c21-Aug-20183.4K
ref_vrhadd.c21-Aug-20181.2K
ref_vrshl.c21-Aug-20188K
ref_vrshr_n.c21-Aug-20188.1K
ref_vrshrn_n.c21-Aug-20184.2K
ref_vrsqrte.c21-Aug-20184.7K
ref_vrsqrts.c21-Aug-20183.9K
ref_vrsra_n.c21-Aug-20188.6K
ref_vrsubhn.c21-Aug-20181.2K
ref_vset_lane.c21-Aug-20183.1K
ref_vshl.c21-Aug-20183.4K
ref_vshl_n.c21-Aug-20182.5K
ref_vshll_n.c21-Aug-20182.2K
ref_vshr_n.c21-Aug-20182.6K
ref_vshrn_n.c21-Aug-20182.8K
ref_vsli_n.c21-Aug-20183.5K
ref_vsra_n.c21-Aug-20183.3K
ref_vsri_n.c21-Aug-20183.6K
ref_vst1_lane.c21-Aug-20183.1K
ref_vstX_lane.c21-Aug-20189.4K
ref_vsub.c21-Aug-20181.9K
ref_vsubhn.c21-Aug-20181.2K
ref_vsubl.c21-Aug-20181.2K
ref_vsubw.c21-Aug-20181.2K
ref_vsXi_n.c21-Aug-20184K
ref_vtbX.c21-Aug-20186.8K
ref_vtrn.c21-Aug-20181.2K
ref_vtst.c21-Aug-20183.5K
ref_vuzp.c21-Aug-20186K
ref_vzip.c21-Aug-20181.2K
retarget.c21-Aug-20181.1K
scatter.scat21-Aug-2018817
stm-arm-neon-ref.h21-Aug-201829K

README

      1 ARM Neon reference tests
      2 ========================
      3 This package contains extensive tests for the ARM/Neon instructions.
      4 
      5 It works by building a program which uses all of them, and then
      6 executing it on an actual target or a simulator.
      7 
      8 It can be used to validate the simulator against an actual HW target,
      9 or to validate C compilers in presence of Neon intrinsics calls.
     10 
     11 The supplied Makefile enables to build with both ARM RVCT compiler and
     12 GNU GCC (for the ARM target), and supports execution with ARM RVDEBUG
     13 on an ARM simulator and with QEMU.
     14 
     15 For convenience, the ARM ELF binary file (as compiled with RVCT) is
     16 supplied (compute_ref.axf), as well as expected output (ref-rvct.txt).
     17 
     18 A second file containing expected output is also supplied:
     19 ref-rvct-neon.txt, which contains only the results of the Neon
     20 instrinsics tests. It is aimed at being used to check GCC's results,
     21 since this compiler does not support the integer & dsp builtins whose
     22 results are also present in ref-rvct.txt.
     23 
     24 Typical usage when used to debug QEmu:
     25 $ make all # to build the test program with ARM rvct and execute with QEmu
     26 $ make check # to compare the results with the expected output
     27 
     28 
     29 Known issues:
     30 -------------
     31 Some tests currently fail to build with GCC/ARM:
     32 - missing include files: dspfns.h, armdsp.h
     33 
     34 As GCC/ARM provides no support for the
     35 Neon_Cumulative_Saturation/fpsrc register, auxiliary accessor
     36 functions have been implemented in stm-arm-neon-ref.h.
     37 
     38 Engineering:
     39 ------------
     40 In order to cover all the Neon instructions extensively, these tests
     41 make intensive use of the C-preprocessor, to save maintenance efforts.
     42 
     43 Most tests (the more regular ones) share a common basic structure. In
     44 general, variable names are suffixed by their type name, so as to
     45 differentiate variables with the same purpose but of differente types.
     46 Hence vector1_int8x8, vector1_int16x4 etc...
     47 
     48 For instance in ref_vmul.c the layout of the code is as follows:
     49 
     50 - declare input and output vectors (named 'vector1', 'vector2' and
     51   'vector_res') of each possible type (s/u, 8/16/32/64 bits).
     52 
     53 - clean the result buffers.
     54 
     55 - initialize input vectors 'vector1' and 'vector2'.
     56 
     57 - call each variant of the intrinsic and store the result in a buffer
     58   named 'buffer', whose contents is printed after execution.
     59 
     60 One can then compare the actual result with the expected one.
     61