amd64和vs.net 2005 [英] amd64 and vs.net 2005

查看:82
本文介绍了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

推荐答案

Shawn B.写道:
Shawn B. wrote:
最终版本是否会获得内联汇编?似乎有点奇怪
允许它为32位而不是64位,有这么多的优化
可以做到。在asm中编写整个
函数似乎很奇怪只是在200行代码中有大约5行asm
块...我想它只是因为它的beta版在时刻和
具体询问是否有计划为
最终版本启用该功能?


结束了microsoft.private.whidbey.cplusplus.codegen,

Brandon Bray [MSFT]写道:我们不太可能''在任何64位平台上沿着内联汇编的路径前进。您的替代方案是使用适当的编译器内在函数或在单​​独的ASM文件中编写汇编并使用ML来汇编它们。
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?
Over on microsoft.private.whidbey.cplusplus.codegen,

Brandon Bray [MSFT] wrote: It is unlikely that we''ll go down the path of inline assembly on any
of the 64-bit platforms. Your alternatives are to use the appropriate
compiler intrinsics or to write assembly in separate ASM files and
use ML to assemble them.




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


-cd



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

-cd


我可以问,是吗?它与不想支持2

不同的指令集(Itanium / AMD64)有什么关系?

谢谢,

Shawn



Carl Daniel [VC ++ MVP]" < cp ***************************** @ mvps.org.nospam>

写道消息新闻:uc ************** @ TK2MSFTNGP15.phx.gbl ...
May I ask, does it have anything to do with not wanting to support 2
different instruction sets (Itanium/AMD64)?
Thanks,
Shawn


"Carl Daniel [VC++ MVP]" <cp*****************************@mvps.org.nospam >
wrote in message news:uc**************@TK2MSFTNGP15.phx.gbl...
Shawn B.写道:
Shawn B. wrote:
请问最终版本获得内联汇编?似乎有点奇怪
允许它为32位而不是64位,有这么多的优化
可以做到。在asm中编写整个
函数似乎很奇怪只是在200行代码中有大约5行asm
块...我想它只是因为它的beta版在那一刻和
具体询问是否有计划为
最终版本启用该功能?
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?



在microsoft.private.whidbey.cplusplus.codegen上,<布兰登布雷[MSFT]写道:



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

Brandon Bray [MSFT] wrote:

我们不太可能在任何64位平台上进行内联汇编。您的替代方案是使用适当的编译器内在函数或在单​​独的ASM文件中编写程序集,并使用ML来组装它们。
It is unlikely that we''ll go down the path of inline assembly on any
of the 64-bit platforms. Your alternatives are to use the appropriate
compiler intrinsics or to write assembly in separate ASM files and
use ML to assemble them.



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

-cd



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

-cd



Shawn B.写道:
Shawn B. wrote:
请问,它是否与不想支持2个不同的指令集(Itanium / AMD64)有什么关系?
May I ask, does it have anything to do with not wanting to support 2
different instruction sets (Itanium/AMD64)?




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

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


授予,内联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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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