Using hardware VFP instructions
来源:互联网 发布:局域网流量控制软件 编辑:程序博客网 时间:2024/04/28 06:24
转自:http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0483c/BABBGHDB.html
Using hardware VFP instructions
ARM Linux uses software floating-point linkage, where floating-point arguments are passed in integer registers even if functions themselves perform operations in hardware VFP registers.
When building ARM Linux applications with the --arm_linux
or --arm_linux_paths
compiler command-line options, the default is always software floating-point linkage even if you specify a CPU that implies an FPU.
For example, if you specify a --cpu
that implies an FPU, such as ARM1136JF-S or Cortex-A9, the compiler defaults to --fpu=softvfp+vfp
rather than --fpu=vfp
. --fpu=softvfp+vfp
is equivalent to the GCC -mfloat-abi=softfp
command-line option.
If you specify a --cpu
that does not imply an FPU, you must explicitly specify --fpu=softvfp+vfp
to use VFP.
You can override these explicitly to use hardware or software floating point variants of the Procedure Call Standard by specifying --apcs=/hardfp
or --apcs=/softfp
respectively. If using GCC emulation, the corresponding options are:
-mfloat-abi=hard
, to compile for hardware FPU with hardware linkage-mfloat-abi=softfp
, to compile for hardware FPU but with software linkage-mfloat-abi=soft
, to compile without hardware FPU instructions being used.
See also
- Reference
Compiler Reference:
--apcs=qualifer...qualifier
--arm_linux
--arm_linux_paths
--fpu=name.
Assembler Reference:
--apcs=qualifier…qualifier
--fpu=name.
- Using hardware VFP instructions
- Installation Instructions for Intel® Hardware Accelerated Execution Manager
- Setup Instructions Using the PowerVR SDK
- Using SIMD Instructions For Image Processing
- get hardware information using c#
- VFP---------Condition Codes 4: Floating-Point Comparisons Using VFP
- How to Get Hardware Information using C#
- Optional instructions for using a real MeeGo device
- VFP
- hardware
- Move SQL2000 & SQL2005 DB to new hardware using Backup/Restore
- Ubuntu下android真机调试Using Hardware Devices
- Using hardware layers to improve Android animation performance
- 10 Gbit Hardware Packet Filtering Using Commodity Network Adapters
- 8086 instructions
- MMX Instructions
- SSE Instructions
- ARM Instructions
- 解决:sublime text ctags 不能正常跳转 can't find any relevent tags file 【附ctags插件完整安装步骤】
- 三五个人十来条枪 如何走出软件作坊成为开发正规军
- android 调节媒体音量
- Search Filter Syntax
- liunx下安装QQ
- Using hardware VFP instructions
- 堆和堆排序
- 编译好的Qt库怎么正常搬家到其他PC
- JAVA-学习FlowLayout
- android 二维码zxing开发之编译jar文件
- linux下vi与vim编辑器的区别及使用方法
- MVC中提交包含html的文本信息
- asp.net 生成随机密码的代码
- git 里程碑