Merge pull request #1235 from stevefalco/correct_register_definition

Make definition of "prev" consistent
This commit is contained in:
Michael Ossmann
2022-12-01 13:08:35 -05:00
committed by GitHub

View File

@ -566,7 +566,7 @@ checked_rollback:
beq idle // goto idle // 3
// Otherwise, roll back the state to ignore the current shortfall, then jump to idle.
prev .req r0
prev .req r1
ldr prev, [state, #PREV_LONGEST_SHORTFALL] // prev = prev_longest_shortfall // 2
str prev, [state, #LONGEST_SHORTFALL] // state.longest_shortfall = prev // 2
ldr prev, [state, #NUM_SHORTFALLS] // prev = num_shortfalls // 2