Browse Source

LibX86: Correctly name the first xmm argument

We were accidentally calling it a mm-register
Hendiadyoin1 3 years ago
parent
commit
3cae69a6c2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Userland/Libraries/LibX86/Instruction.cpp

+ 1 - 1
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)); };