Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8331576

C2 SuperWord: Unsafe access with long address that is a CastX2P does not vectorize

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 23
    • hotspot

      Attached file, here the commandline:

      The issue is that the VPointer wants the address to be a AddP. But in this case, it directly gets a CastX2P, which it does currently not parse through.

      ./java --add-modules java.base --add-exports java.base/jdk.internal.misc=ALL-UNNAMED --add-exports java.base/jdk.internal.util=ALL-UNNAMED -XX:CompileCommand=compileonly,Test*::* -XX:CompileCommand=printcompilation,TestMemorySegment::* -XX:CompileCommand=TraceAutoVectorization,Test*::*,SW_REJECTIONS,PRECONDITIONS,POINTERS -XX:+TraceNewVectors -XX:+TraceLoopOpts -Xbatch TestUnsafeAllocateLongAdr.java

            epeter Emanuel Peter
            epeter Emanuel Peter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: