[jdk16] RFR: 8259044: JVM lacks data type qualifier when using -XX:+PrintAssembly with AArch64-Neon backend

Wang Huang whuang at openjdk.java.net
Mon Jan 4 09:45:09 UTC 2021


For instace: in the implentation of VectorMaskCmp & VectorStoreMask :

$jtreg -vmoptions:"-XX:+PrintAssembly" ./Int128VectorTests.java

before fixing
-----------------
0dc ldrq V17,[R10, #16] # vector (128 bits)
0e0 cmeq V16, V16, V17 # vector cmp (4I)
0e4 xtn V16, V16 # 4S to 4H
        xtn V16, V16 # 4H to 4B
        negr V16, V16 # store mask (4S to 4B)
-----------------
Here, the output lacks data type qualifiers like T4S in `cmeq V16, V16, V17`.

Expect:
-----------------
0dc ldrq V16,[R10, #16] # vector (128 bits)
0e0 cmeq V16, T4S, V16, V18 # vector cmp (4I)
0e4 xtn V16, T4H, V16, T4S # 4S to 4H
           xtn V16, T8B, V16, T8H # 4H to 4B
           negr V16, T8B, V16 # store mask (4S to 4B)
-----------------

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

Commit messages:
 - 8259044: JVM lacks data type qualifier when using -XX:+PrintAssembly with AArch64-Neon backend

Changes: https://git.openjdk.java.net/jdk16/pull/77/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk16&pr=77&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8259044
  Stats: 197 lines in 2 files changed: 0 ins; 0 del; 197 mod
  Patch: https://git.openjdk.java.net/jdk16/pull/77.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk16 pull/77/head:pull/77

PR: https://git.openjdk.java.net/jdk16/pull/77


More information about the hotspot-compiler-dev mailing list