Skip to content

Commit

Permalink
Update gcinfo for arm64 mrs instruction (#89678)
Browse files Browse the repository at this point in the history
* Update gcinfo for mrs

* move the check in emitInsMayWriteToGCReg()
  • Loading branch information
kunalspathak committed Jul 31, 2023
1 parent 8c96dd2 commit 30db9b7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/coreclr/jit/emitarm64.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1059,6 +1059,9 @@ bool emitter::emitInsMayWriteToGCReg(instrDesc* id)
assert(emitInsIsLoad(ins));
return true;

case IF_SR_1A: // SR_1A ................ ...........ttttt Rt (dc zva, mrs)
return ins == INS_mrs_tpid0;

default:
return false;
}
Expand Down

0 comments on commit 30db9b7

Please sign in to comment.