RFR: 8266962: Add arch supporting check for "Op_VectorLoadConst" before creating the node

Xiaohong Gong xgong at openjdk.java.net
Fri May 14 06:13:02 UTC 2021


When creating the vector shuffle, the `"VectorLoadConstNode"` will be created to get an initial index vector. Before creating it, the compiler should check whether the current platform supports this opcode in case the jvm crashes with `"bad ad file"`. The compiler should finish the intrinsification and go back to the default java implementation if the backend doesn't support it.

Tested tier1 and jdk::tier3.

-------------

Commit messages:
 - 8266962: Add arch supporting check for "Op_VectorLoadConst" before creating the node

Changes: https://git.openjdk.java.net/jdk/pull/4023/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=4023&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8266962
  Stats: 3 lines in 1 file changed: 3 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/4023.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/4023/head:pull/4023

PR: https://git.openjdk.java.net/jdk/pull/4023


More information about the hotspot-compiler-dev mailing list