Blogger

Delete comment from: Ken Shirriff's blog

Zack said...

Self-modifying code was relatively common in the early days of the IBM PC, and sometimes it would rely on the fact that a jump would discard the prefetch queue, to ensure that the CPU executed a modified instruction. Because of this, current versions of the x86 still guarantee that self-modified code will be visible to the CPU's execution pipeline immediately after any branch -- see section 8.1.3 of volume 3A of the "Intel(R) 64 and IA-32 Architectures Software Developer's Manual".

Mar 23, 2024, 1:07:28 PM


Posted to The Intel 8088 processor's instruction prefetch circuitry: a look inside

Google apps
Main menu