Skip to content

Simple test code to benchmark the VFP floating point or NEON units of ARM processors

Notifications You must be signed in to change notification settings

ahippo/arm-neon-vfp-test

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

This is a fork of arm-neon-vfp-test. The test itself was fixed not to do several unaccounted floating point operations. Makefile was replaced with build.pl and runall.sh to ease extensive trial of various compilation options and to allow cross-compilation of test programs.

For more information and performance evaluation of several boards see arm-neon-vfp-test.

Compilation

On build machine (it may be an embedded board as well but you need perl there) modify build.pl to include all dimensions of compilation options you want to search. Then, run ./build.pl.

arm-gentoo-linux-gnueabi-gcc -O2 test.c -std=gnu99 -static -o arm-gentoo-none-none-none-2-test.out
arm-gentoo-linux-gnueabi-gcc -O3 test.c -std=gnu99 -static -o arm-gentoo-none-none-none-3-test.out
...
armv5te-hardfloat-linux-gnueabi-gcc -mfloat-abi=hard -mfpu=vfpv3-d16 -march=armv5te -O2 test.c -std=gnu99 -static -o armv5te-hardfloat-hard-vfpv3-d16-armv5te-2-test.out
armv5te-hardfloat-linux-gnueabi-gcc -mfloat-abi=hard -mfpu=vfpv3-d16 -march=armv5te -O3 test.c -std=gnu99 -static -o armv5te-hardfloat-hard-vfpv3-d16-armv5te-3-test.out

Run

Copy runall.sh and all compiled programs (*.out) to the board you want to run them on. Put them into a single directory. Optionally, modify runall.sh to tweak arguments to programs. Run ./runall.sh.

About

Simple test code to benchmark the VFP floating point or NEON units of ARM processors

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Perl 74.5%
  • C 23.7%
  • Shell 1.8%