git: libnvmm(3): Fix zero-extension on RDI/RSI

Aaron LI aly at crater.dragonflybsd.org
Tue Sep 1 06:09:04 PDT 2026


commit e801c63e05169b31041abac7c84ec3bc49d502cd
Author: Aaron LI <aly at aaronly.me>
Date:   Mon Aug 31 21:57:04 2026 +0800

    libnvmm(3): Fix zero-extension on RDI/RSI
    
    * Fix zero-extension on RDI/RSI when emulating INS/OUTS.
    * Fix zero-extension on RDI/RSI when emulating LODS/STOS.
    
    Obtained-from: NVMM Reference Implementation

Summary of changes:
 lib/libnvmm/libnvmm_x86.c                 | 39 ++++++++++++++-----------------
 test/testcases/libnvmm/h_io_assist.c      |  3 +++
 test/testcases/libnvmm/h_io_assist_asm.S  | 21 +++++++++++++++++
 test/testcases/libnvmm/h_mem_assist_asm.S | 11 +++++++--
 4 files changed, 51 insertions(+), 23 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e801c63e05169b31041abac7c84ec3bc49d502cd


-- 
DragonFly BSD source repository


More information about the Commits mailing list