Re: [PATCH 1/2] x86: Remove dynamic NOP selection

From: H. Peter Anvin
Date: Sun Jan 21 2024 - 18:22:31 EST


On 1/20/24 08:53, Thorsten Glaser wrote:
H. Peter Anvin dixit:

%eiz was something that binutils used to put in when disassembling
certain redundant encodings with SIB at some point.

Ah, fair enough. Maybe this could be added as one more line in
the comment or something.


I think "proper" gas syntax would be 0(%esi,,1), although that doesn't assemble either (I don't believe there is a way to get gas to actually generate this sequence.)

But yes, with all even remotely recent CPUs all actually handling nopl properly, this isn't relevant anymore.

-hpa