diff --git a/src/coreclr/jit/emitxarch.cpp b/src/coreclr/jit/emitxarch.cpp index 6d654f115ff480..f7b9df9f0c02c2 100644 --- a/src/coreclr/jit/emitxarch.cpp +++ b/src/coreclr/jit/emitxarch.cpp @@ -4034,8 +4034,16 @@ emitter::insFormat emitter::emitMapFmtForIns(insFormat fmt, instruction ins) unreached(); } } - default: + if (IsMovInstruction(ins)) + { + // A `mov` instruction is always "write" + // and not "read/write". + if (fmt == IF_RRW_ARD) + { + return IF_RWR_ARD; + } + } return fmt; } }