From 425e95c3110b993b0e1130c4c9c40b6e4e4a9d20 Mon Sep 17 00:00:00 2001 From: lkcl Date: Wed, 2 Oct 2019 10:13:14 +0100 Subject: [PATCH] --- .../specification/bitmanip.mdwn | 23 ++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) 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<