fix __ctzdi2 for values with non-zero low 32 bits (fixes #765) (#766)

This commit is contained in:
Doug Rabson 2022-04-04 21:45:01 +01:00 committed by GitHub
parent 3d45276423
commit 1896b1491b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,7 +85,7 @@ wrapper_func __ctzdi2
ldr r3, =aeabi_bits_funcs
ldr r3, [r3, #CTZ32]
cmp r0, #0
bne 1f
beq 1f
bx r3
1:
push {lr}