mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
Move common string instruction bookkeeping into the x86 instruction emulator so MOVS, STOS, and MSHV port string I/O use one implementation for REP counts, direction-flag handling, and index advancement. This keeps existing MOVS/STOS behavior unchanged while removing the need for MSHV to open-code the same string-operation details. Signed-off-by: Wei Liu <liuwe@microsoft.com> Assisted-by: Copilot:GPT-5.5