1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 17:37:34 +00:00

UserspaceEmulator: Implement the SSE extension

This almost fully implements the SSE extension, similar to the x87 and
MMX extensions, using a separate class "SoftVPU".

Currently missing are all shadow and exception checks, as well as the
denormals-are-zero and flush-to-zero flags.
Also missing are some integer-SIMD functions.
This commit is contained in:
Hendiadyoin1 2022-04-01 13:59:49 +02:00 committed by Andreas Kling
parent 1d2ad9cf61
commit 2377344a89
5 changed files with 1053 additions and 79 deletions

View file

@ -10,6 +10,7 @@
#include "Emulator.h"
#include "Region.h"
#include "SoftFPU.h"
#include "SoftVPU.h"
#include "ValueWithShadow.h"
#include <AK/ByteReader.h>
#include <LibX86/Instruction.h>
@ -1247,6 +1248,7 @@ private:
Emulator& m_emulator;
SoftFPU m_fpu;
SoftVPU m_vpu;
ValueWithShadow<PartAddressableRegister> m_gpr[8];