diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2018-01-21 21:56:03 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2018-01-21 21:56:03 +0000 |
commit | 82946774b8f655196f950df4e0977f2365423ca2 (patch) | |
tree | e3819018bb0eb40989ad23401cd5d032140972bd /sys/arch/arm64 | |
parent | 6783bb61aea5f515f7d9a5077207ad1cf421280b (diff) |
Implement ffs(3) using the CLZ instructions which has been available ever
since ARMv5. Should be much faster but more importantly it removes the
data table from .text which could introduce unwanted ROP gadgets.
Based on changes in Android/Bionic by Elliott Hughes.
ok patrick@
Diffstat (limited to 'sys/arch/arm64')
0 files changed, 0 insertions, 0 deletions