This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ gcc -O3 -mfloat-abi=hard -mfpu=neon -march=armv7-a -mtune=cortex-a8 -Wall -W neon_mathfun_test.c -lm -o neon_mathfun_test | |
neon_mathfun_test.c: In function ‘print4’: | |
neon_mathfun_test.c:119:10: warning: unused variable ‘p’ [-Wunused-variable] | |
$ ./neon_mathfun_test | |
checking sines on [0*Pi, 1*Pi] | |
max deviation from sinf(x): 1.19209e-07 at 0.263172633899*Pi, max deviation from cephes_sin(x): 0 | |
max deviation from cosf(x): 5.96046e-08 at 0.141602561694*Pi, max deviation from cephes_cos(x): 0 | |
deviation of sin(x)^2+cos(x)^2-1: 1.78814e-07 (ref deviation is 1.78814e-07) | |
->> precision OK for the sin_ps / cos_ps / sincos_ps <<- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get install debhelper autoconf automake libboost-python-dev libgl1-mesa-dev libglu1-mesa-dev libgtk2.0-dev libmodbus-dev | |
libncurses-dev libreadline-dev libusb-1.0-0-dev libxmu-dev libxmu-headers dh-python pkg-config python-tk libxaw7-dev libboo | |
st-serialization-dev libzmq3-dev liburiparser-dev python-setuptools uuid-dev uuid-runtime libavahi-client-dev libprotobuf-de | |
v protobuf-compiler python-protobuf libprotoc-dev python-netifaces python-simplejson libtk-img libboost-thread-dev python-py | |
ftpdlib tcl8.5-dev tk8.5-dev | |
Reading package lists... | |
Building dependency tree... | |
Reading state information... | |
The following extra packages will be installed: | |
autopoint autotools-dev blt gccxml gettext html2text intltool-debian |