Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以说为英特尔架构编译/运行的 C 应用程序的性能将比为 ARM 架构交叉编译的相同应用程序更快?
我本质上是在问交叉编译是否会对性能产生负面影响。
谢谢!
一般来说,不,因为编译器应该为给定的架构输出相同的机器代码,而不管编译器本身在什么架构上运行。