Skip to content

Commit 552a9a0

Browse files
committed
lib/spinup: Change the cmp instruction to sub in common_spinup to avoid bogus pushes
1 parent 27926ce commit 552a9a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/lib/spinup.asm_uefi_x86_64

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ common_spinup:
5151

5252
mov rbp, rsp
5353

54-
cmp esi, 4
54+
sub esi, 4
5555
jle .no_stack_args
5656

5757
.push_stack_args:

0 commit comments

Comments
 (0)