[Libre-soc-dev] svp64

Luke Kenneth Casson Leighton lkcl at lkcl.net
Tue Dec 22 19:05:15 GMT 2020


On Tuesday, December 22, 2020, Lauri Kasanen <cand at gmx.com> wrote:

>> https://libre-soc.org/openpower/sv/vector_ops/
>
> The masked iota description is very confusing. I read that paragraph
> several times and still cannot make out WTF it's trying to say.

yes, this is common with RV specs.  it is a multiple "count leading zeros"
with a mask each time of 0b1 the first loop, 0b11 the second, 0b111 the 3rd
etc.

i will write some pseudocode.


l.




-- 
---
crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68


More information about the Libre-soc-dev mailing list