diff --git a/src/coreclr/jit/hwintrinsiccodegenxarch.cpp b/src/coreclr/jit/hwintrinsiccodegenxarch.cpp index a601248c30933f..19979720fc154d 100644 --- a/src/coreclr/jit/hwintrinsiccodegenxarch.cpp +++ b/src/coreclr/jit/hwintrinsiccodegenxarch.cpp @@ -1707,7 +1707,7 @@ void CodeGen::genAvxFamilyIntrinsic(GenTreeHWIntrinsic* node) unreached(); } - assert(emitter::isMaskReg(maskReg)); + assert(emitter::isMaskReg(maskReg) && maskReg == REG_K1); emit->emitIns_R_R(maskIns, attr, maskReg, op1Reg); emit->emitIns_Mov(kmovIns, EA_8BYTE, targetReg, maskReg, INS_FLAGS_DONT_CARE);