< prev index next >

src/jdk.incubator.vector/share/classes/jdk/incubator/vector/X-VectorBits.java.template

Print this page
rev 52233 : Add scalable shapes for Arm Scalable Vector Extension.
Summary: Add scalable vector shapes to support Arm SVE better.
Reviewed-by: duke

@@ -1951,10 +1951,12 @@
                     $type$.class, so.length(),
                     $type$.class, LENGTH,
                     so, this,
                     (s, v) -> ($vectortype$) s.reshape(v)
                 );
+            } else if ((o.bitSize() <= 2048) && (o.bitSize() % 128 == 0)) {
+                throw new InternalError("Resize to scalable shape unimplemented.");
             } else {
                 throw new InternalError("Unimplemented size");
             }
         }
     }
< prev index next >