compiler_rt: fix incorrect __clzsi2_thumb1 lookup table usage

This commit is contained in:
GalaxyShard 2024-12-30 14:58:21 -05:00 committed by Alex Rønne Petersen
parent fed8df9217
commit e6879e99e2

View File

@ -73,7 +73,7 @@ fn __clzsi2_thumb1() callconv(.Naked) void {
\\ subs r1, #4
\\ movs r0, r2
\\ 1:
\\ ldr r3, .lut
\\ adr r3, .lut
\\ ldrb r0, [r3, r0]
\\ subs r0, r1, r0
\\ bx lr