Update sdk/lib/crt/setjmp/arm/setjmp.s

Co-authored-by: Serge Gautherie <32623169+SergeGautherie@users.noreply.github.com>
This commit is contained in:
Katayama Hirofumi MZ 2025-03-30 09:57:26 +09:00 committed by GitHub
parent 4b04b72bcb
commit 84988aaeaa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -55,9 +55,8 @@
vld1.64 {d6}, [r0]!
vld1.64 {d7}, [r0]!
/* Check if r1 is zero */
/* Return r1, or 1 if it is 0. */
cmp r1, #0
/* if r1 is zero, then set r0 to 1, else r0 = r1 */
moveq r0, #1
movne r0, r1
bx lr