可以使用ARM架构设置一些澄清英寸x code [英] Could use some clarification on arm architecture settings in Xcode
问题描述
从我读过,iPhone 5将采用新的架构, armv7s
。我的项目有有效的体系结构为的ARMv7
,并有构建有源体系仅
设置为真实
。由于在店里现在是专为每一个应用程序的ARMv6
和/或的ARMv7
,我无法想象它不会对新的iPhone上运行。所以,发生了什么?它只是没有运行良好,因为它可以?
From what I've read, the iPhone 5 will use a new architecture, armv7s
. My project had valid architectures as armv7
, and had Build Active Architecture Only
set to true
. Since every app in the store right now is built for armv6
and/or armv7
, I can't imagine that it will not run on the new iPhone. So what occurs? Does it just not run as well as it could?
我可以只使用正在发生的一个更好的解释,有一次我重建和 armv7s
提交作为一个有效的体系结构会有什么不同。
I could just use a better explanation of what is occurring, and what would be different once I rebuild and submit with armv7s
as a valid architecture.
推荐答案
首先,它的的ARMv7 ,不是ARM7(是的,是有区别的)。我似乎无法找到具体的文档,但我想armv7s添加了一些可选的ARMv7功能,例如支持VFPv4 / FMA,或UDIV / SDIV整数除法指令。我无法想象的差异将明显除非有大量的数学或图形您的应用程序交易。
First, it's armv7, not arm7 (yes, there is a difference). I can't seem to find any docs on the specifics, but I imagine armv7s adds support for some optional ARMv7 features, e.g. VFPv4/FMA, or UDIV/SDIV integer division instructions. I can't imagine the difference will be noticeable unless your app deals with a lot of math or graphics.
修改:请参见对于此链接到LLVM提出的armv7s支持更改。从我所看到的,它的确只是VFPv4和整数除法,再加上一些改变指令调度。显然,CPU codeNAME是雨燕。
Edit: see this link for the changes made to LLVM for armv7s support. From what I see, it's indeed just VFPv4 and integer divide, plus some changes to the instruction scheduler. Apparently the CPU codename is "Swift".
这篇关于可以使用ARM架构设置一些澄清英寸x code的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!