break only on scalar predicated
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 28 Oct 2018 10:29:50 +0000 (10:29 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 28 Oct 2018 10:29:50 +0000 (10:29 +0000)
simple_v_extension/specification.mdwn

index 08b5079d4034810d8d4f11028b36b5fb275a196e..380fe32989f7175b306d4d5859aa5ee0baba10ca 100644 (file)
@@ -1338,7 +1338,8 @@ rd bitwidths).  The pseudo-code is therefore as follows:
            if (op_requires_sign_extend_dest)
               result = sign_extend(result, maxsrcwid)
            set_polymorphed_reg(rd, destwid, ird, result)
-        if (int_vec[rd ].isvector)  { id += 1; } else break
+           if (!int_vec[rd].isvector) break
+        if (int_vec[rd ].isvector)  { id += 1; }
         if (int_vec[rs1].isvector)  { irs1 += 1; }
         if (int_vec[rs2].isvector)  { irs2 += 1; }