From af15c3cf17ed211f7f4a257cbc5bccd298c2e9e0 Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Fri, 26 Apr 2024 11:14:13 -0700 Subject: [PATCH] CodeGen: Fix a typo in X64 (dis)assembler (#1238) --- CodeGen/src/AssemblyBuilderX64.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CodeGen/src/AssemblyBuilderX64.cpp b/CodeGen/src/AssemblyBuilderX64.cpp index bed7e0e3..f999d753 100644 --- a/CodeGen/src/AssemblyBuilderX64.cpp +++ b/CodeGen/src/AssemblyBuilderX64.cpp @@ -826,7 +826,7 @@ void AssemblyBuilderX64::vcvtss2sd(OperandX64 dst, OperandX64 src1, OperandX64 s else CODEGEN_ASSERT(src2.memSize == SizeX64::dword); - placeAvx("vcvtsd2ss", dst, src1, src2, 0x5a, false, AVX_0F, AVX_F3); + placeAvx("vcvtss2sd", dst, src1, src2, 0x5a, false, AVX_0F, AVX_F3); } void AssemblyBuilderX64::vroundsd(OperandX64 dst, OperandX64 src1, OperandX64 src2, RoundingModeX64 roundingMode)