ARM: wrap call to __clzsi2 so that the name is correct on MachO.
MachO symbols are prefixed with an extra '_' (that's 3 in total for this function), so assembly calls have to go through a wrapper to insert any prefix needed. llvm-svn: 341540
This commit is contained in:
parent
d353e6d748
commit
8f141016ee
|
@ -178,7 +178,7 @@ LOCAL_LABEL(do_substraction):
|
|||
|
||||
push {r0, r1, r2, r3}
|
||||
movs r0, r4
|
||||
bl __clzsi2
|
||||
bl SYMBOL_NAME(__clzsi2)
|
||||
movs r5, r0
|
||||
pop {r0, r1, r2, r3}
|
||||
// shift = rep_clz(aSignificand) - rep_clz(implicitBit << 3);
|
||||
|
|
Loading…
Reference in New Issue