Re: [PATCH] x86/sgx: Use ENCLS mnemonic in <kernel/cpu/sgx/encls.h>

From: Dave Hansen
Date: Tue Jun 17 2025 - 11:01:42 EST


On 6/17/25 07:44, Jarkko Sakkinen wrote:
> I don't really see how this is that useful. That said, f a bug fix or
> feature used encls mnemonic, I'd had no problems with acking it.

It's not _that_ useful.

But old assemblers that we still want to use *NEVER* have support for
newfanlged instructions, so we always add new instructions with ".byte".
Then, a few years down the road when we've moved to just old assemblers
instead of super old assemblers, we move to the real instruction names.

This is all business as usual.