On 11.04.2024 17:23, Andrew Cooper wrote:
> x86_seg_* uses architectural encodings.  Therefore, we can fold the prefix
> handling cases together and derive the segment from the prefix byte itself.
> 
> No functional change.
> 
> Signed-off-by: Andrew Cooper <andrew.coop...@citrix.com>

Reviewed-by: Jan Beulich <jbeul...@suse.com>

I notice we already have suitable BUILD_BUG_ON()s, as we use similar logic
already for PUSH/POP of the selector registers.

Jan

Reply via email to