< prev index next >

src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Long512Vector.java

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

@@ -1528,10 +1528,12 @@
                     long.class, so.length(),
                     long.class, LENGTH,
                     so, this,
                     (s, v) -> (Long512Vector) 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 >