11 ms·
Some pipelined CPUs have retained compatibility with self-modifying code and detect when you overwrite an instruction that is on the pipeline and flush it. X86
by ithkuil 2y ago
Some pipelined CPUs have retained compatibility with self-modifying code and detect when you overwrite an instruction that is on the pipeline and flush it.
X86 has that machinery although I'm not sure if they dropped it eventually on the 64-bit variant.
- BeeOnRope 2y agoThe rules and mechanisms for SMC detection are essentially the same in both modes as far as I am aware. Both Intel and AMD implement SMC detection that is a bit stronger than required by the specification as well.