安装依赖
apt install gcc-arm-linux-gnueabihf -y
# 交叉编译器
apt install libnewlib-arm-none-eabi -y
# arm_neon.h
apt install libc6-dev-i386 -y # 解决/usr/include/stdio.h:27:10: fatal error: bits/libc-header-start.h: No such file or directory
# /arm-linux-gnueabihf/bin/ld: cannot find Scrt1.o: No such file or directory
使用arm_neon.h, 编译的时候需要加上-mfpu=neon 编译器选项,比如arm-none-linux-gnueabi-gcc -mfpu=neon test.c -o test
这些函数叫NEON Instrinsic
最后
以上就是快乐柚子最近收集整理的关于arm_neon.h引用的全部内容,更多相关arm_neon内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复