mirror of
https://git.planet-casio.com/Vhex-Kernel-Core/fxlibc.git
synced 2025-04-19 17:37:09 +02:00
longjmp: optimize forcing the return value to be non-zero
This commit is contained in:
parent
6275b3e73b
commit
471d6ea820
1 changed files with 2 additions and 3 deletions
|
@ -15,9 +15,8 @@ _longjmp:
|
|||
|
||||
! check the returned value validity
|
||||
tst r5, r5
|
||||
bf/s int_block
|
||||
mov r5, r9
|
||||
mov #1, r9
|
||||
movt r9
|
||||
add r5, r9
|
||||
|
||||
! block interrupt
|
||||
int_block:
|
||||
|
|
Loading…
Add table
Reference in a new issue