summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendiadyoin1 <leon.a@serenityos.org>2022-04-01 13:51:26 +0200
committerAndreas Kling <kling@serenityos.org>2022-04-02 18:37:38 +0200
commit3cae69a6c28cda65355f87d2477a9522f899ba65 (patch)
treec6ac9bc2b461a3a56e79c3b75ca6568976771068
parentf951849fd5d720f1302b92623e4f29b8d6f1af2a (diff)
downloadserenity-3cae69a6c28cda65355f87d2477a9522f899ba65.zip
LibX86: Correctly name the first xmm argument
We were accidentally calling it a mm-register
-rw-r--r--Userland/Libraries/LibX86/Instruction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibX86/Instruction.cpp b/Userland/Libraries/LibX86/Instruction.cpp
index 4dc4d35131..0abee4f50a 100644
--- a/Userland/Libraries/LibX86/Instruction.cpp
+++ b/Userland/Libraries/LibX86/Instruction.cpp
@@ -1486,7 +1486,7 @@ void Instruction::to_string_internal(StringBuilder& builder, u32 origin, SymbolP
auto append_mm = [&] { builder.appendff("mm{}", register_index()); };
auto append_mmrm32 = [&] { builder.append(m_modrm.to_string_mm(*this)); };
auto append_mmrm64 = [&] { builder.append(m_modrm.to_string_mm(*this)); };
- auto append_xmm = [&] { builder.appendff("mm{}", register_index()); };
+ auto append_xmm = [&] { builder.appendff("xmm{}", register_index()); };
auto append_xmmrm32 = [&] { builder.append(m_modrm.to_string_xmm(*this)); };
auto append_xmmrm64 = [&] { builder.append(m_modrm.to_string_xmm(*this)); };
auto append_xmmrm128 = [&] { builder.append(m_modrm.to_string_xmm(*this)); };