.Net框架JIT和Bulldozer特殊指令
AMD Bulldozer 在服务器领域取得了成功,但在桌面领域表现不佳。据我了解,造成这种情况的一个主要原因是服务器应用程序已被重写以使用Bulldozer的特殊指令,而桌面应用程序中仍然没有使用这些指令。我们是否会期望即时编译器 (JIT) 在 4.5 中使用这些,它们是否可以向后移植到 4.0?
澄清:我的理解是 JIT 是针对其运行的机器进行编译的,而不是针对其编译为 IL 指令的机器进行编译。有人声称,正因为如此,JIT 应用程序实际上可以比直接编译并链接为二进制的普通代码具有更高的性能。
AMD Bulldozer has been successful in the server space but has performed poorly on the desktop. As I understand it, a major cause of this is that server applications have been rewritten to use Bulldozer's special instructions, which are still not being used in desktop applications. Will or do we expect the Just in time Compiler (JIT) to use these in 4.5, can/ will they be back ported to 4.0?
Clarification: My understanding was that the JIT compiles for the machine it is running on, not the machine on which it was compiled to IL instructions. It has been claimed that because of this JIT applications can actually have higher performance than normal code which is compiled and linked straight down to binary.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不幸的是,.NET JIT 在性能方面并不是特别复杂:
似乎 JIT 的开发预算不是特别高。所以我怀疑我们是否会看到这样的专门指令被使用。
Unfortunately, the .NET JIT is not particularly sophisticated when it comes to performance:
It seems like the JIT is not being developed with a particularly high budget. So I doubt we will see such specialized instructions being used.