随笔-处理器微架构-F: micro fusion、macro fusion、instructionFusion
F: 关于instructionFusion、micro fusion、macro fusion
Please do not be confused about the difference between InstructionFusion, MicroFusion and MacroFusion. According Intel documentation:
- InstructionFusion is when multiple RISC-like assembly instructions are merged into CISC-like one assembly instruction (see example above). This is made by the compiler / asm developer.
- MicroFusion is when multiple uops from the same assembly instruction are merged into one uop. This is made by the decoding pipeline inside CPU.
- MacroFusion is when multiple uops from different assembly instructions are merged into one uop. This is made by the decoding pipeline inside CPU.
请不要混淆 InstructionFusion、MicroFusion 和 MacroFusion 之间的区别。根据 Intel 文档:
- InstructionFusion 是指将多个类似 RISC 的汇编指令合并为一个类似 CISC 的汇编指令(参见上面的示例)。这是由编译器/ asm开发人员完成的。
- MicroFusion 是指将来自同一组装指令的多个 uop 合并为一个 uop。这是由 CPU 内部的解码管道完成的。
- MacroFusion 是指将来自不同汇编指令的多个 uop 合并为一个 uop。这是由 CPU 内部的解码管道完成的。
本文来自博客园,作者:LiYanbin,转载请注明原文链接:https://www.cnblogs.com/stellar-liyanbin/p/18663011