git: libnvmm(3): Fix sign-extension on RCX and RDI/RSI

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


commit d605e8301cded6bc09e3127af6489f83046a4e86
Author: Aaron LI <aly at aaronly.me>
Date:   Mon Aug 31 21:46:40 2026 +0800

    libnvmm(3): Fix sign-extension on RCX and RDI/RSI
    
    * Fix sign-extension on RCX when using the REP prefix.
    * Fix sign-extension on RDI/RSI when emulating MOVS.
    
    Obtained-from: NVMM Reference Implementation

Summary of changes:
 lib/libnvmm/libnvmm_x86.c                 | 56 ++++++++++++++++++++++++-------
 test/testcases/libnvmm/h_mem_assist.c     |  4 +++
 test/testcases/libnvmm/h_mem_assist_asm.S | 42 +++++++++++++++++++++++
 3 files changed, 89 insertions(+), 13 deletions(-)

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list