From ec4b465c69cb74d49d400c1888d6c73c31c514fc Mon Sep 17 00:00:00 2001 From: Kunal Pathak Date: Wed, 22 Nov 2023 10:55:29 -0800 Subject: [PATCH] Adjust the `ins` for sve instruction Picked up the change in https://github.com/dotnet/runtime/pull/95127#discussion_r1402316238 --- src/coreclr/jit/emitarm64.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/coreclr/jit/emitarm64.cpp b/src/coreclr/jit/emitarm64.cpp index 1e011d5be0626..afbcc8ad920c6 100644 --- a/src/coreclr/jit/emitarm64.cpp +++ b/src/coreclr/jit/emitarm64.cpp @@ -3768,6 +3768,7 @@ emitter::code_t emitter::emitInsCodeSve(instruction ins, insFormat fmt) } assert(encoding_found); + ins = (instruction)((unsigned)ins - INS_sve_invalid); switch (index) {