它是安全与armeabi-V7A-难以替代armeabi,V7A? [英] is it safe to replace armeabi-v7a with armeabi-v7a-hard?

查看:233
本文介绍了它是安全与armeabi-V7A-难以替代armeabi,V7A?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是想支持armeabi-V7A所有的设备应该能够支持armeabi-V7A硬。如果是这样,为什么我们不放弃armeabi-V7A或只使用armeabi-V7A-难以替代armeabi-V7A为NDK的> = XX(9C?)

i am think that all device that support armeabi-v7a should be able to support armeabi-v7a-hard. if so, why do not we just abandon armeabi-v7a or just use armeabi-v7a-hard to replace armeabi-v7a for NDK that >=xx(9c?)

推荐答案

-msoft流通和-mhard浮动并不硬件和软件浮点之间切换。

-msoft-float and -mhard-float do not toggle between hardware and software floating point.

实际的区别是如何将参数传递给函数的调用约定。

The actual difference is the calling convention on how arguments are passed to functions.

这意味着,-mhard浮动只是稍快(都使用硬件浮点实现),但-msoft浮球具有更好的兼容性ABI

This means that -mhard-float is only slightly faster (both use hardware floating point implementation), but -msoft-float has better ABI compatibility.

有关完整的概述,请参阅本博文:
http://blog.alexrp.com/2014/02/ 18 / Android的硬浮支持/

For a complete overview, see this blogpost: http://blog.alexrp.com/2014/02/18/android-hard-float-support/

这篇关于它是安全与armeabi-V7A-难以替代armeabi,V7A?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆