On Mon, Jan 11, 2021, at 8:32 AM, Richard Earnshaw wrote:
> A general comment before we start:
>
> CLZ was added to the Arm ISA in Armv5. So all subsequent Arm versions
> (and all versions implementing thumb2) will have this instruction. So
> the only cases where you'll need a fallback are armv6
A general comment before we start:
CLZ was added to the Arm ISA in Armv5. So all subsequent Arm versions
(and all versions implementing thumb2) will have this instruction. So
the only cases where you'll need a fallback are armv6m (and derivatives)
and pre-armv5 (Arm or thumb1). So there's no ne
From: Daniel Engel
On architectures with no clz instruction, this version combines __clzdi2()
with __clzsi2() into a single object with an efficient tail call. Also, this
version merges the formerly separate for Thumb and ARM code implementations
into a unified instruction sequence. This change