Do not use __XSCALE__ to detect if clz is available, use _ARM_ARCH_5 instead.

MFC After:	3 days
This commit is contained in:
Olivier Houchard 2007-10-13 12:05:36 +00:00
parent 0f7432f516
commit def35d2ca7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=172615

View File

@ -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