(no commit message)
authorlkcl <lkcl@web>
Thu, 29 Jul 2021 04:34:33 +0000 (05:34 +0100)
committerIkiWiki <ikiwiki.info>
Thu, 29 Jul 2021 04:34:33 +0000 (05:34 +0100)
openpower/sv/svp64/appendix.mdwn

index 65c089f07c48160f72954722836d1dcdbd402e74..a4e81e2d827d3fa3edcf8dd9190ef6363456e650 100644 (file)
@@ -760,11 +760,4 @@ pub fn reduce(  vl,  input_vec, temp_vec, input_pred, temp_pred,):
             else if other_pred
                 temp_vec[i] = temp_vec[other];
             temp_pred[i] |= other_pred;
-    if vl != 0 && temp_pred[0] {
-        // return the result
-        temp_vec[0]
-    } else {
-        todo!("there weren't any enabled input elements, pick a default?")
-    }
-}
 ```