1513 (s, v) -> (Int64Vector) s.reshape(v)
1514 );
1515 } else if (o.bitSize() == 256) {
1516 Int256Vector so = (Int256Vector)o;
1517 return VectorIntrinsics.reinterpret(
1518 Int256Vector.class,
1519 int.class, so.length(),
1520 int.class, LENGTH,
1521 so, this,
1522 (s, v) -> (Int64Vector) s.reshape(v)
1523 );
1524 } else if (o.bitSize() == 512) {
1525 Int512Vector so = (Int512Vector)o;
1526 return VectorIntrinsics.reinterpret(
1527 Int512Vector.class,
1528 int.class, so.length(),
1529 int.class, LENGTH,
1530 so, this,
1531 (s, v) -> (Int64Vector) s.reshape(v)
1532 );
1533 } else {
1534 throw new InternalError("Unimplemented size");
1535 }
1536 }
1537 }
1538 }
|
1513 (s, v) -> (Int64Vector) s.reshape(v)
1514 );
1515 } else if (o.bitSize() == 256) {
1516 Int256Vector so = (Int256Vector)o;
1517 return VectorIntrinsics.reinterpret(
1518 Int256Vector.class,
1519 int.class, so.length(),
1520 int.class, LENGTH,
1521 so, this,
1522 (s, v) -> (Int64Vector) s.reshape(v)
1523 );
1524 } else if (o.bitSize() == 512) {
1525 Int512Vector so = (Int512Vector)o;
1526 return VectorIntrinsics.reinterpret(
1527 Int512Vector.class,
1528 int.class, so.length(),
1529 int.class, LENGTH,
1530 so, this,
1531 (s, v) -> (Int64Vector) s.reshape(v)
1532 );
1533 } else if ((o.bitSize() <= 2048) && (o.bitSize() % 128 == 0)) {
1534 throw new InternalError("Resize to scalable shape unimplemented.");
1535 } else {
1536 throw new InternalError("Unimplemented size");
1537 }
1538 }
1539 }
1540 }
|