just as with sv.cmpi/ff and in the maxloc example there is a need to loop on scalar in sv.bc* in this case however it should have been looping anyway because BI is a *source* not a destination. this is the mistake: https://git.libre-soc.org/?p=openpower-isa.git;a=blob;f=src/openpower/decoder/isa/caller.py;h=07aa8bb0b8c2f70bcd623351198c1366242917ba;hb=HEAD#l2247 * DONE: fixed mistake * TODO: branches page
TODO: note in the spec that BI is a source. do a quick Programmer Note to say "if single needed use 1<<r3 predicate mask or other single-bit mask"
commit 2eb5abb845808c436797f3a5449f847fefdacca8 (origin/master, origin/HEAD, master) Author: Luke Kenneth Casson Leighton <lkcl@lkcl.net> Date: Mon Nov 27 10:08:43 2023 +0000 got sv.bc working for pospopcount
added note on sv.bc use of 1<<r3 recommended for single-scalar test https://git.libre-soc.org/?p=libreriscv.git;a=commitdiff;h=739d73fb4a