[转帖]armel、armhf和arm64
2024-10-21 11:32:44
armel、armhf和arm64
转帖
1 这些名词是什么的缩写
1.1 armel
是arm eabi little endian的缩写。eabi是软浮点二进制接口,这里的e是embeded,是对于嵌入式设备而言。
1.2 armhf
是arm hard float的缩写。
1.3 arm64
64位的arm默认就是hf的,因此不需要hf的后缀。
2 armel和armhf的区别
它们的区别体现在浮点运算上,它们在进行浮点运算时都会使用fpu,但是armel传参数用普通寄存器,而armhf传参数用的是fpu的寄存器,因此armhf的浮点运算性能更高。
gcc编译的时候,使用-mfloat-abi选项来指定浮点运算使用的是哪种,soft不使用fpu,armel使用fpu,使用普通寄存器,armhf使用fpu,使用fpu的寄存器。
编译时,kernel、rootfs和app的指定必须一致才行。
最新文章
- bootstrap内置网格式布局系统:
- poi批量导入excel文件
- MUI(1)
- NPOI使用手册[转]
- 编写 unix和 windows的 Scala 脚本
- 通过从代码层面分析Linux内核启动来探知操作系统的启动过程
- python异常以及面向对象编程
- Spring Boot实现一个监听用户请求的拦截器
- ubuntu中下运行asp.net程序
- RMAN-06496: must use the TO clause when the database is mounted or open
- Android 防内存泄露handler
- XamarinAndroid组件教程设置动画的设置插值器
- Java通过POI读取Excel
- 对象转化为json
- 微信 OAuth2 网页授权获取用户信息
- Python datetime.md
- Python之杨辉三角算法实现
- Blue_Flke团队项目设计完善&;编码测试
- ZOJ2405 Specialized Four-Digit Numbers 2017-04-18 20:43 44人阅读 评论(0) 收藏
- /proc/meminfo分析(一)