Skip to content

Commit c826d4b

Browse files
committed
Fix arm64 callee saved register set
When I've made a change to optimize the collided exception handling by copying the stack frame iterator state, I've somehow missed adding two callee saved registers, x27 and x28 to a list of callee saved registers and that caused them to not to be copied during the state copying. It has caused failures in one of the coreclr tests when running with specific JIT stress settings. Close dotnet#100476
1 parent 3c00af9 commit c826d4b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/coreclr/vm/arm64/cgencpu.h

+3-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@
2727
CALLEE_SAVED_REGISTER(X23) \
2828
CALLEE_SAVED_REGISTER(X24) \
2929
CALLEE_SAVED_REGISTER(X25) \
30-
CALLEE_SAVED_REGISTER(X26)
30+
CALLEE_SAVED_REGISTER(X26) \
31+
CALLEE_SAVED_REGISTER(X27) \
32+
CALLEE_SAVED_REGISTER(X28)
3133

3234
#define ENUM_FP_CALLEE_SAVED_REGISTERS() \
3335
CALLEE_SAVED_REGISTER(V[8].Low) \

0 commit comments

Comments
 (0)