longjmp: optimize forcing the return value to be non-zero

This commit is contained in:
Lephenixnoir 2021-05-14 18:05:47 +02:00
parent 6275b3e73b
commit 471d6ea820
No known key found for this signature in database
GPG key ID: 1BBA026E13FC0495

View file

@ -15,9 +15,8 @@ _longjmp:
! check the returned value validity ! check the returned value validity
tst r5, r5 tst r5, r5
bf/s int_block movt r9
mov r5, r9 add r5, r9
mov #1, r9
! block interrupt ! block interrupt
int_block: int_block: