在编译iPhone应用程序时,armv7优于armv6有什么优势? [英] What are the advantages of armv7 over armv6 when compiling iPhone apps?

查看:187
本文介绍了在编译iPhone应用程序时,armv7优于armv6有什么优势?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果有任何优势......在文档中找不到任何结论。



显然armv7适用于较新版本的iOS ...是它更快?小吗?更好的X?

解决方案

其中一个更大的区别是armv6架构具有双精度浮点运算的硬件支持,而armv7仅为双精度浮点运算提供传统软件支持。



为了补偿,armv7架构有一个NEON单元,为单精度浮动提供了快速的硬件支持点算术。



如果你正在做任何涉及浮点运算的事情,无论你是单一的还是单一的,你都需要考虑这个问题。双精度。如果你是以双精度进行,但不一定需要那么精确,那么你可以通过使用单精度来显着提升armv7设备的性能。



Apple在今年的一次WWDC会议中介绍了armv6和armv7之间的许多不同之处以及对Accelerate框架的介绍。这些视频仍应在iTunes上提供(截至2010年7月)。


If there are any advantages at all... couldn't find anything conclusive in the docs.

Apparently armv7 is for newer version of iOS... is it faster? smaller? Better at X?

解决方案

One of the bigger differences is that the armv6 architecture has hardware support for double precision floating point arithmetic, while armv7 only provides legacy software support for double precision floating point arithmetic.

To compensate, the armv7 architecture has a "NEON" unit that provides blindingly fast hardware support for single precision floating point arithmetic.

This is something you'll need to take into account if you're doing anything that involves floating point arithmetic, whether you're doing it in single or double precision. If you're doing it in double precision, but don't necessarily need that amount of precision, you can probably get a significant performance boost on armv7 devices by using single precision instead.

Apple covered a lot of the differences between armv6 and armv7 and an introduction to the Accelerate framework in one of their WWDC sessions this year. The videos should still be available on iTunes ( as of July '10).

这篇关于在编译iPhone应用程序时,armv7优于armv6有什么优势?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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