我是靠谱客的博主 快乐柚子,这篇文章主要介绍arm_neon.h引用,现在分享给大家,希望可以做个参考。

安装依赖

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内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(60)

评论列表共有 0 条评论

立即
投稿
返回
顶部