소스 검색

LibX86: Correctly name the first xmm argument

We were accidentally calling it a mm-register
Hendiadyoin1 3 년 전
부모
커밋
3cae69a6c2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)); };