How can I find the micro-ops which instructions on Intel's x86 CPUs decode to? -
Intel Optimization Reference, under section 3.5.1, recommends:
"Single-Micro- Operation Instructions. "Avoid using complicated instructions (for example, enter, leave, or loop) which have more than 4 micro-ops and need several cycles to decode. Use simple instructions instead. "
Although Intel tells the compiler authors to use those lists that explain some micro-ops, I do not have anything in their manual Which tells how many micro-ops are decoding each ASM instruction! Is this information somewhere else? (Of course, I hope the answer is different generations of CPUs
PDF reference on X86 instructions on the fog (referring to the main page swan Giving) is the only reference that I have found on information and micro-ops. I've never seen an Intel document on micro-op breakdown.