From 46989efc2b32f683919ce881c3c1871926999350 Mon Sep 17 00:00:00 2001 From: SachinVin Date: Sat, 28 May 2022 14:26:26 +0530 Subject: [PATCH] asimd_one_reg_modified_immediate.cpp: Rename `mvn` to `mvn_` --- .../A32/translate/impl/asimd_one_reg_modified_immediate.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/dynarmic/frontend/A32/translate/impl/asimd_one_reg_modified_immediate.cpp b/src/dynarmic/frontend/A32/translate/impl/asimd_one_reg_modified_immediate.cpp index 7427770c..94e3e841 100644 --- a/src/dynarmic/frontend/A32/translate/impl/asimd_one_reg_modified_immediate.cpp +++ b/src/dynarmic/frontend/A32/translate/impl/asimd_one_reg_modified_immediate.cpp @@ -30,7 +30,8 @@ bool TranslatorVisitor::asimd_VMOV_imm(Imm<1> a, bool D, Imm<1> b, Imm<1> c, Imm }; // VMVN - const auto mvn = [&] { + // mvn is a predefined macro in arm64 MSVC + const auto mvn_ = [&] { const auto imm64 = ir.Imm64(~imm); if (Q) { ir.SetVector(d_reg, ir.VectorBroadcast(64, imm64)); @@ -89,7 +90,7 @@ bool TranslatorVisitor::asimd_VMOV_imm(Imm<1> a, bool D, Imm<1> b, Imm<1> c, Imm case 0b10101: case 0b11001: case 0b11011: - return mvn(); + return mvn_(); case 0b00010: case 0b00110: case 0b01010: