4 ms·
Uhm.. Why not padding using NOP ? Looks much more safer that slapping around random prefixes.
by Borg3 3y ago
Uhm.. Why not padding using NOP ? Looks much more safer that slapping around
random prefixes.
- deleted 3y ago[deleted]
- muricula 3y agoModern Intel CPUs I am led to believe that issuing nops is actually slower than adding prefixes. I think there is work in the backend updating retired instruction counters and other state which still occurs for nops, but decoding prefixes happens entirely in the front end. When a nop truly is necessary you will see compilers and performance engineers add prefixes to the nop to make it the desired size.