针对 x86 的 .NET EXE 能否在 AMD 芯片上运行?

发布于 2024-07-09 12:29:16 字数 196 浏览 6 评论 0原文

如果我的 .NET 应用程序以 x86 平台为目标,它能否在 AMD 芯片上正常运行? 我知道它将与 Intel 芯片配合使用,并且 Vista 64 能够以特殊模式运行 x86 应用程序,但我不知道其中有多少是硬件,有多少是操作系统。

我已经在使用 Intel 芯片的 Vista 64 上对其进行了测试,并且运行完美,但我没有 AMD 机器进行测试。

If I target the x86 platform for my .NET app, will it run properly on AMD chips? I know that it will work with Intel chips, and that Vista 64 has the ability to run x86 apps in a special mode, but I don't know how much of that is hardware and how much of that is the OS.

I've tested it on Vista 64 with an Intel chip and it works perfectly, but I don't have an AMD machine to test.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

陪我终i 2024-07-16 12:29:16

是的 - 它们是二进制兼容的,否则它们不会相互替代:)

除非您指的是 IA64 与 AMD64 - 这些是不兼容的体系结构。

Yes - they are binary compatible, otherwise they wouldn't be drop-in replacements for each other :)

Unless you mean IA64 vs AMD64 - those are incompatible architectures.

人海汹涌 2024-07-16 12:29:16

是的,它可以工作,但它会作为 32 位进程运行,而不是 64 位进程。 抽象层是通过引入子系统在操作系统级别完成的。 它被称为 Wow64(Windows on Windows 64)。 这允许 32 位进程在 64 位机器上本机运行。

仅当您进行低级内核集成时它才会崩溃。 可能您没有使用 .Net 应用程序执行某些操作。

Yes it will work however it will run as a 32 bit process vs. a 64 bit one. The abstraction layer is done at the OS level by introdcuing a subsystem. It is called Wow64 (Windows on Windows 64). This allows 32 bit processes to run natively on a 64 bit machine.

It will only break down if you do low level kernel integration. Likely something you're not doing with a .Net App.

小霸王臭丫头 2024-07-16 12:29:16

它会工作得很好

It will work fine

顾挽 2024-07-16 12:29:16

这与 Intel 或 AMD 无关,它适用于相同硬件架构的所有品牌。
32 位应用程序可以在 32 位操作系统和 64 位操作系统上运行。 64 位应用程序仅在 64 位操作系统(和 64 位硬件)上运行。

This has nothing to do with Intel or AMD, it works on all brands of the same hardware architecture.
32 bit applications can run on 32 bit OS's and on 64 bit OS's. 64bit applications run only on 64bit OS's (and 64bit hardware).

半岛未凉 2024-07-16 12:29:16

这里的关键是 .NET 代码以 CLR 为目标,因此任何处理器级别的问题都应该涵盖在那里......我不确定这一点,但我相信 x86 / 64 有多个版本的 CLR。

The key here is that .NET code targets the CLR, so any processor level issues should be covered there... I don't know this for sure, but I believe that there are multiple versions of the CLR for the x86 / 64.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文