From: lkcl Date: Wed, 2 Oct 2019 09:13:14 +0000 (+0100) Subject: (no commit message) X-Git-Tag: convert-csv-opcode-to-binary~3927 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=425e95c3110b993b0e1130c4c9c40b6e4e4a9d20;p=libreriscv.git --- diff --git a/simple_v_extension/specification/bitmanip.mdwn b/simple_v_extension/specification/bitmanip.mdwn index 23925483e..1af47e749 100644 --- a/simple_v_extension/specification/bitmanip.mdwn +++ b/simple_v_extension/specification/bitmanip.mdwn @@ -126,6 +126,7 @@ Pseudo-code: def sbf(rd, rs1, rs2): rd = 0 + # start setting if no predicate or if 1st predicate bit set setting_mode = rs2 == x0 or (regs[rs2] & 1) while i < XLEN: bit = 1<