< prev index next >

src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Int512Vector.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,1537 **** --- 1528,1539 ---- int.class, so.length(), int.class, LENGTH, so, this, (s, v) -> (Int512Vector) 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 >