Fixed the predicate return address

This commit is contained in:
Michal Isalski
2026-09-03 20:39:59 +02:00
committed by ShatteredMINT
parent 46e8fad974
commit bda60bd486
+1 -1
View File
@@ -23,7 +23,7 @@ pub find_index:
push r13 ; We save up the return address because we will provide our own to the predicate push r13 ; We save up the return address because we will provide our own to the predicate
counter r13 counter r13
add r13, r13, 40 ; Point to just after the predicate call - we can set this up now so we don't waste loop cycles add r13, r13, 52 ; Point to just after the predicate call - we can set this up now so we don't waste loop cycles
mov r8, 0 mov r8, 0
not r8, r8 ; We create a mask of 0xFFFFFFFF not r8, r8 ; We create a mask of 0xFFFFFFFF