Skip to content

Commit

Permalink
Fixing the IF check for shld/shrd on x86
Browse files Browse the repository at this point in the history
  • Loading branch information
tannergooding committed Apr 28, 2023
1 parent 9befa4f commit d4f6a95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coreclr/jit/emitxarch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17514,7 +17514,7 @@ emitter::insExecutionCharacteristics emitter::getInsExecutionCharacteristics(ins
case INS_shld:
case INS_shrd:
result.insLatency += PERFSCORE_LATENCY_3C;
if (insFmt == IF_RWR_RRD_CNS)
if (insFmt == IF_RRW_RRD_CNS)
{
// ins reg, reg, cns
result.insThroughput = PERFSCORE_THROUGHPUT_1C;
Expand Down

0 comments on commit d4f6a95

Please sign in to comment.