Re: [eigen] intiial ARM NEON results

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


On Saturday 27 February 2010 00:37:28 Konstantinos Margaritis wrote:
> Hi everyone,
> 
> I haven't finished yet, there are 4-5 functions to finish in the ARM NEON
>  port, but here is a benchmark that I managed to compile and run:
> 
> $ PATH=~/native/bin/:$PATH g++ -O3 -DNDEBUG -DREPEAT=100 -I../
>  benchVecAdd.cpp -o benchVecAdd -lrt $ ./benchVecAdd

er stupid me, that's obviously a mistake, I copied from a previous run. Here are the correct results:

$ PATH=~/native/bin/:$PATH g++ -O3 -DNDEBUG -DREPEAT=1000 -I../ benchVecAdd.cpp -o benchVecAdd -lrt
$ ./benchVecAdd

7.73s  0.0192771 GFlops
$ PATH=~/native/bin/:$PATH g++ -O3 -DNDEBUG -DREPEAT=1000 -mfpu=neon -mfloat-abi=softfp -I../ benchVecAdd.cpp -o 
benchVecAdd -lrt
h$ ./benchVecAdd
2.93s  0.0508572 GFlops

That's ~2.64x faster!

Konstantinos



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/