From 3cae69a6c28cda65355f87d2477a9522f899ba65 Mon Sep 17 00:00:00 2001 From: Hendiadyoin1 Date: Fri, 1 Apr 2022 13:51:26 +0200 Subject: [PATCH] LibX86: Correctly name the first xmm argument We were accidentally calling it a mm-register --- Userland/Libraries/LibX86/Instruction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); };