From: lkcl Date: Thu, 3 Oct 2019 08:11:43 +0000 (+0100) Subject: (no commit message) X-Git-Tag: convert-csv-opcode-to-binary~3921 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=35e1ad6818b2e0077c1ce455fe4d4d62a731277a;p=libreriscv.git --- diff --git a/simple_v_extension/specification/bitmanip.mdwn b/simple_v_extension/specification/bitmanip.mdwn index 0a572b7be..a78a64d47 100644 --- a/simple_v_extension/specification/bitmanip.mdwn +++ b/simple_v_extension/specification/bitmanip.mdwn @@ -220,17 +220,25 @@ Pseudo-code: def sof(rd, rs1, rs2): rd = 0 - # search mode starts on - search_mode = True + setting_mode = rs2 == x0 or (regs[rs2] & 1) while i < XLEN: bit = 1<