[英]Is there performance advantage to ARM64
Recently 64-bit ARM mobiles started appearing. 最近,64位ARM手机开始出现。 But is there any practical advantage to building an application 64-bit?
但是构建64位应用程序有什么实际优势吗? Specifically considering application that does not have much use for the increased virtual address space¹, but would waste some space due to increased pointer size.
特别考虑对增加的虚拟地址空间¹没有多大用处的应用程序,但由于指针大小的增加会浪费一些空间。
So does ARM64 have any other advantages than the larger address that would actually warrant building such application 64bit? 那么ARM64除了实际上需要构建这样的64bit应用程序的更大地址之外还有其他任何优势吗?
Note: I've seen 64-bit Performance Advantages , but it only mentions x86-64 which does have other improvements besides extended virtual address space. 注意:我已经看到了64位性能优势 ,但它只提到了x86-64,除了扩展虚拟地址空间之外还有其他改进。 I also recall that the situation is indeed specific to x86 and on some other platforms that went 64-bit like Sparc the usual approach was to only compile kernel and the applications that actually did use lot of memory as 64-bit and everything else as 32-bit.
我还记得情况确实特定于x86和其他一些像Sparc一样64位的平台,通常的做法是只编译内核和实际使用大量内存作为64位的应用程序,其他一切都是32位。
¹ The application is multi-platform and it still needs to be built for and run on devices with as little as 48MiB of memory. ¹ 该应用程序是多平台的,它仍然需要在只有48MiB内存的设备上构建和运行。 Does have some large data that it reads from external storage, but it never needs more than some megabytes of it at once.
它有一些从外部存储读取的大数据,但它一次不需要超过几兆字节。
I am not sure a general response can be given, but I can provide some examples of differences. 我不确定是否可以给出一般性回应,但我可以提供一些差异的例子。 There are of course additional differences added in version 8 of the ARM architecture, which apply regardless of target instruction set.
当然,在ARM体系结构的第8版中添加了其他差异,无论目标指令集如何都适用。
I probably forgot lots of things, but those are some of the more obvious changes. 我可能忘了很多东西,但这些是一些更明显的变化。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.