You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jianglk.darker
7ee447c011
|
4 months ago | |
---|---|---|
.. | ||
Android.bp | 4 months ago | |
Init.s | 4 months ago | |
InitCache.s | 4 months ago | |
LICENSE | 4 months ago | |
METADATA | 4 months ago | |
MODULE_LICENSE_MIT | 4 months ago | |
Makefile | 4 months ago | |
Makefile.gcc | 4 months ago | |
OWNERS | 4 months ago | |
README | 4 months ago | |
armscript.inc | 4 months ago | |
compute_ref.axf | 4 months ago | |
compute_ref.c | 4 months ago | |
compute_ref.gccarm | 4 months ago | |
compute_ref.gccarm-rvct | 4 months ago | |
compute_ref_data.c | 4 months ago | |
expected_input4gcc-nofp16.txt | 4 months ago | |
expected_input4gcc.txt | 4 months ago | |
license.html | 4 months ago | |
ref-rvct-all.txt | 4 months ago | |
ref-rvct-neon-nofp16.txt | 4 months ago | |
ref-rvct-neon.txt | 4 months ago | |
ref_dsp.c | 4 months ago | |
ref_dspfns.c | 4 months ago | |
ref_integer.c | 4 months ago | |
ref_v_binary_op.c | 4 months ago | |
ref_v_binary_sat_op.c | 4 months ago | |
ref_v_comp_f_op.c | 4 months ago | |
ref_v_comp_op.c | 4 months ago | |
ref_v_unary_op.c | 4 months ago | |
ref_v_unary_sat_op.c | 4 months ago | |
ref_vaba.c | 4 months ago | |
ref_vabal.c | 4 months ago | |
ref_vabd.c | 4 months ago | |
ref_vabdl.c | 4 months ago | |
ref_vabs.c | 4 months ago | |
ref_vadd.c | 4 months ago | |
ref_vaddhn.c | 4 months ago | |
ref_vaddl.c | 4 months ago | |
ref_vaddw.c | 4 months ago | |
ref_vand.c | 4 months ago | |
ref_vbic.c | 4 months ago | |
ref_vbsl.c | 4 months ago | |
ref_vcage.c | 4 months ago | |
ref_vcagt.c | 4 months ago | |
ref_vcale.c | 4 months ago | |
ref_vcalt.c | 4 months ago | |
ref_vceq.c | 4 months ago | |
ref_vcge.c | 4 months ago | |
ref_vcgt.c | 4 months ago | |
ref_vcle.c | 4 months ago | |
ref_vcls.c | 4 months ago | |
ref_vclt.c | 4 months ago | |
ref_vclz.c | 4 months ago | |
ref_vcnt.c | 4 months ago | |
ref_vcombine.c | 4 months ago | |
ref_vcreate.c | 4 months ago | |
ref_vcvt.c | 4 months ago | |
ref_vdup.c | 4 months ago | |
ref_vdup_lane.c | 4 months ago | |
ref_veor.c | 4 months ago | |
ref_vext.c | 4 months ago | |
ref_vget_high.c | 4 months ago | |
ref_vget_lane.c | 4 months ago | |
ref_vget_low.c | 4 months ago | |
ref_vhadd.c | 4 months ago | |
ref_vhsub.c | 4 months ago | |
ref_vld1.c | 4 months ago | |
ref_vld1_dup.c | 4 months ago | |
ref_vld1_lane.c | 4 months ago | |
ref_vldX.c | 4 months ago | |
ref_vldX_dup.c | 4 months ago | |
ref_vldX_lane.c | 4 months ago | |
ref_vmax.c | 4 months ago | |
ref_vmin.c | 4 months ago | |
ref_vmla.c | 4 months ago | |
ref_vmla_lane.c | 4 months ago | |
ref_vmla_n.c | 4 months ago | |
ref_vmlal.c | 4 months ago | |
ref_vmlal_lane.c | 4 months ago | |
ref_vmlal_n.c | 4 months ago | |
ref_vmls.c | 4 months ago | |
ref_vmls_lane.c | 4 months ago | |
ref_vmls_n.c | 4 months ago | |
ref_vmlsl.c | 4 months ago | |
ref_vmlsl_lane.c | 4 months ago | |
ref_vmlsl_n.c | 4 months ago | |
ref_vmovl.c | 4 months ago | |
ref_vmovn.c | 4 months ago | |
ref_vmul.c | 4 months ago | |
ref_vmul_lane.c | 4 months ago | |
ref_vmul_n.c | 4 months ago | |
ref_vmull.c | 4 months ago | |
ref_vmull_lane.c | 4 months ago | |
ref_vmull_n.c | 4 months ago | |
ref_vmvn.c | 4 months ago | |
ref_vneg.c | 4 months ago | |
ref_vorn.c | 4 months ago | |
ref_vorr.c | 4 months ago | |
ref_vpadal.c | 4 months ago | |
ref_vpadd.c | 4 months ago | |
ref_vpaddl.c | 4 months ago | |
ref_vpmax.c | 4 months ago | |
ref_vpmin.c | 4 months ago | |
ref_vqabs.c | 4 months ago | |
ref_vqadd.c | 4 months ago | |
ref_vqdmlal.c | 4 months ago | |
ref_vqdmlal_lane.c | 4 months ago | |
ref_vqdmlal_n.c | 4 months ago | |
ref_vqdmlsl.c | 4 months ago | |
ref_vqdmlsl_lane.c | 4 months ago | |
ref_vqdmlsl_n.c | 4 months ago | |
ref_vqdmulh.c | 4 months ago | |
ref_vqdmulh_lane.c | 4 months ago | |
ref_vqdmulh_n.c | 4 months ago | |
ref_vqdmull.c | 4 months ago | |
ref_vqdmull_lane.c | 4 months ago | |
ref_vqdmull_n.c | 4 months ago | |
ref_vqmovn.c | 4 months ago | |
ref_vqmovun.c | 4 months ago | |
ref_vqneg.c | 4 months ago | |
ref_vqrdmulh.c | 4 months ago | |
ref_vqrdmulh_lane.c | 4 months ago | |
ref_vqrdmulh_n.c | 4 months ago | |
ref_vqrshl.c | 4 months ago | |
ref_vqrshrn_n.c | 4 months ago | |
ref_vqrshrun_n.c | 4 months ago | |
ref_vqshl.c | 4 months ago | |
ref_vqshl_n.c | 4 months ago | |
ref_vqshlu_n.c | 4 months ago | |
ref_vqshrn_n.c | 4 months ago | |
ref_vqshrun_n.c | 4 months ago | |
ref_vqsub.c | 4 months ago | |
ref_vraddhn.c | 4 months ago | |
ref_vrecpe.c | 4 months ago | |
ref_vrecps.c | 4 months ago | |
ref_vreinterpret.c | 4 months ago | |
ref_vrev.c | 4 months ago | |
ref_vrhadd.c | 4 months ago | |
ref_vrshl.c | 4 months ago | |
ref_vrshr_n.c | 4 months ago | |
ref_vrshrn_n.c | 4 months ago | |
ref_vrsqrte.c | 4 months ago | |
ref_vrsqrts.c | 4 months ago | |
ref_vrsra_n.c | 4 months ago | |
ref_vrsubhn.c | 4 months ago | |
ref_vsXi_n.c | 4 months ago | |
ref_vset_lane.c | 4 months ago | |
ref_vshl.c | 4 months ago | |
ref_vshl_n.c | 4 months ago | |
ref_vshll_n.c | 4 months ago | |
ref_vshr_n.c | 4 months ago | |
ref_vshrn_n.c | 4 months ago | |
ref_vsli_n.c | 4 months ago | |
ref_vsra_n.c | 4 months ago | |
ref_vsri_n.c | 4 months ago | |
ref_vst1_lane.c | 4 months ago | |
ref_vstX_lane.c | 4 months ago | |
ref_vsub.c | 4 months ago | |
ref_vsubhn.c | 4 months ago | |
ref_vsubl.c | 4 months ago | |
ref_vsubw.c | 4 months ago | |
ref_vtbX.c | 4 months ago | |
ref_vtrn.c | 4 months ago | |
ref_vtst.c | 4 months ago | |
ref_vuzp.c | 4 months ago | |
ref_vzip.c | 4 months ago | |
retarget.c | 4 months ago | |
scatter.scat | 4 months ago | |
stm-arm-neon-ref.h | 4 months ago |
README
ARM Neon reference tests ======================== This package contains extensive tests for the ARM/Neon instructions. It works by building a program which uses all of them, and then executing it on an actual target or a simulator. It can be used to validate the simulator against an actual HW target, or to validate C compilers in presence of Neon intrinsics calls. The supplied Makefile enables to build with both ARM RVCT compiler and GNU GCC (for the ARM target), and supports execution with ARM RVDEBUG on an ARM simulator and with QEMU. For convenience, the ARM ELF binary file (as compiled with RVCT) is supplied (compute_ref.axf), as well as expected output (ref-rvct.txt). A second file containing expected output is also supplied: ref-rvct-neon.txt, which contains only the results of the Neon instrinsics tests. It is aimed at being used to check GCC's results, since this compiler does not support the integer & dsp builtins whose results are also present in ref-rvct.txt. Typical usage when used to debug QEmu: $ make all # to build the test program with ARM rvct and execute with QEmu $ make check # to compare the results with the expected output Known issues: ------------- Some tests currently fail to build with GCC/ARM: - missing include files: dspfns.h, armdsp.h As GCC/ARM provides no support for the Neon_Cumulative_Saturation/fpsrc register, auxiliary accessor functions have been implemented in stm-arm-neon-ref.h. Engineering: ------------ In order to cover all the Neon instructions extensively, these tests make intensive use of the C-preprocessor, to save maintenance efforts. Most tests (the more regular ones) share a common basic structure. In general, variable names are suffixed by their type name, so as to differentiate variables with the same purpose but of differente types. Hence vector1_int8x8, vector1_int16x4 etc... For instance in ref_vmul.c the layout of the code is as follows: - declare input and output vectors (named 'vector1', 'vector2' and 'vector_res') of each possible type (s/u, 8/16/32/64 bits). - clean the result buffers. - initialize input vectors 'vector1' and 'vector2'. - call each variant of the intrinsic and store the result in a buffer named 'buffer', whose contents is printed after execution. One can then compare the actual result with the expected one.