Dear folks,
i stumbled on an instruction that NVMM couldn't code and thus couldn't
emulate either. It was as stated the REPE CMPS (0xF3A7) instruction as stated
in https://c9x.me/x86/html/file_module_x86_id_279.html and confirmed by
disassembly by ndisasm (from nasm).
Appended is the implementation of imentioned instruction together with its
byte sized sibling 0xF3A6. When installing the modified libnvmm, qemu behaves
like NVMM is not used. I think the implementation does the right thing but
feel free to double check!
Tested and found by NetBSD/amd64 9.99.74 (19 oct) on an Intel Celeron 2957U by
executing:
qemu-system-x86_64 -accel nvmm -nographic -netdev \
user,id=n0,tftp=/usr/mdec,bootfile=pxeboot_ia32.bin -device \
e1000,netdev=n0 -boot n
With regards,
Reinoud