hg: panama/dev: Support non power-of-two and 2048-bit vector length for gather load/scatter store

yang.zhang at arm.com yang.zhang at arm.com
Tue Mar 10 01:29:41 UTC 2020


Changeset: cc22ad642b0c
Author:    yzhang
Date:      2020-03-06 13:57 +0800
URL:       https://hg.openjdk.java.net/panama/dev/rev/cc22ad642b0c

Support non power-of-two and 2048-bit vector length for gather load/scatter store
Summary:
  1. For gather load/scatter store, int array is used for index map. New index
     shape calculation function is added.
  2. Use a gather mask to control index vector loading for long/double gather
     load/scatter store.
  3. Gather load and scatter store is a pair of similar operations. One solution
     should be applied to them.
  4. Some assertions that vector length is power of two are removed.
  5. Add comments for gather load intrinsification.

! src/hotspot/share/opto/library_call.cpp
! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/AbstractSpecies.java
! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/ByteVector.java
! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/DoubleVector.java
! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/FloatVector.java
! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/IntMaxVector.java
! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/IntVector.java
! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/LongVector.java
! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/ShortVector.java
! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/VectorShape.java
! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/X-Vector.java.template
! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/X-VectorBits.java.template
! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/gen-src.sh



More information about the panama-dev mailing list