bit of darmgen cleanup / pep8 tweaks
unbroke clz under armv7, added couple of unittests