2 ms·
if I recall correctly ARM instructions are fixed length. You can start deciding instructions on parallel at the same time (ie right after you fetch). X86 uses v
by vlovich123 5y ago
if I recall correctly ARM instructions are fixed length. You can start deciding instructions on parallel at the same time (ie right after you fetch). X86 uses variable length instructions. Decoding the next instruction requires the previous one to be decoded (think decompression vs reading fixed records).
Hopefully I got that right. Now in theory Intel and AMD do employ tricks to optimize x86 decode. If I recall this correctly, they decide opportunistically several possible paths simultaneously and start speculatively executing the ones that turn out to be valid instructions. Likely this works pretty well (+ the variable length means better utilization of the code cache).