Skip to content

Commit 30db9b7

Browse files
authored
Update gcinfo for arm64 mrs instruction (#89678)
* Update gcinfo for mrs * move the check in emitInsMayWriteToGCReg()
1 parent 8c96dd2 commit 30db9b7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/coreclr/jit/emitarm64.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1059,6 +1059,9 @@ bool emitter::emitInsMayWriteToGCReg(instrDesc* id)
10591059
assert(emitInsIsLoad(ins));
10601060
return true;
10611061

1062+
case IF_SR_1A: // SR_1A ................ ...........ttttt Rt (dc zva, mrs)
1063+
return ins == INS_mrs_tpid0;
1064+
10621065
default:
10631066
return false;
10641067
}

0 commit comments

Comments
 (0)