For some reason the ARM Assembler doesn't like the NEON instructions in
dotprod_fff_armv7_a.c:
[ 9%] Building C object
gnuradio-core/src/lib/CMakeFiles/gnuradio-core.dir/filter/dotprod_fff_armv7_a.c.o
/tmp/ccAcWVL4.s: 27: Error: bad instruction `vmov.f32 q8,#0.0'
/tmp/ccAcWVL4.s: 28: Error: bad instruction `vmov.f32 q9,#0.0'
/tmp/ccAcWVL4.s: 31: Error: bad instruction `vldl.32 {d0,d1,d2,d3},[r3]!'
/tmp/ccAcWVL4.s: 32: Error: bad instruction `vldl.32 {d4,d5,d6,d7},[r1]!'
/tmp/ccAcWVL4.s: 33: Error: bad instruction `vmla.f32 q8,q0,q2'
/tmp/ccAcWVL4.s: 34: Error: bad instruction `vmla.f32 q9,q1,q3'
/tmp/ccAcWVL4.s: 36: Error: bad instruction `vadd.f32 q8,q8,q9'
/tmp/ccAcWVL4.s: 37: Error: bad instruction `vpadd.f32 d0,d16,d17'
/tmp/ccAcWVL4.s: 38: Error: bad instruction `vadd.f32 s16,s0,s1'
make[2]: ***
[gnuradio-core/src/lib/CMakeFiles/gnuradio-core.dir/filter/dotprod_fff_armv7_a.c.o]
Error 1
make[1]: *** [gnuradio-core/src/lib/CMakeFiles/gnuradio-core.dir/filter/all]
Error 2
make: *** [all] Error 2
My cmake command was as follows:
$ cmake -DCMAKE_TOOLCHAIN_DIR=../cmake/Toolchains/arm_cortex_a8_native.cmake
-DENABLE_GRC=OFF -DENABLE_GR_QTGUI=OFF
-DQT_QTCORE_INCLUDE_DIR=/usr/include/qt4/QtCore
-DQT_QTGUI_INCLUDE_DIR=/usr/include/qt4/QtGui ../
And the CC and CXX FLAGS in arm_cortex_a8_native.cmake were: "-march=armv7-a
-mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -ftree-vectorize
-fsingle-precision-constant"
I also tried without "-ftree-vectorize -fsingle-precision-constant" to similar
effect.
This is using a gnuradio build I pulled less than 6 hours ago. Can anybody else
with an E100 reproduce this error?
Thanks,
Sean
...
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio