Do not use __XSCALE__ to detect if clz is available, use _ARM_ARCH_5 instead.
MFC After: 3 days
This commit is contained in:
parent
23ec7d7ba3
commit
746a165a98
@ -50,7 +50,7 @@ ENTRY(ffs)
|
||||
/* Standard trick to isolate bottom bit in r0 or 0 if r0 = 0 on entry */
|
||||
rsb r1, r0, #0
|
||||
ands r0, r0, r1
|
||||
#ifndef __XSCALE__
|
||||
#ifndef _ARM_ARCH_5
|
||||
|
||||
/*
|
||||
* now r0 has at most one set bit, call this X
|
||||
|
Loading…
x
Reference in New Issue
Block a user