fix pseudocode for branch
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 30 Jun 2019 12:25:22 +0000 (13:25 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 30 Jun 2019 12:25:22 +0000 (13:25 +0100)
simple_v_extension/appendix.mdwn

index 4707179e80e80d414c845c34f7bd6a1080d05e5b..14b36a1ebd28eb8763a01b83be137745a081fbcd 100644 (file)
@@ -262,7 +262,7 @@ complex), this becomes:
     rd = get_pred_val(I/F==INT, rs2); # this may not exist
 
     if not exists(rd) or zeroing:
-        result = 0
+        result = (1<<VL)-1 # all 1s
     else
         result = preg[rd]