On Fri, 1 May 2026 18:47:15 GMT, Ashutosh Mehra <[email protected]> wrote:

> I am not sure I understand how this can only be a perf issue. If the 
> instruction encoding is not valid on a platform, it would result in crash, 
> right?

I think I get it now. For nop >= 12 bytes, the encoding is done using two 
sequences of multi-byte nops.
eg on intel 12 byte nop = 8 byte nop + 4 byte nop
on amd 12 byte nop = 6 byte  + 6  byte

So there are multiple ways to encode multibyte nops, but they all should be 
valid encodings on all vendors, and may just differ in performance.

I agree it looks like it can have an impact on performance only.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/30778#issuecomment-4361644570

Reply via email to