commit | a1b897e2a38b0ead01fb02cc647326c1d1035870 | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Wed Mar 31 13:27:11 2021 -0700 |
committer | Ratan Gupta <ratankgupta31@gmail.com> | Fri Apr 16 05:06:11 2021 +0000 |
tree | 4bf2b4b35883393f9ceae6052809c05b258fb6be | |
parent | 2ea71fa3dcc5e3b04535ff105815034fdc16799b [diff] |
util: Collapse toCidr functions This collapses the v4/v6 Cidr conversion function into a single routine. It also removes multi-instruction instrinsics like popcnt, and instead only uses ctz / clz when needed. Change-Id: I3fecec9b050617d2556488a5d0c007df860a080b Signed-off-by: William A. Kennington III <wak@google.com>