本文介绍了amd64和vs.net 2005的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最终版本是否会进行内联汇编?允许它似乎有点奇怪

为32位而不是64位,有这么多的优化可以完成

。在asm中编写整个函数似乎很奇怪

在200行代码块中有大约5行asm ...我想它是

只是因为它目前的测试版并且具体询问是否有

计划为最终版本启用该功能?

谢谢,

Shawn

Will the final release get inline assembly? It seems a bit odd to allow it
for 32-bit but not 64-bit one there are so many optimaztions that can be
done. It seems strange to have to code the whole function in asm just to
have about 5 lines of asm in a 200 line code block... I''m supposing it is
just because its beta at the moment and asking specifically if there are
plans to enable the feature for the final release?
Thanks,
Shawn

推荐答案




那'我已经知道了接近权威的答案。


-cd



That''s as close to an authoritative answer as I''m aware of.

-cd




在microsoft.private.whidbey.cplusplus.codegen上,



Over on microsoft.private.whidbey.cplusplus.codegen,

Brandon Bray [MSFT] wrote:



这就是接近我知道的权威答案。

-cd



That''s as close to an authoritative answer as I''m aware of.

-cd






我认为它更多地需要花费大量精力来实现

内联汇编和相关的少量使用。


授予,内联asm当你需要它时,天赐是天赐之物,但是大部分的C / C ++代码都没有包含内联汇编,所以它可能很漂亮

远获取分配给它的资源的优先级列表。


-cd



I would assume it has more to do with a large amount of effort to implement
inline assembly and releatively little usage.

Granted, inline asm is a Godsend when it''s what you need, but the vast
majority of C/C++ code contains no inline assembly, so it''s probably pretty
far down on the priority list for getting resources assigned to it.

-cd


这篇关于amd64和vs.net 2005的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-05 09:40