/opemu-linux

Linux kernel module for emulating SSE instructions

Primary LanguageCGNU General Public License v2.0GPL-2.0

OPEMU for Linux

  • This is an adaptation of the original Opcode Emulator from xnu-amd's repo for Linux.

  • For the kernel module, and a few other things (fpins, SSE4.1...), I took some code from Meowthra's AVX+ OPEMU, which looks pretty good, but does not fit my needs (SSSE3, SSE4.1, & SSE4.2).

  • POPCNT and CRC32 are all merit of Andy Vandijck instead.

What's working

  • SSE3, SSSE3, SSE4.2 (mostly). CRC32 doesn't pass tests though.
  • most SSE4.1 instructions are missing, I tried to add a few but it's not working well yet.