summaryrefslogtreecommitdiff
path: root/Userland/DevTools/UserspaceEmulator
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2021-09-30 20:11:27 -0400
committerLinus Groh <mail@linusgroh.de>2021-10-01 01:18:52 +0100
commit6c9bc18a792d4ac22eaac91fe4ec2ed11ed7019e (patch)
treec850a8c69b04bcd578d811d6552f75c5287996f9 /Userland/DevTools/UserspaceEmulator
parent971d60c329cced524ea0e7efc88adb95f5cad64c (diff)
downloadserenity-6c9bc18a792d4ac22eaac91fe4ec2ed11ed7019e.zip
Userland: Fix typos
Diffstat (limited to 'Userland/DevTools/UserspaceEmulator')
-rw-r--r--Userland/DevTools/UserspaceEmulator/SoftFPU.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/Userland/DevTools/UserspaceEmulator/SoftFPU.cpp b/Userland/DevTools/UserspaceEmulator/SoftFPU.cpp
index 64e3463019..6d8eb1fc86 100644
--- a/Userland/DevTools/UserspaceEmulator/SoftFPU.cpp
+++ b/Userland/DevTools/UserspaceEmulator/SoftFPU.cpp
@@ -863,7 +863,7 @@ void SoftFPU::FICOM_RM32(const X86::Instruction& insn)
// FIXME: Check for denormals
VERIFY(insn.modrm().is_register());
auto val_shd = insn.modrm().read32(m_cpu, insn);
- warn_if_uninitialized(val_shd, "int32 comapre to float");
+ warn_if_uninitialized(val_shd, "int32 compare to float");
auto val = static_cast<i32>(val_shd.value());
if (fpu_isnan(0)) {
fpu_set_unordered();
@@ -1288,16 +1288,16 @@ void SoftFPU::FNSETPM(const X86::Instruction&) { TODO_INSN(); }
// MMX
// helpers
-#define LOAD_MM_MM64M() \
- MMX mm; \
- MMX mm64m; \
- if (insn.modrm().mod() == 0b11) { /* 0b11 signals a register */ \
- mm64m = mmx_get(insn.modrm().rm()); \
- } else { \
- auto temp = insn.modrm().read64(m_cpu, insn); \
- warn_if_uninitialized(temp, "Read of uninitialized Memmory as Packed integer"); \
- mm64m.raw = temp.value(); \
- } \
+#define LOAD_MM_MM64M() \
+ MMX mm; \
+ MMX mm64m; \
+ if (insn.modrm().mod() == 0b11) { /* 0b11 signals a register */ \
+ mm64m = mmx_get(insn.modrm().rm()); \
+ } else { \
+ auto temp = insn.modrm().read64(m_cpu, insn); \
+ warn_if_uninitialized(temp, "Read of uninitialized Memory as Packed integer"); \
+ mm64m.raw = temp.value(); \
+ } \
mm = mmx_get(insn.modrm().reg())
#define MMX_intrinsic(intrinsic, res_type, actor_type) \