< prev index next >

src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Short512Vector.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

*** 1458,1467 **** --- 1458,1469 ---- short.class, so.length(), short.class, LENGTH, so, this, (s, v) -> (Short512Vector) 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 >