core: Make popcnt* take two cycles
authorPaul Mackerras <paulus@ozlabs.org>
Tue, 19 Oct 2021 01:22:10 +0000 (12:22 +1100)
committerAnton Blanchard <anton@ozlabs.org>
Wed, 2 Feb 2022 05:10:54 +0000 (16:10 +1100)
commit2491aa7fc5ea013d0f384d707f3df3902d9caa77
treeb8c24cadfdcf22a4f32b1b9230289a5b0d7065f5
parent6ff3b2499ceaf911252f634d44469fefb58952ae
core: Make popcnt* take two cycles

This moves the calculation of the result for popcnt* into the
countbits unit, renamed from countzero, so that we can take two cycles
to get the result.  The motivation for this is that the popcnt*
calculation was showing up as a critical path.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Makefile
countbits.vhdl [new file with mode: 0644]
countbits_tb.vhdl [new file with mode: 0644]
countzero.vhdl [deleted file]
countzero_tb.vhdl [deleted file]
decode2.vhdl
execute1.vhdl
logical.vhdl
microwatt.core