Content deleted Content added
NickyMcLean (talk | contribs) |
|||
Line 167:
* '''Don't merge''' - Different topics. Code isn't self modified when executed out of order. ~[[User:Kvng|Kvng]] ([[User talk:Kvng|talk]]) 14:08, 21 November 2018 (UTC)
* '''Don't merge''' - Regarding out-of-order execution as similar to self-modifying code requires quite a twist of thinking. Like, at run time, code protected by an IF-test is executed on the assumption that the result of the IF will be the same as before, but, this time it will not be and the code should not have been executed, so the results of that execution are undone (except, ho ho, for the contents of on-chip memory caches) so that could be regarded as code modification, in that the results of the code are modified by being undone. Sortof... So, nope. Or possibly, that the apparent machine code, as executed by the microcode interpreter on the fly by the actual hardware (well, with its own programmable logic gates) involves activities that are not in direct correspondence to the static machine code and further, the mix changes on each iteration as well, so all this is dynamic code modification as the hardware churns through the microcode that implements the nominal machine code. Humm. Nothing like a piece of machine code modifying some other stretch of machine code, without reference to hardware running microcode. [[User:NickyMcLean|NickyMcLean]] ([[User talk:NickyMcLean|talk]]) 11:16, 22 November 2018 (UTC)
|