工具链浮点支持

来源:互联网 发布:php最大上传文件大小 编辑:程序博客网 时间:2024/05/06 12:24

./mipse-linux-gnu-gcc --help

./mipse-linux-gnu-gcc --target-help | grep float

输出结果如下: -mdouble-float Allow hardware floating-point instructions to -mfp32 Use 32-bit floating-point registers -mfp64 Use 64-bit floating-point registers -mfused-madd Generate floating-point multiply-add instructions -mhard-float Allow the use of hardware floating-point ABI and -mpaired-single Use paired-single floating-point instructions -msingle-float Restrict the use of hardware floating-point -msoft-float Prevent the use of all hardware floating-point -mhard-float allow floating-point instructions -msoft-float do not allow floating-point instructions -msingle-float only allow 32-bit floating-point operations -mdouble-float allow 32-bit and 64-bit floating-point operations --[no-]construct-floats [dis]allow floating point values to be constructed

可看到工具链是否有软浮点或者硬浮点选项。

原创粉丝点击