1
0
mirror of https://github.com/antonblanchard/microwatt.git synced 2026-02-04 15:33:18 +00:00
Commit Graph

1 Commits

Author SHA1 Message Date
Paul Mackerras
24a4a796ce execute: Consolidate count-leading/trailing-zeroes implementations
This adds combinatorial logic that does 32-bit and 64-bit count
leading and trailing zeroes in one unit, and consolidates the
four instructions under a single OP_CNTZ opcode.

This saves 84 slice LUTs on the Arty A7-100.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
2019-10-09 09:18:31 +11:00