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.
是否有指令速度顺序的列表(这可能一般来说会因架构而异)?几年前,我的装配教授告诉我,换班是最快的。
+、-、*、/ 是如何排序的?
Agner Fog 有一个非常好的 x86 处理器的指令延迟和吞吐量列表:
http://www.agner.org/optimize/instruction_tables.pdf
编辑:
也就是说,您确实必须达到这个 HPC 级别才能利用这些信息来提高性能。